From a39ff30284bcc84a92c5d1a5dcc1862859147f6c Mon Sep 17 00:00:00 2001 From: "cvshook%sicking.cc" Date: Tue, 30 Jan 2007 00:06:41 +0000 Subject: [PATCH] Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128 --- accessible/src/base/nsAccessibilityAtoms.h | 2 +- accessible/src/base/nsRootAccessible.cpp | 1 - content/base/src/mozSanitizingSerializer.cpp | 1 - content/base/src/nsCommentNode.cpp | 1 - content/base/src/nsContentAreaDragDrop.cpp | 2 - content/base/src/nsContentList.cpp | 2 +- content/base/src/nsContentUtils.cpp | 2 +- content/base/src/nsDOMDocumentType.cpp | 2 +- content/base/src/nsDocumentFragment.cpp | 2 +- content/base/src/nsGenericDOMDataNode.cpp | 1 - content/base/src/nsGenericElement.cpp | 2 +- content/base/src/nsHTMLContentSerializer.cpp | 2 +- content/base/src/nsImageLoadingContent.cpp | 1 - content/base/src/nsNodeInfoManager.cpp | 2 +- content/base/src/nsObjectLoadingContent.cpp | 2 +- content/base/src/nsStyleLinkElement.cpp | 1 - content/base/src/nsTextNode.cpp | 1 - content/base/src/nsXMLContentSerializer.cpp | 2 +- content/base/src/nsXMLNameSpaceMap.cpp | 2 +- content/events/src/nsDOMEvent.cpp | 2 +- content/events/src/nsEventListenerManager.cpp | 2 +- content/events/src/nsEventStateManager.cpp | 2 +- content/events/src/nsXMLEventsManager.cpp | 2 +- content/html/content/src/Makefile.in | 1 - .../html/content/src/nsGenericHTMLElement.cpp | 2 +- content/html/content/src/nsHTMLAtoms.h | 42 ---------------- .../html/content/src/nsHTMLBodyElement.cpp | 2 +- content/html/content/src/nsHTMLDelElement.cpp | 2 +- .../content/src/nsHTMLFieldSetElement.cpp | 1 - .../html/content/src/nsHTMLHeadElement.cpp | 2 +- .../html/content/src/nsHTMLHtmlElement.cpp | 2 +- .../html/content/src/nsHTMLImageElement.cpp | 2 +- .../html/content/src/nsHTMLMetaElement.cpp | 2 +- .../html/content/src/nsHTMLObjectElement.cpp | 2 +- .../html/content/src/nsHTMLOptionElement.cpp | 2 +- .../content/src/nsHTMLSharedObjectElement.cpp | 2 +- .../html/content/src/nsHTMLTitleElement.cpp | 1 - content/html/document/src/nsHTMLDocument.cpp | 2 +- content/svg/content/src/nsSVGElement.cpp | 2 +- content/xbl/src/Makefile.in | 4 -- content/xbl/src/nsBindingManager.cpp | 1 - content/xbl/src/nsXBLAtoms.h | 44 ---------------- content/xbl/src/nsXBLContentSink.cpp | 2 +- content/xbl/src/nsXBLEventHandler.cpp | 28 +++++------ content/xbl/src/nsXBLPrototypeHandler.cpp | 2 +- content/xbl/src/nsXBLResourceLoader.cpp | 6 +-- content/xbl/src/nsXBLWindowKeyHandler.cpp | 17 +++---- content/xml/content/src/nsXMLCDATASection.cpp | 2 +- .../src/nsXMLProcessingInstruction.cpp | 2 +- content/xml/content/src/nsXMLStylesheetPI.cpp | 2 +- content/xml/document/src/nsXMLContentSink.cpp | 2 +- content/xtf/src/nsXTFElementWrapper.cpp | 2 +- content/xul/content/src/Makefile.in | 4 -- content/xul/content/src/nsXULAtoms.h | 43 ---------------- content/xul/content/src/nsXULElement.cpp | 2 +- content/xul/document/src/nsXULContentSink.cpp | 2 +- .../xul/templates/src/nsXULContentBuilder.cpp | 2 +- .../src/nsSpatialNavigationPrivate.h | 2 - .../typeaheadfind/src/nsTypeAheadFind.cpp | 1 - layout/base/Makefile.in | 1 - layout/base/nsBidiPresUtils.cpp | 2 +- layout/base/nsCSSFrameConstructor.cpp | 2 +- layout/base/nsCSSRendering.cpp | 2 +- layout/base/nsCaret.cpp | 1 - layout/base/nsDocumentViewer.cpp | 3 -- layout/base/nsFrameManager.cpp | 2 +- layout/base/nsFrameTraversal.cpp | 2 +- layout/base/nsImageLoader.cpp | 2 +- layout/base/nsLayoutAtoms.h | 50 ------------------- layout/base/nsLayoutUtils.cpp | 2 +- layout/base/nsLayoutUtils.h | 2 +- layout/base/nsPresContext.h | 2 +- layout/base/nsPresShell.cpp | 2 +- layout/build/nsLayoutModule.cpp | 1 - layout/build/nsLayoutStatics.cpp | 4 +- layout/forms/nsComboboxControlFrame.cpp | 2 +- layout/forms/nsFieldSetFrame.cpp | 2 +- layout/forms/nsGfxButtonControlFrame.cpp | 2 +- layout/forms/nsHTMLButtonControlFrame.cpp | 2 +- layout/forms/nsImageControlFrame.cpp | 2 +- layout/forms/nsLegendFrame.cpp | 2 +- layout/forms/nsListControlFrame.cpp | 2 +- layout/forms/nsListControlFrame.h | 2 +- layout/forms/nsSelectsAreaFrame.h | 2 +- layout/forms/nsTextControlFrame.cpp | 2 +- layout/generic/nsAbsoluteContainingBlock.cpp | 3 +- layout/generic/nsAbsoluteContainingBlock.h | 2 +- layout/generic/nsAreaFrame.cpp | 2 +- layout/generic/nsAreaFrame.h | 4 +- layout/generic/nsBRFrame.cpp | 2 +- layout/generic/nsBidiFrames.cpp | 2 +- layout/generic/nsBlockBandData.cpp | 1 - layout/generic/nsBlockFrame.cpp | 2 +- layout/generic/nsBlockFrame.h | 2 +- layout/generic/nsBlockReflowContext.cpp | 2 +- layout/generic/nsBlockReflowState.cpp | 2 +- layout/generic/nsBulletFrame.cpp | 2 +- layout/generic/nsColumnSetFrame.cpp | 2 +- layout/generic/nsContainerFrame.cpp | 2 +- layout/generic/nsFirstLetterFrame.cpp | 2 +- layout/generic/nsFrame.cpp | 2 +- layout/generic/nsFrameFrame.cpp | 2 +- layout/generic/nsFrameList.cpp | 2 +- layout/generic/nsFrameSetFrame.cpp | 2 +- layout/generic/nsFrameSetFrame.h | 2 +- layout/generic/nsGfxScrollFrame.cpp | 2 +- layout/generic/nsGfxScrollFrame.h | 4 +- layout/generic/nsHTMLCanvasFrame.cpp | 2 +- layout/generic/nsHTMLContainerFrame.cpp | 2 +- layout/generic/nsHTMLFrame.cpp | 2 +- layout/generic/nsHTMLReflowState.cpp | 2 +- layout/generic/nsImageFrame.cpp | 2 +- layout/generic/nsInlineFrame.cpp | 2 +- layout/generic/nsInlineFrame.h | 1 - layout/generic/nsLeafFrame.cpp | 1 - layout/generic/nsLineBox.cpp | 2 +- layout/generic/nsLineLayout.cpp | 2 +- layout/generic/nsObjectFrame.cpp | 2 +- layout/generic/nsPageContentFrame.cpp | 2 +- layout/generic/nsPageContentFrame.h | 2 +- layout/generic/nsPageFrame.cpp | 2 +- layout/generic/nsPageFrame.h | 2 +- layout/generic/nsPlaceholderFrame.cpp | 2 +- layout/generic/nsPlaceholderFrame.h | 2 +- layout/generic/nsSelection.cpp | 2 +- layout/generic/nsSimplePageSequence.cpp | 2 +- layout/generic/nsSimplePageSequence.h | 2 +- layout/generic/nsTextFrame.cpp | 2 +- layout/generic/nsTextFrameThebes.cpp | 3 +- layout/generic/nsTextTransformer.cpp | 4 +- layout/generic/nsViewportFrame.cpp | 2 +- layout/generic/nsViewportFrame.h | 2 +- layout/inspector/src/inLayoutUtils.cpp | 2 - .../base/src/nsMathMLForeignFrameWrapper.cpp | 1 - layout/printing/nsPrintEngine.cpp | 2 +- layout/style/nsCSSParser.cpp | 1 - layout/style/nsCSSRules.cpp | 1 - layout/style/nsCSSStyleRule.cpp | 1 - layout/style/nsCSSStyleSheet.cpp | 2 +- layout/style/nsComputedDOMStyle.cpp | 2 +- layout/style/nsDOMCSSAttrDeclaration.cpp | 1 - layout/style/nsInspectorCSSUtils.cpp | 2 +- layout/style/nsStyleContext.cpp | 1 - layout/style/nsStyleStruct.cpp | 1 - layout/svg/base/src/nsSVGClipPathFrame.h | 2 +- .../svg/base/src/nsSVGForeignObjectFrame.cpp | 2 +- layout/svg/base/src/nsSVGForeignObjectFrame.h | 2 +- layout/svg/base/src/nsSVGGFrame.cpp | 2 +- layout/svg/base/src/nsSVGGFrame.h | 2 +- .../svg/base/src/nsSVGGenericContainerFrame.h | 4 +- layout/svg/base/src/nsSVGGlyphFrame.h | 2 +- layout/svg/base/src/nsSVGLeafFrame.cpp | 1 - layout/svg/base/src/nsSVGMarkerFrame.h | 2 +- layout/svg/base/src/nsSVGMaskFrame.h | 2 +- layout/svg/base/src/nsSVGOuterSVGFrame.h | 2 +- layout/svg/base/src/nsSVGPathGeometryFrame.h | 4 +- layout/svg/base/src/nsSVGPatternFrame.cpp | 2 +- layout/svg/base/src/nsSVGPatternFrame.h | 2 +- layout/svg/base/src/nsSVGTSpanFrame.h | 2 +- layout/svg/base/src/nsSVGTextFrame.cpp | 2 +- layout/svg/base/src/nsSVGTextFrame.h | 2 +- layout/svg/base/src/nsSVGTextPathFrame.h | 2 +- layout/svg/base/src/nsSVGUtils.cpp | 2 +- layout/tables/nsCellMap.cpp | 1 - layout/tables/nsCellMap.h | 1 + layout/tables/nsTableCellFrame.cpp | 2 +- layout/tables/nsTableCellFrame.h | 2 +- layout/tables/nsTableColFrame.cpp | 2 +- layout/tables/nsTableColFrame.h | 2 +- layout/tables/nsTableColGroupFrame.cpp | 2 +- layout/tables/nsTableColGroupFrame.h | 2 +- layout/tables/nsTableFrame.cpp | 2 +- layout/tables/nsTableFrame.h | 10 +++- layout/tables/nsTableOuterFrame.cpp | 2 +- layout/tables/nsTableOuterFrame.h | 2 +- layout/tables/nsTableRowFrame.cpp | 2 +- layout/tables/nsTableRowFrame.h | 2 +- layout/tables/nsTableRowGroupFrame.cpp | 2 +- layout/tables/nsTableRowGroupFrame.h | 2 +- layout/xul/base/src/nsBox.cpp | 2 +- layout/xul/base/src/nsBoxFrame.cpp | 2 +- layout/xul/base/src/nsDocElementBoxFrame.cpp | 2 +- layout/xul/base/src/nsImageBoxFrame.cpp | 2 +- layout/xul/base/src/nsMenuBarListener.cpp | 1 - layout/xul/base/src/nsMenuFrame.cpp | 2 +- layout/xul/base/src/nsMenuListener.cpp | 1 - layout/xul/base/src/nsPopupSetFrame.cpp | 2 +- layout/xul/base/src/nsRootBoxFrame.cpp | 2 +- layout/xul/base/src/nsScrollBoxFrame.cpp | 2 +- layout/xul/base/src/nsSprocketLayout.cpp | 2 - layout/xul/base/src/nsStackFrame.cpp | 2 - .../typeaheadfind/src/nsTypeAheadFind.cpp | 1 - widget/src/xpwidgets/nsWidgetAtoms.h | 4 +- 193 files changed, 184 insertions(+), 416 deletions(-) delete mode 100644 content/html/content/src/nsHTMLAtoms.h delete mode 100644 content/xbl/src/nsXBLAtoms.h delete mode 100644 content/xul/content/src/nsXULAtoms.h delete mode 100644 layout/base/nsLayoutAtoms.h diff --git a/accessible/src/base/nsAccessibilityAtoms.h b/accessible/src/base/nsAccessibilityAtoms.h index 7498bc1eeb97..ae5b93d53932 100644 --- a/accessible/src/base/nsAccessibilityAtoms.h +++ b/accessible/src/base/nsAccessibilityAtoms.h @@ -65,4 +65,4 @@ public: #undef ACCESSIBILITY_ATOM }; -#endif /* nsLayoutAtoms_h___ */ +#endif /* nsAccessibilityAtoms_h___ */ diff --git a/accessible/src/base/nsRootAccessible.cpp b/accessible/src/base/nsRootAccessible.cpp index d3cc4effbb2d..751779325da7 100644 --- a/accessible/src/base/nsRootAccessible.cpp +++ b/accessible/src/base/nsRootAccessible.cpp @@ -71,7 +71,6 @@ #include "nsISelectionPrivate.h" #include "nsIServiceManager.h" #include "nsIViewManager.h" -#include "nsLayoutAtoms.h" #include "nsPIDOMWindow.h" #include "nsIWebBrowserChrome.h" #include "nsReadableUtils.h" diff --git a/content/base/src/mozSanitizingSerializer.cpp b/content/base/src/mozSanitizingSerializer.cpp index ee27e74e55bd..163d9a596570 100644 --- a/content/base/src/mozSanitizingSerializer.cpp +++ b/content/base/src/mozSanitizingSerializer.cpp @@ -52,7 +52,6 @@ #include "mozSanitizingSerializer.h" #include "nsIServiceManager.h" -#include "nsHTMLAtoms.h" #include "nsIDOMText.h" #include "nsIDOMElement.h" #include "nsTextFragment.h" diff --git a/content/base/src/nsCommentNode.cpp b/content/base/src/nsCommentNode.cpp index cec823c20428..65060ef586f9 100644 --- a/content/base/src/nsCommentNode.cpp +++ b/content/base/src/nsCommentNode.cpp @@ -41,7 +41,6 @@ #include "nsIDOMComment.h" #include "nsGenericDOMDataNode.h" -#include "nsLayoutAtoms.h" #include "nsCOMPtr.h" #include "nsIDocument.h" diff --git a/content/base/src/nsContentAreaDragDrop.cpp b/content/base/src/nsContentAreaDragDrop.cpp index 1a268718dce6..556cf6e6f44a 100644 --- a/content/base/src/nsContentAreaDragDrop.cpp +++ b/content/base/src/nsContentAreaDragDrop.cpp @@ -82,7 +82,6 @@ #include "nsIXMLContent.h" #include "nsINameSpaceManager.h" #include "nsUnicharUtils.h" -#include "nsHTMLAtoms.h" #include "nsIURL.h" #include "nsIImage.h" #include "nsIDocument.h" @@ -91,7 +90,6 @@ #include "nsPresContext.h" #include "nsIDocShellTreeItem.h" #include "nsIFrame.h" -#include "nsLayoutAtoms.h" #include "nsRange.h" #include "nsIWebBrowserPersist.h" #include "nsEscape.h" diff --git a/content/base/src/nsContentList.cpp b/content/base/src/nsContentList.cpp index 945abda2d79a..f8e20c9f6471 100644 --- a/content/base/src/nsContentList.cpp +++ b/content/base/src/nsContentList.cpp @@ -51,7 +51,7 @@ #include "nsContentUtils.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" // Form related includes #include "nsIDOMHTMLFormElement.h" diff --git a/content/base/src/nsContentUtils.cpp b/content/base/src/nsContentUtils.cpp index 96a5635578e2..0939ebd3fe8e 100644 --- a/content/base/src/nsContentUtils.cpp +++ b/content/base/src/nsContentUtils.cpp @@ -89,7 +89,7 @@ #include "nsIDOMHTMLFormElement.h" #include "nsIForm.h" #include "nsIFormControl.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsISupportsPrimitives.h" #include "imgIDecoderObserver.h" #include "imgIRequest.h" diff --git a/content/base/src/nsDOMDocumentType.cpp b/content/base/src/nsDOMDocumentType.cpp index 876ba1406eb5..f221894b5226 100644 --- a/content/base/src/nsDOMDocumentType.cpp +++ b/content/base/src/nsDOMDocumentType.cpp @@ -42,7 +42,7 @@ #include "nsDOMDocumentType.h" #include "nsDOMAttributeMap.h" #include "nsIDOMNamedNodeMap.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsCOMPtr.h" #include "nsContentUtils.h" #include "nsDOMString.h" diff --git a/content/base/src/nsDocumentFragment.cpp b/content/base/src/nsDocumentFragment.cpp index 1beca57ba272..e229acd8c119 100644 --- a/content/base/src/nsDocumentFragment.cpp +++ b/content/base/src/nsDocumentFragment.cpp @@ -51,7 +51,7 @@ #include "nsIDOMAttr.h" #include "nsDOMError.h" #include "nsIDOM3Node.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsDOMString.h" #include "nsIDOMUserDataHandler.h" diff --git a/content/base/src/nsGenericDOMDataNode.cpp b/content/base/src/nsGenericDOMDataNode.cpp index 6146a2d771f9..e24c372fdd2b 100644 --- a/content/base/src/nsGenericDOMDataNode.cpp +++ b/content/base/src/nsGenericDOMDataNode.cpp @@ -55,7 +55,6 @@ #include "nsIDOMText.h" #include "nsCOMPtr.h" #include "nsDOMString.h" -#include "nsLayoutAtoms.h" #include "nsIDOMUserDataHandler.h" #include "nsChangeHint.h" #include "nsEventDispatcher.h" diff --git a/content/base/src/nsGenericElement.cpp b/content/base/src/nsGenericElement.cpp index 3e545e9b3e02..2b98584bd4d5 100644 --- a/content/base/src/nsGenericElement.cpp +++ b/content/base/src/nsGenericElement.cpp @@ -94,7 +94,7 @@ #include "nsPIBoxObject.h" #include "nsIDOMNSDocument.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsContentUtils.h" #include "nsIJSContextStack.h" diff --git a/content/base/src/nsHTMLContentSerializer.cpp b/content/base/src/nsHTMLContentSerializer.cpp index 8cbc5a697eee..4325581e658f 100644 --- a/content/base/src/nsHTMLContentSerializer.cpp +++ b/content/base/src/nsHTMLContentSerializer.cpp @@ -55,7 +55,7 @@ #include "nsXPIDLString.h" #include "nsIServiceManager.h" #include "nsIDocumentEncoder.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIURI.h" #include "nsNetUtil.h" #include "nsEscape.h" diff --git a/content/base/src/nsImageLoadingContent.cpp b/content/base/src/nsImageLoadingContent.cpp index e3e3590df76a..1fdf440532e2 100644 --- a/content/base/src/nsImageLoadingContent.cpp +++ b/content/base/src/nsImageLoadingContent.cpp @@ -68,7 +68,6 @@ #include "nsIChannel.h" #include "nsIStreamListener.h" -#include "nsLayoutAtoms.h" #include "nsIFrame.h" #include "nsIDOMNode.h" diff --git a/content/base/src/nsNodeInfoManager.cpp b/content/base/src/nsNodeInfoManager.cpp index 95da860fa296..65f629e878e0 100644 --- a/content/base/src/nsNodeInfoManager.cpp +++ b/content/base/src/nsNodeInfoManager.cpp @@ -49,7 +49,7 @@ #include "nsIURI.h" #include "nsContentUtils.h" #include "nsReadableUtils.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsComponentManagerUtils.h" PRUint32 nsNodeInfoManager::gNodeManagerCount; diff --git a/content/base/src/nsObjectLoadingContent.cpp b/content/base/src/nsObjectLoadingContent.cpp index b7a205251259..252fcc2cafda 100644 --- a/content/base/src/nsObjectLoadingContent.cpp +++ b/content/base/src/nsObjectLoadingContent.cpp @@ -71,7 +71,7 @@ #include "nsContentPolicyUtils.h" #include "nsContentUtils.h" #include "nsDocShellCID.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsThreadUtils.h" #include "nsNetUtil.h" diff --git a/content/base/src/nsStyleLinkElement.cpp b/content/base/src/nsStyleLinkElement.cpp index 63af160b5fcd..000dc426ecc1 100644 --- a/content/base/src/nsStyleLinkElement.cpp +++ b/content/base/src/nsStyleLinkElement.cpp @@ -45,7 +45,6 @@ #include "nsStyleLinkElement.h" -#include "nsHTMLAtoms.h" #include "nsIContent.h" #include "nsICSSLoader.h" #include "nsICSSStyleSheet.h" diff --git a/content/base/src/nsTextNode.cpp b/content/base/src/nsTextNode.cpp index e6acdc74434f..c622bd6a69b8 100644 --- a/content/base/src/nsTextNode.cpp +++ b/content/base/src/nsTextNode.cpp @@ -41,7 +41,6 @@ #include "nsGenericDOMDataNode.h" #include "nsIDOMText.h" -#include "nsLayoutAtoms.h" #include "nsContentUtils.h" #include "nsIDOMEventListener.h" #include "nsIDOMEventTarget.h" diff --git a/content/base/src/nsXMLContentSerializer.cpp b/content/base/src/nsXMLContentSerializer.cpp index 2150176bd58c..20e10fa7c16e 100644 --- a/content/base/src/nsXMLContentSerializer.cpp +++ b/content/base/src/nsXMLContentSerializer.cpp @@ -43,7 +43,7 @@ #include "nsXMLContentSerializer.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIDOMText.h" #include "nsIDOMCDATASection.h" #include "nsIDOMProcessingInstruction.h" diff --git a/content/base/src/nsXMLNameSpaceMap.cpp b/content/base/src/nsXMLNameSpaceMap.cpp index 866bd09015e8..10328caed1cb 100755 --- a/content/base/src/nsXMLNameSpaceMap.cpp +++ b/content/base/src/nsXMLNameSpaceMap.cpp @@ -45,7 +45,7 @@ #include "nsCOMPtr.h" #include "nsINameSpaceManager.h" #include "nsContentUtils.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" struct nsNameSpaceEntry { diff --git a/content/events/src/nsDOMEvent.cpp b/content/events/src/nsDOMEvent.cpp index 5481f898d832..d8d307ffe714 100644 --- a/content/events/src/nsDOMEvent.cpp +++ b/content/events/src/nsDOMEvent.cpp @@ -49,7 +49,7 @@ #include "nsIInterfaceRequestor.h" #include "nsIInterfaceRequestorUtils.h" #include "prmem.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsMutationEvent.h" #include "nsContentUtils.h" #include "nsIURI.h" diff --git a/content/events/src/nsEventListenerManager.cpp b/content/events/src/nsEventListenerManager.cpp index 2484208a54ef..af72ded5281e 100644 --- a/content/events/src/nsEventListenerManager.cpp +++ b/content/events/src/nsEventListenerManager.cpp @@ -62,7 +62,7 @@ #ifdef MOZ_SVG #include "nsIDOMSVGListener.h" #include "nsIDOMSVGZoomListener.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #endif // MOZ_SVG #include "nsIEventStateManager.h" #include "nsPIDOMWindow.h" diff --git a/content/events/src/nsEventStateManager.cpp b/content/events/src/nsEventStateManager.cpp index 2629d90f51e3..9f583166013f 100644 --- a/content/events/src/nsEventStateManager.cpp +++ b/content/events/src/nsEventStateManager.cpp @@ -55,7 +55,7 @@ #include "nsPresContext.h" #include "nsIPresShell.h" #include "nsDOMEvent.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIEditorDocShell.h" #include "nsIFormControl.h" #include "nsIComboboxControlFrame.h" diff --git a/content/events/src/nsXMLEventsManager.cpp b/content/events/src/nsXMLEventsManager.cpp index 71177472328e..ab8d827d8a35 100644 --- a/content/events/src/nsXMLEventsManager.cpp +++ b/content/events/src/nsXMLEventsManager.cpp @@ -38,7 +38,7 @@ #include "nsIDOMMutationEvent.h" #include "nsXMLEventsManager.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIDOMElement.h" #include "nsIDOMDocument.h" #include "nsIDOMEventReceiver.h" diff --git a/content/html/content/src/Makefile.in b/content/html/content/src/Makefile.in index c5b410b45bb4..6ffc4ef7c70c 100644 --- a/content/html/content/src/Makefile.in +++ b/content/html/content/src/Makefile.in @@ -75,7 +75,6 @@ REQUIRES = xpcom \ $(NULL) EXPORTS = \ - nsHTMLAtoms.h \ nsImageMapUtils.h \ $(NULL) diff --git a/content/html/content/src/nsGenericHTMLElement.cpp b/content/html/content/src/nsGenericHTMLElement.cpp index c82209dff511..c2fcfffb9333 100644 --- a/content/html/content/src/nsGenericHTMLElement.cpp +++ b/content/html/content/src/nsGenericHTMLElement.cpp @@ -87,7 +87,7 @@ #include "nsContentUtils.h" #include "nsString.h" #include "nsUnicharUtils.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIEventStateManager.h" #include "nsIDOMEvent.h" #include "nsIDOMNSEvent.h" diff --git a/content/html/content/src/nsHTMLAtoms.h b/content/html/content/src/nsHTMLAtoms.h deleted file mode 100644 index cc92c0eda16b..000000000000 --- a/content/html/content/src/nsHTMLAtoms.h +++ /dev/null @@ -1,42 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is mozilla.org code. - * - * The Initial Developer of the Original Code is - * Netscape Communications Corporation. - * Portions created by the Initial Developer are Copyright (C) 1998 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * - * Alternatively, the contents of this file may be used under the terms of - * either of the GNU General Public License Version 2 or later (the "GPL"), - * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the MPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the MPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ -#ifndef nsHTMLAtoms_h___ -#define nsHTMLAtoms_h___ - -#include "nsGkAtoms.h" - -#endif /* nsHTMLAtoms_h___ */ diff --git a/content/html/content/src/nsHTMLBodyElement.cpp b/content/html/content/src/nsHTMLBodyElement.cpp index 52746e0a39a1..029856fcd2e3 100644 --- a/content/html/content/src/nsHTMLBodyElement.cpp +++ b/content/html/content/src/nsHTMLBodyElement.cpp @@ -40,7 +40,7 @@ #include "nsIDOMHTMLBodyElement.h" #include "nsIDOMEventReceiver.h" #include "nsGenericHTMLElement.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsStyleConsts.h" #include "nsPresContext.h" #include "nsIPresShell.h" diff --git a/content/html/content/src/nsHTMLDelElement.cpp b/content/html/content/src/nsHTMLDelElement.cpp index 441ce5078020..bc8ad02c7a93 100644 --- a/content/html/content/src/nsHTMLDelElement.cpp +++ b/content/html/content/src/nsHTMLDelElement.cpp @@ -37,7 +37,7 @@ #include "nsIDOMHTMLModElement.h" #include "nsIDOMEventReceiver.h" #include "nsGenericHTMLElement.h" -#include "nsHTMLAtoms.h" +#include "nsGkAtoms.h" #include "nsStyleConsts.h" #include "nsPresContext.h" diff --git a/content/html/content/src/nsHTMLFieldSetElement.cpp b/content/html/content/src/nsHTMLFieldSetElement.cpp index fb02ccc3263a..90ef721de9a5 100644 --- a/content/html/content/src/nsHTMLFieldSetElement.cpp +++ b/content/html/content/src/nsHTMLFieldSetElement.cpp @@ -38,7 +38,6 @@ #include "nsIDOMHTMLFormElement.h" #include "nsIDOMEventReceiver.h" #include "nsGenericHTMLElement.h" -#include "nsHTMLAtoms.h" #include "nsStyleConsts.h" #include "nsPresContext.h" #include "nsIForm.h" diff --git a/content/html/content/src/nsHTMLHeadElement.cpp b/content/html/content/src/nsHTMLHeadElement.cpp index c8007edc7d94..94c2d746ad6c 100644 --- a/content/html/content/src/nsHTMLHeadElement.cpp +++ b/content/html/content/src/nsHTMLHeadElement.cpp @@ -37,7 +37,7 @@ #include "nsIDOMHTMLHeadElement.h" #include "nsIDOMEventReceiver.h" #include "nsGenericHTMLElement.h" -#include "nsHTMLAtoms.h" +#include "nsGkAtoms.h" #include "nsStyleConsts.h" #include "nsPresContext.h" diff --git a/content/html/content/src/nsHTMLHtmlElement.cpp b/content/html/content/src/nsHTMLHtmlElement.cpp index a22379f99a57..89d9f81e58a2 100644 --- a/content/html/content/src/nsHTMLHtmlElement.cpp +++ b/content/html/content/src/nsHTMLHtmlElement.cpp @@ -37,7 +37,7 @@ #include "nsIDOMHTMLHtmlElement.h" #include "nsIDOMEventReceiver.h" #include "nsGenericHTMLElement.h" -#include "nsHTMLAtoms.h" +#include "nsGkAtoms.h" #include "nsStyleConsts.h" #include "nsPresContext.h" #include "nsIDocument.h" diff --git a/content/html/content/src/nsHTMLImageElement.cpp b/content/html/content/src/nsHTMLImageElement.cpp index 32ee3ee0a686..e9fb50e4255e 100644 --- a/content/html/content/src/nsHTMLImageElement.cpp +++ b/content/html/content/src/nsHTMLImageElement.cpp @@ -39,7 +39,7 @@ #include "nsIDOMEventReceiver.h" #include "nsGenericHTMLElement.h" #include "nsImageLoadingContent.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsStyleConsts.h" #include "nsPresContext.h" #include "nsIPresShell.h" diff --git a/content/html/content/src/nsHTMLMetaElement.cpp b/content/html/content/src/nsHTMLMetaElement.cpp index 21261840b0b7..1217c1d2f3f2 100644 --- a/content/html/content/src/nsHTMLMetaElement.cpp +++ b/content/html/content/src/nsHTMLMetaElement.cpp @@ -37,7 +37,7 @@ #include "nsIDOMHTMLMetaElement.h" #include "nsIDOMEventReceiver.h" #include "nsGenericHTMLElement.h" -#include "nsHTMLAtoms.h" +#include "nsGkAtoms.h" #include "nsStyleConsts.h" #include "nsPresContext.h" diff --git a/content/html/content/src/nsHTMLObjectElement.cpp b/content/html/content/src/nsHTMLObjectElement.cpp index 40c75bbb3987..668fda88f029 100644 --- a/content/html/content/src/nsHTMLObjectElement.cpp +++ b/content/html/content/src/nsHTMLObjectElement.cpp @@ -38,7 +38,7 @@ #include "nsGenericHTMLElement.h" #include "nsObjectLoadingContent.h" -#include "nsHTMLAtoms.h" +#include "nsGkAtoms.h" #include "nsDOMError.h" #include "nsIDocument.h" #include "nsIDOMDocument.h" diff --git a/content/html/content/src/nsHTMLOptionElement.cpp b/content/html/content/src/nsHTMLOptionElement.cpp index 48dfd62232ce..936fd738f0e6 100644 --- a/content/html/content/src/nsHTMLOptionElement.cpp +++ b/content/html/content/src/nsHTMLOptionElement.cpp @@ -43,7 +43,7 @@ #include "nsIDOMHTMLFormElement.h" #include "nsIDOMEventReceiver.h" #include "nsGenericHTMLElement.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsStyleConsts.h" #include "nsPresContext.h" #include "nsIFormControl.h" diff --git a/content/html/content/src/nsHTMLSharedObjectElement.cpp b/content/html/content/src/nsHTMLSharedObjectElement.cpp index c48941469650..298bff98172b 100644 --- a/content/html/content/src/nsHTMLSharedObjectElement.cpp +++ b/content/html/content/src/nsHTMLSharedObjectElement.cpp @@ -38,7 +38,7 @@ #include "nsGenericHTMLElement.h" #include "nsObjectLoadingContent.h" -#include "nsHTMLAtoms.h" +#include "nsGkAtoms.h" #include "nsDOMError.h" #include "nsIDocument.h" #include "nsIDOMDocument.h" diff --git a/content/html/content/src/nsHTMLTitleElement.cpp b/content/html/content/src/nsHTMLTitleElement.cpp index 947c15caf50b..0b043c6e0ea9 100644 --- a/content/html/content/src/nsHTMLTitleElement.cpp +++ b/content/html/content/src/nsHTMLTitleElement.cpp @@ -37,7 +37,6 @@ #include "nsIDOMHTMLTitleElement.h" #include "nsIDOMEventReceiver.h" #include "nsGenericHTMLElement.h" -#include "nsHTMLAtoms.h" #include "nsStyleConsts.h" #include "nsPresContext.h" #include "nsIDOMText.h" diff --git a/content/html/document/src/nsHTMLDocument.cpp b/content/html/document/src/nsHTMLDocument.cpp index 70e027120217..919da383cfdb 100644 --- a/content/html/document/src/nsHTMLDocument.cpp +++ b/content/html/document/src/nsHTMLDocument.cpp @@ -50,7 +50,7 @@ #include "nsIXMLContentSink.h" #include "nsHTMLParts.h" #include "nsHTMLStyleSheet.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIPresShell.h" #include "nsPresContext.h" #include "nsIDOMNode.h" // for Find diff --git a/content/svg/content/src/nsSVGElement.cpp b/content/svg/content/src/nsSVGElement.cpp index 208db7fb0976..ca234d4c3640 100644 --- a/content/svg/content/src/nsSVGElement.cpp +++ b/content/svg/content/src/nsSVGElement.cpp @@ -52,7 +52,7 @@ #include "nsIDOMCSSStyleDeclaration.h" #include "nsIServiceManager.h" #include "nsIXBLService.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsICSSStyleRule.h" #include "nsISVGSVGElement.h" #include "nsRuleWalker.h" diff --git a/content/xbl/src/Makefile.in b/content/xbl/src/Makefile.in index f78c4a4e91e0..22d649c61e0b 100644 --- a/content/xbl/src/Makefile.in +++ b/content/xbl/src/Makefile.in @@ -69,10 +69,6 @@ REQUIRES = xpcom \ locale \ $(NULL) -EXPORTS = \ - nsXBLAtoms.h \ - $(NULL) - CPPSRCS = \ nsXBLBinding.cpp \ nsXBLPrototypeBinding.cpp \ diff --git a/content/xbl/src/nsBindingManager.cpp b/content/xbl/src/nsBindingManager.cpp index ea45107c6461..34730b999ff8 100644 --- a/content/xbl/src/nsBindingManager.cpp +++ b/content/xbl/src/nsBindingManager.cpp @@ -57,7 +57,6 @@ #include "nsIXMLContentSink.h" #include "nsContentCID.h" #include "nsXMLDocument.h" -#include "nsHTMLAtoms.h" #include "nsIStreamListener.h" #include "nsGenericDOMNodeList.h" diff --git a/content/xbl/src/nsXBLAtoms.h b/content/xbl/src/nsXBLAtoms.h deleted file mode 100644 index e26d0033028f..000000000000 --- a/content/xbl/src/nsXBLAtoms.h +++ /dev/null @@ -1,44 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is mozilla.org code. - * - * The Initial Developer of the Original Code is - * Netscape Communications Corporation. - * Portions created by the Initial Developer are Copyright (C) 1998 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * Original Author: David W. Hyatt (hyatt@netscape.com) - * - * Alternatively, the contents of this file may be used under the terms of - * either of the GNU General Public License Version 2 or later (the "GPL"), - * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the MPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the MPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ -#ifndef nsXBLAtoms_h___ -#define nsXBLAtoms_h___ - -#include "nsGkAtoms.h" -typedef class nsGkAtoms nsXBLAtoms; - -#endif /* nsXBLAtoms_h___ */ diff --git a/content/xbl/src/nsXBLContentSink.cpp b/content/xbl/src/nsXBLContentSink.cpp index 1a463b6602dd..f358ef6b147a 100644 --- a/content/xbl/src/nsXBLContentSink.cpp +++ b/content/xbl/src/nsXBLContentSink.cpp @@ -41,7 +41,7 @@ #include "nsIBindingManager.h" #include "nsIDOMNode.h" #include "nsIParser.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsINameSpaceManager.h" #include "nsHTMLTokens.h" #include "nsIURI.h" diff --git a/content/xbl/src/nsXBLEventHandler.cpp b/content/xbl/src/nsXBLEventHandler.cpp index 17c296f9f491..745c7c9c84ae 100644 --- a/content/xbl/src/nsXBLEventHandler.cpp +++ b/content/xbl/src/nsXBLEventHandler.cpp @@ -45,7 +45,7 @@ #include "nsIDOMMouseEvent.h" #include "nsIDOMText.h" #include "nsIDOM3EventTarget.h" -#include "nsXBLAtoms.h" +#include "nsGkAtoms.h" #include "nsXBLPrototypeHandler.h" #include "nsIDOMNSEvent.h" @@ -162,19 +162,19 @@ NS_NewXBLEventHandler(nsXBLPrototypeHandler* aHandler, nsIAtom* aEventType, nsXBLEventHandler** aResult) { - if (aEventType == nsXBLAtoms::mousedown || - aEventType == nsXBLAtoms::mouseup || - aEventType == nsXBLAtoms::click || - aEventType == nsXBLAtoms::dblclick || - aEventType == nsXBLAtoms::mouseover || - aEventType == nsXBLAtoms::mouseout || - aEventType == nsXBLAtoms::mousemove || - aEventType == nsXBLAtoms::contextmenu || - aEventType == nsXBLAtoms::dragenter || - aEventType == nsXBLAtoms::dragover || - aEventType == nsXBLAtoms::dragdrop || - aEventType == nsXBLAtoms::dragexit || - aEventType == nsXBLAtoms::draggesture) { + if (aEventType == nsGkAtoms::mousedown || + aEventType == nsGkAtoms::mouseup || + aEventType == nsGkAtoms::click || + aEventType == nsGkAtoms::dblclick || + aEventType == nsGkAtoms::mouseover || + aEventType == nsGkAtoms::mouseout || + aEventType == nsGkAtoms::mousemove || + aEventType == nsGkAtoms::contextmenu || + aEventType == nsGkAtoms::dragenter || + aEventType == nsGkAtoms::dragover || + aEventType == nsGkAtoms::dragdrop || + aEventType == nsGkAtoms::dragexit || + aEventType == nsGkAtoms::draggesture) { *aResult = new nsXBLMouseEventHandler(aHandler); } else { diff --git a/content/xbl/src/nsXBLPrototypeHandler.cpp b/content/xbl/src/nsXBLPrototypeHandler.cpp index 2fe204a6f895..5fc3e51424a0 100644 --- a/content/xbl/src/nsXBLPrototypeHandler.cpp +++ b/content/xbl/src/nsXBLPrototypeHandler.cpp @@ -72,7 +72,7 @@ #include "nsIScriptError.h" #include "nsXPIDLString.h" #include "nsReadableUtils.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsGUIEvent.h" #include "nsIXPConnect.h" #include "nsIDOMScriptObjectFactory.h" diff --git a/content/xbl/src/nsXBLResourceLoader.cpp b/content/xbl/src/nsXBLResourceLoader.cpp index fccb4d842c67..33812e5e27de 100644 --- a/content/xbl/src/nsXBLResourceLoader.cpp +++ b/content/xbl/src/nsXBLResourceLoader.cpp @@ -52,7 +52,7 @@ #include "nsIXBLDocumentInfo.h" #include "nsIURI.h" #include "nsNetUtil.h" -#include "nsXBLAtoms.h" +#include "nsGkAtoms.h" #include "nsFrameManager.h" #include "nsStyleContext.h" #include "nsXBLPrototypeBinding.h" @@ -109,7 +109,7 @@ nsXBLResourceLoader::LoadResources(PRBool* aResult) doc->GetDocumentCharacterSet().get(), docURL))) continue; - if (curr->mType == nsXBLAtoms::image) { + if (curr->mType == nsGkAtoms::image) { if (!nsContentUtils::CanLoadImage(url, doc, doc)) { // We're not permitted to load this image, move on... continue; @@ -123,7 +123,7 @@ nsXBLResourceLoader::LoadResources(PRBool* aResult) nsIRequest::LOAD_BACKGROUND, getter_AddRefs(req)); } - else if (curr->mType == nsXBLAtoms::stylesheet) { + else if (curr->mType == nsGkAtoms::stylesheet) { // Kick off the load of the stylesheet. // Always load chrome synchronously diff --git a/content/xbl/src/nsXBLWindowKeyHandler.cpp b/content/xbl/src/nsXBLWindowKeyHandler.cpp index e2c7b4de423b..d6eb432f92ed 100644 --- a/content/xbl/src/nsXBLWindowKeyHandler.cpp +++ b/content/xbl/src/nsXBLWindowKeyHandler.cpp @@ -40,7 +40,6 @@ #include "nsCOMPtr.h" #include "nsXBLPrototypeHandler.h" #include "nsXBLWindowKeyHandler.h" -#include "nsXBLAtoms.h" #include "nsIContent.h" #include "nsIAtom.h" #include "nsIDOMNSUIEvent.h" @@ -49,10 +48,9 @@ #include "nsIDOMNSEvent.h" #include "nsXBLService.h" #include "nsIServiceManager.h" -#include "nsHTMLAtoms.h" +#include "nsGkAtoms.h" #include "nsIXBLDocumentInfo.h" #include "nsIDOMElement.h" -#include "nsXBLAtoms.h" #include "nsINativeKeyBindings.h" #include "nsIController.h" #include "nsIControllers.h" @@ -72,7 +70,6 @@ #include "nsIPresShell.h" #include "nsIPrivateDOMEvent.h" #include "nsISelectionController.h" -#include "nsXULAtoms.h" static nsINativeKeyBindings *sNativeEditorBindings = nsnull; @@ -215,7 +212,7 @@ BuildHandlerChain(nsIContent* aContent, nsXBLPrototypeHandler** aResult) for (PRUint32 j = aContent->GetChildCount(); j--; ) { nsIContent *key = aContent->GetChildAt(j); - if (key->NodeInfo()->Equals(nsXBLAtoms::key, kNameSpaceID_XUL)) { + if (key->NodeInfo()->Equals(nsGkAtoms::key, kNameSpaceID_XUL)) { nsXBLPrototypeHandler* handler = new nsXBLPrototypeHandler(key); if (!handler) @@ -368,11 +365,11 @@ nsXBLWindowKeyHandler::WalkHandlers(nsIDOMEvent* aKeyEvent, nsIAtom* aEventType) } PRBool handled; - if (aEventType == nsXBLAtoms::keypress) { + if (aEventType == nsGkAtoms::keypress) { keyEvent->GetCharCode(&nativeEvent.charCode); handled = sNativeEditorBindings->KeyPress(nativeEvent, DoCommandCallback, controllers); - } else if (aEventType == nsXBLAtoms::keyup) { + } else if (aEventType == nsGkAtoms::keyup) { handled = sNativeEditorBindings->KeyUp(nativeEvent, DoCommandCallback, controllers); } else { @@ -390,17 +387,17 @@ nsXBLWindowKeyHandler::WalkHandlers(nsIDOMEvent* aKeyEvent, nsIAtom* aEventType) nsresult nsXBLWindowKeyHandler::KeyUp(nsIDOMEvent* aKeyEvent) { - return WalkHandlers(aKeyEvent, nsXBLAtoms::keyup); + return WalkHandlers(aKeyEvent, nsGkAtoms::keyup); } nsresult nsXBLWindowKeyHandler::KeyDown(nsIDOMEvent* aKeyEvent) { - return WalkHandlers(aKeyEvent, nsXBLAtoms::keydown); + return WalkHandlers(aKeyEvent, nsGkAtoms::keydown); } nsresult nsXBLWindowKeyHandler::KeyPress(nsIDOMEvent* aKeyEvent) { - return WalkHandlers(aKeyEvent, nsXBLAtoms::keypress); + return WalkHandlers(aKeyEvent, nsGkAtoms::keypress); } diff --git a/content/xml/content/src/nsXMLCDATASection.cpp b/content/xml/content/src/nsXMLCDATASection.cpp index 3b135f013441..8a4eb89fdbda 100644 --- a/content/xml/content/src/nsXMLCDATASection.cpp +++ b/content/xml/content/src/nsXMLCDATASection.cpp @@ -37,7 +37,7 @@ #include "nsIDOMCDATASection.h" #include "nsGenericDOMDataNode.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIDocument.h" #include "nsContentUtils.h" diff --git a/content/xml/content/src/nsXMLProcessingInstruction.cpp b/content/xml/content/src/nsXMLProcessingInstruction.cpp index ef72d0ea4fdb..04a7ac7489f8 100644 --- a/content/xml/content/src/nsXMLProcessingInstruction.cpp +++ b/content/xml/content/src/nsXMLProcessingInstruction.cpp @@ -36,7 +36,7 @@ * ***** END LICENSE BLOCK ***** */ #include "nsGenericElement.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsUnicharUtils.h" #include "nsXMLProcessingInstruction.h" #include "nsParserUtils.h" diff --git a/content/xml/content/src/nsXMLStylesheetPI.cpp b/content/xml/content/src/nsXMLStylesheetPI.cpp index 14ea7b00e43f..9458fd1b0956 100644 --- a/content/xml/content/src/nsXMLStylesheetPI.cpp +++ b/content/xml/content/src/nsXMLStylesheetPI.cpp @@ -46,7 +46,7 @@ #include "nsXMLProcessingInstruction.h" #include "nsUnicharUtils.h" #include "nsParserUtils.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" class nsXMLStylesheetPI : public nsXMLProcessingInstruction, public nsStyleLinkElement diff --git a/content/xml/document/src/nsXMLContentSink.cpp b/content/xml/document/src/nsXMLContentSink.cpp index f2a2cefcaac2..c57847da4c68 100644 --- a/content/xml/document/src/nsXMLContentSink.cpp +++ b/content/xml/document/src/nsXMLContentSink.cpp @@ -62,7 +62,7 @@ #include "nsCRT.h" #include "nsICSSLoader.h" #include "nsICSSStyleSheet.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsContentUtils.h" #include "nsIScriptContext.h" #include "nsINameSpaceManager.h" diff --git a/content/xtf/src/nsXTFElementWrapper.cpp b/content/xtf/src/nsXTFElementWrapper.cpp index 6096e6bc1239..dea6f9dab8cd 100644 --- a/content/xtf/src/nsXTFElementWrapper.cpp +++ b/content/xtf/src/nsXTFElementWrapper.cpp @@ -45,7 +45,7 @@ #include "nsPIDOMWindow.h" #include "nsIInterfaceRequestorUtils.h" #include "nsIDocument.h" -#include "nsLayoutAtoms.h" // XXX only needed for nsGkAtoms::id +#include "nsGkAtoms.h" #include "nsIEventListenerManager.h" #include "nsIDOMEvent.h" #include "nsGUIEvent.h" diff --git a/content/xul/content/src/Makefile.in b/content/xul/content/src/Makefile.in index dcc1dc7c8bfe..8b21de9ef0a8 100644 --- a/content/xul/content/src/Makefile.in +++ b/content/xul/content/src/Makefile.in @@ -72,10 +72,6 @@ REQUIRES = xpcom \ htmlparser \ $(NULL) -EXPORTS = \ - nsXULAtoms.h \ - $(NULL) - ifdef MOZ_XUL CPPSRCS += \ nsXULElement.cpp \ diff --git a/content/xul/content/src/nsXULAtoms.h b/content/xul/content/src/nsXULAtoms.h deleted file mode 100644 index c26c63ca4a62..000000000000 --- a/content/xul/content/src/nsXULAtoms.h +++ /dev/null @@ -1,43 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is mozilla.org code. - * - * The Initial Developer of the Original Code is - * Netscape Communications Corporation. - * Portions created by the Initial Developer are Copyright (C) 1998 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * Original Author: David W. Hyatt (hyatt@netscape.com) - * - * Alternatively, the contents of this file may be used under the terms of - * either of the GNU General Public License Version 2 or later (the "GPL"), - * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the MPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the MPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ -#ifndef nsXULAtoms_h___ -#define nsXULAtoms_h___ - -#include "nsGkAtoms.h" - -#endif /* nsXULAtoms_h___ */ diff --git a/content/xul/content/src/nsXULElement.cpp b/content/xul/content/src/nsXULElement.cpp index f29d1cc19725..1d42d8d07aa6 100644 --- a/content/xul/content/src/nsXULElement.cpp +++ b/content/xul/content/src/nsXULElement.cpp @@ -134,7 +134,7 @@ #include "nsDOMAttributeMap.h" #include "nsDOMCSSDeclaration.h" #include "nsGenericHTMLElement.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsXULContentUtils.h" #include "nsNodeUtils.h" diff --git a/content/xul/document/src/nsXULContentSink.cpp b/content/xul/document/src/nsXULContentSink.cpp index 602bc0952d46..48d504a2b9bb 100644 --- a/content/xul/document/src/nsXULContentSink.cpp +++ b/content/xul/document/src/nsXULContentSink.cpp @@ -95,7 +95,7 @@ #include "nsIExpatSink.h" #include "nsUnicharUtils.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsNodeInfoManager.h" #include "nsContentUtils.h" #include "nsAttrName.h" diff --git a/content/xul/templates/src/nsXULContentBuilder.cpp b/content/xul/templates/src/nsXULContentBuilder.cpp index 179d9f3ecf6e..971e6ab00fde 100644 --- a/content/xul/templates/src/nsXULContentBuilder.cpp +++ b/content/xul/templates/src/nsXULContentBuilder.cpp @@ -56,7 +56,7 @@ #include "nsTemplateMap.h" #include "nsVoidArray.h" #include "nsXPIDLString.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsXULContentUtils.h" #include "nsXULElement.h" #include "nsXULTemplateBuilder.h" diff --git a/extensions/spatialnavigation/src/nsSpatialNavigationPrivate.h b/extensions/spatialnavigation/src/nsSpatialNavigationPrivate.h index 28ed1d40048f..fa86921d61c5 100755 --- a/extensions/spatialnavigation/src/nsSpatialNavigationPrivate.h +++ b/extensions/spatialnavigation/src/nsSpatialNavigationPrivate.h @@ -49,7 +49,6 @@ #include "nsDirectoryServiceDefs.h" #include "nsDirectoryServiceUtils.h" #include "nsFrameTraversal.h" -#include "nsHTMLAtoms.h" #include "nsIArray.h" #include "nsIBaseWindow.h" #include "nsICategoryManager.h" @@ -118,7 +117,6 @@ #include "nsIWebBrowser.h" #include "nsIWebBrowserChrome.h" #include "nsIWindowWatcher.h" -#include "nsLayoutAtoms.h" #include "nsLayoutCID.h" #include "nsPIDOMWindow.h" #include "nsStyleContext.h" diff --git a/extensions/typeaheadfind/src/nsTypeAheadFind.cpp b/extensions/typeaheadfind/src/nsTypeAheadFind.cpp index ddf471d69509..988773faaa64 100644 --- a/extensions/typeaheadfind/src/nsTypeAheadFind.cpp +++ b/extensions/typeaheadfind/src/nsTypeAheadFind.cpp @@ -94,7 +94,6 @@ #include "nsINameSpaceManager.h" #include "nsIWindowWatcher.h" #include "nsIObserverService.h" -#include "nsLayoutAtoms.h" #include "nsIPrivateTextEvent.h" #include "nsIPrivateCompositionEvent.h" diff --git a/layout/base/Makefile.in b/layout/base/Makefile.in index 5108580cbd30..8a9a9515b919 100644 --- a/layout/base/Makefile.in +++ b/layout/base/Makefile.in @@ -111,7 +111,6 @@ EXPORTS = \ nsIPercentHeightObserver.h \ nsIPresShell.h \ nsIReflowCallback.h \ - nsLayoutAtoms.h \ nsLayoutErrors.h \ nsLayoutUtils.h \ nsPresContext.h \ diff --git a/layout/base/nsBidiPresUtils.cpp b/layout/base/nsBidiPresUtils.cpp index c22fcc0a29ea..e9262fced84d 100644 --- a/layout/base/nsBidiPresUtils.cpp +++ b/layout/base/nsBidiPresUtils.cpp @@ -41,7 +41,7 @@ #include "nsBidiPresUtils.h" #include "nsTextFragment.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsPresContext.h" #include "nsIRenderingContext.h" #include "nsIServiceManager.h" diff --git a/layout/base/nsCSSFrameConstructor.cpp b/layout/base/nsCSSFrameConstructor.cpp index 9d3536148496..b9b1599e2dc4 100644 --- a/layout/base/nsCSSFrameConstructor.cpp +++ b/layout/base/nsCSSFrameConstructor.cpp @@ -52,7 +52,7 @@ #include "nsIHTMLDocument.h" #include "nsIStyleRule.h" #include "nsIFrame.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsPresContext.h" #include "nsILinkHandler.h" #include "nsIDocument.h" diff --git a/layout/base/nsCSSRendering.cpp b/layout/base/nsCSSRendering.cpp index be3ba13441e3..41d043945cd6 100644 --- a/layout/base/nsCSSRendering.cpp +++ b/layout/base/nsCSSRendering.cpp @@ -52,7 +52,7 @@ #include "nsFrameManager.h" #include "nsStyleContext.h" #include "nsIScrollableView.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIDrawingSurface.h" #include "nsTransform2D.h" #include "nsIDeviceContext.h" diff --git a/layout/base/nsCaret.cpp b/layout/base/nsCaret.cpp index 5d24a05d176c..48b7955c26f8 100644 --- a/layout/base/nsCaret.cpp +++ b/layout/base/nsCaret.cpp @@ -74,7 +74,6 @@ static const PRUint32 kMinBidiIndicatorPixels = 2; #ifdef IBMBIDI -#include "nsLayoutAtoms.h" #include "nsIBidiKeyboard.h" #include "nsContentUtils.h" #endif //IBMBIDI diff --git a/layout/base/nsDocumentViewer.cpp b/layout/base/nsDocumentViewer.cpp index 4dc395306f5a..78896ef1c6a9 100644 --- a/layout/base/nsDocumentViewer.cpp +++ b/layout/base/nsDocumentViewer.cpp @@ -100,7 +100,6 @@ #include "nsIBaseWindow.h" #include "nsIFrameDebug.h" #include "nsILayoutHistoryState.h" -#include "nsLayoutAtoms.h" #include "nsIParser.h" #include "nsGUIEvent.h" #include "nsHTMLReflowState.h" @@ -145,7 +144,6 @@ #include "nsIPrintSettingsService.h" #include "nsIPrintOptions.h" #include "nsIServiceManager.h" -#include "nsHTMLAtoms.h" // XXX until atoms get factored into nsLayoutAtoms #include "nsISimpleEnumerator.h" #include "nsXPCOM.h" #include "nsISupportsPrimitives.h" @@ -176,7 +174,6 @@ static const char sPrintOptionsContractID[] = "@mozilla.org/gfx/printset // FrameSet #include "nsIDocument.h" -#include "nsHTMLAtoms.h" //focus #include "nsIDOMEventReceiver.h" diff --git a/layout/base/nsFrameManager.cpp b/layout/base/nsFrameManager.cpp index b20f4f499637..aa86ed74961b 100644 --- a/layout/base/nsFrameManager.cpp +++ b/layout/base/nsFrameManager.cpp @@ -59,7 +59,7 @@ #include "prthread.h" #include "plhash.h" #include "nsPlaceholderFrame.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsCSSAnonBoxes.h" #include "nsCSSPseudoElements.h" #ifdef NS_DEBUG diff --git a/layout/base/nsFrameTraversal.cpp b/layout/base/nsFrameTraversal.cpp index 4760d5167cc1..28bcc265801b 100644 --- a/layout/base/nsFrameTraversal.cpp +++ b/layout/base/nsFrameTraversal.cpp @@ -35,7 +35,7 @@ * * ***** END LICENSE BLOCK ***** */ #include "nsCOMPtr.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsFrameTraversal.h" #include "nsFrameList.h" diff --git a/layout/base/nsImageLoader.cpp b/layout/base/nsImageLoader.cpp index 62c5ac2c4b6a..659e36310041 100644 --- a/layout/base/nsImageLoader.cpp +++ b/layout/base/nsImageLoader.cpp @@ -58,7 +58,7 @@ #include "nsIViewManager.h" #include "nsStyleContext.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" // Paint forcing #include "prenv.h" diff --git a/layout/base/nsLayoutAtoms.h b/layout/base/nsLayoutAtoms.h deleted file mode 100644 index 39d83db7b505..000000000000 --- a/layout/base/nsLayoutAtoms.h +++ /dev/null @@ -1,50 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is mozilla.org code. - * - * The Initial Developer of the Original Code is - * Netscape Communications Corporation. - * Portions created by the Initial Developer are Copyright (C) 1998 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * - * Alternatively, the contents of this file may be used under the terms of - * either of the GNU General Public License Version 2 or later (the "GPL"), - * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the MPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the MPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ - -/* atom list */ - -#ifndef nsLayoutAtoms_h___ -#define nsLayoutAtoms_h___ - -#include "nsGkAtoms.h" - -static inline PRBool IS_TABLE_CELL(nsIAtom* frameType) { - return nsGkAtoms::tableCellFrame == frameType || - nsGkAtoms::bcTableCellFrame == frameType; -} - -#endif /* nsLayoutAtoms_h___ */ diff --git a/layout/base/nsLayoutUtils.cpp b/layout/base/nsLayoutUtils.cpp index 90c2764aebfd..1e48954397eb 100644 --- a/layout/base/nsLayoutUtils.cpp +++ b/layout/base/nsLayoutUtils.cpp @@ -44,7 +44,7 @@ #include "nsPresContext.h" #include "nsIContent.h" #include "nsFrameList.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIAtom.h" #include "nsCSSPseudoElements.h" #include "nsIView.h" diff --git a/layout/base/nsLayoutUtils.h b/layout/base/nsLayoutUtils.h index b412d0bc9a6e..f9487768c58c 100644 --- a/layout/base/nsLayoutUtils.h +++ b/layout/base/nsLayoutUtils.h @@ -92,7 +92,7 @@ public: * ancestor "Page" frame, if any. * * @param the frame to start at - * @return a frame of type nsLayoutAtoms::pageFrame or nsnull if no + * @return a frame of type nsGkAtoms::pageFrame or nsnull if no * such ancestor exists */ static nsIFrame* GetPageFrame(nsIFrame* aFrame); diff --git a/layout/base/nsPresContext.h b/layout/base/nsPresContext.h index d16305a65091..0f68f3c370cf 100644 --- a/layout/base/nsPresContext.h +++ b/layout/base/nsPresContext.h @@ -58,7 +58,7 @@ #include "nsCRT.h" #include "nsIPrintSettings.h" #include "nsPropertyTable.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIDocument.h" #ifdef IBMBIDI class nsBidiPresUtils; diff --git a/layout/base/nsPresShell.cpp b/layout/base/nsPresShell.cpp index 10eb31eac2e2..a5044b7c7c3b 100644 --- a/layout/base/nsPresShell.cpp +++ b/layout/base/nsPresShell.cpp @@ -90,7 +90,7 @@ #include "nsISelection.h" #include "nsISelectionController.h" #include "nsLayoutCID.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIDOMRange.h" #include "nsIDOMDocument.h" #include "nsIDOMNode.h" diff --git a/layout/build/nsLayoutModule.cpp b/layout/build/nsLayoutModule.cpp index b08601455eae..e7e62d055a15 100644 --- a/layout/build/nsLayoutModule.cpp +++ b/layout/build/nsLayoutModule.cpp @@ -100,7 +100,6 @@ #ifndef MOZ_CAIRO_GFX #include "nsISelectionImageService.h" #endif -#include "nsXULAtoms.h" #include "nsLayoutCID.h" #include "nsILanguageAtomService.h" #include "nsStyleSheetService.h" diff --git a/layout/build/nsLayoutStatics.cpp b/layout/build/nsLayoutStatics.cpp index a5342c96d3c5..c99c56fab6f6 100644 --- a/layout/build/nsLayoutStatics.cpp +++ b/layout/build/nsLayoutStatics.cpp @@ -61,9 +61,8 @@ #include "nsGenericElement.h" // for nsDOMEventRTTearoff #include "nsGenericHTMLElement.h" #include "nsGlobalWindow.h" -#include "nsHTMLAtoms.h" +#include "nsGkAtoms.h" #include "nsImageFrame.h" -#include "nsLayoutAtoms.h" #include "nsLayoutStylesheetCache.h" #include "nsNodeInfo.h" #include "nsRange.h" @@ -74,7 +73,6 @@ #include "nsStyleSet.h" #include "nsTextControlFrame.h" #include "nsTextTransformer.h" -#include "nsXBLAtoms.h" #include "nsXBLWindowKeyHandler.h" #include "txMozillaXSLTProcessor.h" #include "nsDOMStorage.h" diff --git a/layout/forms/nsComboboxControlFrame.cpp b/layout/forms/nsComboboxControlFrame.cpp index b3f3ee36529c..5e47d71d1d26 100644 --- a/layout/forms/nsComboboxControlFrame.cpp +++ b/layout/forms/nsComboboxControlFrame.cpp @@ -43,7 +43,7 @@ #include "nsFrameManager.h" #include "nsFormControlFrame.h" #include "nsGfxButtonControlFrame.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsCSSAnonBoxes.h" #include "nsHTMLParts.h" #include "nsIFormControl.h" diff --git a/layout/forms/nsFieldSetFrame.cpp b/layout/forms/nsFieldSetFrame.cpp index c4d08d17dc67..6d405777b64e 100644 --- a/layout/forms/nsFieldSetFrame.cpp +++ b/layout/forms/nsFieldSetFrame.cpp @@ -52,7 +52,7 @@ #include "nsPresContext.h" #include "nsFrameManager.h" #include "nsHTMLParts.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsStyleConsts.h" #include "nsFont.h" #include "nsCOMPtr.h" diff --git a/layout/forms/nsGfxButtonControlFrame.cpp b/layout/forms/nsGfxButtonControlFrame.cpp index a5b8edf23ecc..e23f64a56ff7 100644 --- a/layout/forms/nsGfxButtonControlFrame.cpp +++ b/layout/forms/nsGfxButtonControlFrame.cpp @@ -47,7 +47,7 @@ #endif #include "nsIServiceManager.h" #include "nsIDOMNode.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsAutoPtr.h" #include "nsStyleSet.h" #include "nsContentUtils.h" diff --git a/layout/forms/nsHTMLButtonControlFrame.cpp b/layout/forms/nsHTMLButtonControlFrame.cpp index 3b4df035f742..4cd0f6b9f0a6 100644 --- a/layout/forms/nsHTMLButtonControlFrame.cpp +++ b/layout/forms/nsHTMLButtonControlFrame.cpp @@ -50,7 +50,7 @@ #include "nsLeafFrame.h" #include "nsCSSRendering.h" #include "nsISupports.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsCSSAnonBoxes.h" #include "nsIImage.h" #include "nsStyleConsts.h" diff --git a/layout/forms/nsImageControlFrame.cpp b/layout/forms/nsImageControlFrame.cpp index 714a45b9305b..d93f09cac4cf 100644 --- a/layout/forms/nsImageControlFrame.cpp +++ b/layout/forms/nsImageControlFrame.cpp @@ -47,7 +47,7 @@ #include "nsLeafFrame.h" #include "nsCSSRendering.h" #include "nsISupports.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIDeviceContext.h" #include "nsIFontMetrics.h" #include "nsIImage.h" diff --git a/layout/forms/nsLegendFrame.cpp b/layout/forms/nsLegendFrame.cpp index 0883e9617dcd..75dfe7ccc1b8 100644 --- a/layout/forms/nsLegendFrame.cpp +++ b/layout/forms/nsLegendFrame.cpp @@ -47,7 +47,7 @@ #include "nsIAtom.h" #include "nsGenericHTMLElement.h" #include "nsHTMLParts.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsStyleConsts.h" #include "nsFont.h" #include "nsFormControlFrame.h" diff --git a/layout/forms/nsListControlFrame.cpp b/layout/forms/nsListControlFrame.cpp index c0e9599eb729..f46389bcc174 100644 --- a/layout/forms/nsListControlFrame.cpp +++ b/layout/forms/nsListControlFrame.cpp @@ -43,7 +43,7 @@ #include "nsUnicharUtils.h" #include "nsListControlFrame.h" #include "nsFormControlFrame.h" // for COMPARE macro -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIFormControl.h" #include "nsIDeviceContext.h" #include "nsIDocument.h" diff --git a/layout/forms/nsListControlFrame.h b/layout/forms/nsListControlFrame.h index 607b2caac6b8..33674468e77b 100644 --- a/layout/forms/nsListControlFrame.h +++ b/layout/forms/nsListControlFrame.h @@ -119,7 +119,7 @@ public: /** * Get the "type" of the frame * - * @see nsLayoutAtoms::scrollFrame + * @see nsGkAtoms::scrollFrame */ virtual nsIAtom* GetType() const; diff --git a/layout/forms/nsSelectsAreaFrame.h b/layout/forms/nsSelectsAreaFrame.h index 87730b3bab96..a4001df2b4f9 100644 --- a/layout/forms/nsSelectsAreaFrame.h +++ b/layout/forms/nsSelectsAreaFrame.h @@ -44,7 +44,7 @@ class nsIContent; * The area frame has an additional named child list: * - "Absolute-list" which contains the absolutely positioned frames * - * @see nsLayoutAtoms::absoluteList + * @see nsGkAtoms::absoluteList */ class nsSelectsAreaFrame : public nsAreaFrame { diff --git a/layout/forms/nsTextControlFrame.cpp b/layout/forms/nsTextControlFrame.cpp index 6783cef40aa5..1f251d570d21 100644 --- a/layout/forms/nsTextControlFrame.cpp +++ b/layout/forms/nsTextControlFrame.cpp @@ -74,7 +74,7 @@ #include "nsIPrintContext.h" #include "nsIPrintPreviewContext.h" #endif // USE_QI_IN_SUPPRESS_EVENT_HANDLERS -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsLayoutUtils.h" #include "nsIComponentManager.h" #include "nsIView.h" diff --git a/layout/generic/nsAbsoluteContainingBlock.cpp b/layout/generic/nsAbsoluteContainingBlock.cpp index 11e7fd750667..cd33194cef7e 100644 --- a/layout/generic/nsAbsoluteContainingBlock.cpp +++ b/layout/generic/nsAbsoluteContainingBlock.cpp @@ -44,7 +44,6 @@ #include "nsAbsoluteContainingBlock.h" #include "nsContainerFrame.h" #include "nsIViewManager.h" -#include "nsLayoutAtoms.h" #include "nsIPresShell.h" #include "nsHTMLParts.h" #include "nsPresContext.h" @@ -304,7 +303,7 @@ nsAbsoluteContainingBlock::DestroyFrames(nsIFrame* aDelegatingFrame) // reflow... // When bug 154892 is checked in, make sure that when -// GetChildListName() == nsLayoutAtoms::fixedList, the height is unconstrained. +// GetChildListName() == nsGkAtoms::fixedList, the height is unconstrained. // since we don't allow replicated frames to split. nsresult diff --git a/layout/generic/nsAbsoluteContainingBlock.h b/layout/generic/nsAbsoluteContainingBlock.h index 7e1aebdae985..2f1a50fe64a6 100644 --- a/layout/generic/nsAbsoluteContainingBlock.h +++ b/layout/generic/nsAbsoluteContainingBlock.h @@ -45,7 +45,7 @@ #include "nsFrameList.h" #include "nsHTMLReflowState.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" class nsIAtom; class nsIFrame; diff --git a/layout/generic/nsAreaFrame.cpp b/layout/generic/nsAreaFrame.cpp index c3af4e51aa97..bc5e36381dbd 100644 --- a/layout/generic/nsAreaFrame.cpp +++ b/layout/generic/nsAreaFrame.cpp @@ -44,7 +44,7 @@ #include "nsPresContext.h" #include "nsIViewManager.h" #include "nsINodeInfo.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIView.h" #include "nsHTMLParts.h" diff --git a/layout/generic/nsAreaFrame.h b/layout/generic/nsAreaFrame.h index e915ff129ca4..5f06205cce44 100644 --- a/layout/generic/nsAreaFrame.h +++ b/layout/generic/nsAreaFrame.h @@ -51,7 +51,7 @@ struct nsStylePosition; * The area frame has an additional named child list: * - "Absolute-list" which contains the absolutely positioned frames * - * @see nsLayoutAtoms::absoluteList + * @see nsGkAtoms::absoluteList */ class nsAreaFrame : public nsBlockFrame { @@ -75,7 +75,7 @@ public: /** * Get the "type" of the frame * - * @see nsLayoutAtoms::areaFrame + * @see nsGkAtoms::areaFrame */ virtual nsIAtom* GetType() const; diff --git a/layout/generic/nsBRFrame.cpp b/layout/generic/nsBRFrame.cpp index c4f7196a121d..ad6b6c6632c2 100644 --- a/layout/generic/nsBRFrame.cpp +++ b/layout/generic/nsBRFrame.cpp @@ -43,7 +43,7 @@ #include "nsPresContext.h" #include "nsLineLayout.h" #include "nsStyleConsts.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIFontMetrics.h" #include "nsIRenderingContext.h" #include "nsTextTransformer.h" diff --git a/layout/generic/nsBidiFrames.cpp b/layout/generic/nsBidiFrames.cpp index 61b465795ca4..1ec7efdb438a 100644 --- a/layout/generic/nsBidiFrames.cpp +++ b/layout/generic/nsBidiFrames.cpp @@ -39,7 +39,7 @@ #ifdef IBMBIDI #include "nsBidiFrames.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" nsDirectionalFrame::nsDirectionalFrame(nsStyleContext* aContext, PRUnichar aChar) diff --git a/layout/generic/nsBlockBandData.cpp b/layout/generic/nsBlockBandData.cpp index e8d5cea71d3d..339fc59efbe1 100644 --- a/layout/generic/nsBlockBandData.cpp +++ b/layout/generic/nsBlockBandData.cpp @@ -43,7 +43,6 @@ #include "nsHTMLReflowState.h" #include "nsPresContext.h" #include "nsIPresShell.h" -#include "nsLayoutAtoms.h" nsBlockBandData::nsBlockBandData() : mSpaceManager(nsnull), diff --git a/layout/generic/nsBlockFrame.cpp b/layout/generic/nsBlockFrame.cpp index 5294e35cc91d..e1f2d910d71e 100644 --- a/layout/generic/nsBlockFrame.cpp +++ b/layout/generic/nsBlockFrame.cpp @@ -64,7 +64,7 @@ #include "nsIView.h" #include "nsIFontMetrics.h" #include "nsHTMLParts.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIDOMEvent.h" #include "nsGenericHTMLElement.h" #include "prprf.h" diff --git a/layout/generic/nsBlockFrame.h b/layout/generic/nsBlockFrame.h index 778285fcbc55..f3b96ef8722c 100644 --- a/layout/generic/nsBlockFrame.h +++ b/layout/generic/nsBlockFrame.h @@ -135,7 +135,7 @@ extern const nsIID kBlockFrameCID; * The block frame has an additional named child list: * - "Absolute-list" which contains the absolutely positioned frames * - * @see nsLayoutAtoms::absoluteList + * @see nsGkAtoms::absoluteList */ class nsBlockFrame : public nsBlockFrameSuper { diff --git a/layout/generic/nsBlockReflowContext.cpp b/layout/generic/nsBlockReflowContext.cpp index cba4c3db7dc7..7ed04e96e2fc 100644 --- a/layout/generic/nsBlockReflowContext.cpp +++ b/layout/generic/nsBlockReflowContext.cpp @@ -52,7 +52,7 @@ #include "nsLineBox.h" #include "nsIDOMHTMLTableCellElement.h" #include "nsIDOMHTMLBodyElement.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsCOMPtr.h" #include "nsLayoutUtils.h" diff --git a/layout/generic/nsBlockReflowState.cpp b/layout/generic/nsBlockReflowState.cpp index cb83069b7078..bb457c3f9761 100644 --- a/layout/generic/nsBlockReflowState.cpp +++ b/layout/generic/nsBlockReflowState.cpp @@ -47,7 +47,7 @@ #include "nsBlockFrame.h" #include "nsLineLayout.h" #include "nsPresContext.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIFrame.h" #include "nsFrameManager.h" diff --git a/layout/generic/nsBulletFrame.cpp b/layout/generic/nsBulletFrame.cpp index 8aa72f7846e9..d6ad5c5914a1 100644 --- a/layout/generic/nsBulletFrame.cpp +++ b/layout/generic/nsBulletFrame.cpp @@ -39,7 +39,7 @@ #include "nsCOMPtr.h" #include "nsBulletFrame.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsHTMLParts.h" #include "nsHTMLContainerFrame.h" #include "nsIFontMetrics.h" diff --git a/layout/generic/nsColumnSetFrame.cpp b/layout/generic/nsColumnSetFrame.cpp index 5fc037dbb9c3..2a3af44fc744 100644 --- a/layout/generic/nsColumnSetFrame.cpp +++ b/layout/generic/nsColumnSetFrame.cpp @@ -45,7 +45,7 @@ #include "nsIAtom.h" #include "nsPresContext.h" #include "nsHTMLParts.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsStyleConsts.h" #include "nsCOMPtr.h" diff --git a/layout/generic/nsContainerFrame.cpp b/layout/generic/nsContainerFrame.cpp index 950cfb331adb..2e0aeee783e1 100644 --- a/layout/generic/nsContainerFrame.cpp +++ b/layout/generic/nsContainerFrame.cpp @@ -54,7 +54,7 @@ #include "nsFrameManager.h" #include "nsIPresShell.h" #include "nsCOMPtr.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsCSSAnonBoxes.h" #include "nsIViewManager.h" #include "nsIWidget.h" diff --git a/layout/generic/nsFirstLetterFrame.cpp b/layout/generic/nsFirstLetterFrame.cpp index 985605a8dc0f..2a35df006b11 100644 --- a/layout/generic/nsFirstLetterFrame.cpp +++ b/layout/generic/nsFirstLetterFrame.cpp @@ -43,7 +43,7 @@ #include "nsStyleContext.h" #include "nsIContent.h" #include "nsLineLayout.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsAutoPtr.h" #include "nsStyleSet.h" #include "nsFrameManager.h" diff --git a/layout/generic/nsFrame.cpp b/layout/generic/nsFrame.cpp index 81e7812eacbb..7e2249e9e3f0 100644 --- a/layout/generic/nsFrame.cpp +++ b/layout/generic/nsFrame.cpp @@ -85,7 +85,7 @@ #include "nsISelectionPrivate.h" #include "nsFrameSelection.h" #include "nsHTMLParts.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsCSSAnonBoxes.h" #include "nsCSSPseudoElements.h" #include "nsIHTMLContentSink.h" diff --git a/layout/generic/nsFrameFrame.cpp b/layout/generic/nsFrameFrame.cpp index a968f914fc17..88aa33a71f34 100644 --- a/layout/generic/nsFrameFrame.cpp +++ b/layout/generic/nsFrameFrame.cpp @@ -65,7 +65,7 @@ #include "nsIViewManager.h" #include "nsWidgetsCID.h" #include "nsViewsCID.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIScrollableView.h" #include "nsStyleCoord.h" #include "nsStyleContext.h" diff --git a/layout/generic/nsFrameList.cpp b/layout/generic/nsFrameList.cpp index 5eab70e32575..19c00c66dd51 100644 --- a/layout/generic/nsFrameList.cpp +++ b/layout/generic/nsFrameList.cpp @@ -46,7 +46,7 @@ #ifdef IBMBIDI #include "nsCOMPtr.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsILineIterator.h" #include "nsBidiPresUtils.h" #endif // IBMBIDI diff --git a/layout/generic/nsFrameSetFrame.cpp b/layout/generic/nsFrameSetFrame.cpp index 7955c8bbe1bb..b0d6f47e386a 100644 --- a/layout/generic/nsFrameSetFrame.cpp +++ b/layout/generic/nsFrameSetFrame.cpp @@ -54,7 +54,7 @@ #include "nsIView.h" #include "nsIViewManager.h" #include "nsWidgetsCID.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIScrollableView.h" #include "nsStyleCoord.h" #include "nsStyleConsts.h" diff --git a/layout/generic/nsFrameSetFrame.h b/layout/generic/nsFrameSetFrame.h index 5f3164ada516..4b7de877a43f 100644 --- a/layout/generic/nsFrameSetFrame.h +++ b/layout/generic/nsFrameSetFrame.h @@ -40,7 +40,7 @@ #ifndef nsHTMLFrameset_h___ #define nsHTMLFrameset_h___ -#include "nsHTMLAtoms.h" +#include "nsGkAtoms.h" #include "nsHTMLContainerFrame.h" #include "nsColor.h" #include "nsIObserver.h" diff --git a/layout/generic/nsGfxScrollFrame.cpp b/layout/generic/nsGfxScrollFrame.cpp index 05c15c777fcf..73f0d615a016 100644 --- a/layout/generic/nsGfxScrollFrame.cpp +++ b/layout/generic/nsGfxScrollFrame.cpp @@ -49,7 +49,7 @@ #include "nsIViewManager.h" #include "nsHTMLContainerFrame.h" #include "nsGfxScrollFrame.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsINameSpaceManager.h" #include "nsISupportsArray.h" #include "nsIDocument.h" diff --git a/layout/generic/nsGfxScrollFrame.h b/layout/generic/nsGfxScrollFrame.h index 079e556472e0..47c8dfa3e840 100644 --- a/layout/generic/nsGfxScrollFrame.h +++ b/layout/generic/nsGfxScrollFrame.h @@ -354,7 +354,7 @@ public: /** * Get the "type" of the frame * - * @see nsLayoutAtoms::scrollFrame + * @see nsGkAtoms::scrollFrame */ virtual nsIAtom* GetType() const; @@ -545,7 +545,7 @@ public: /** * Get the "type" of the frame * - * @see nsLayoutAtoms::scrollFrame + * @see nsGkAtoms::scrollFrame */ virtual nsIAtom* GetType() const; diff --git a/layout/generic/nsHTMLCanvasFrame.cpp b/layout/generic/nsHTMLCanvasFrame.cpp index 62f65d6f64fc..ddb5e1198d11 100644 --- a/layout/generic/nsHTMLCanvasFrame.cpp +++ b/layout/generic/nsHTMLCanvasFrame.cpp @@ -41,7 +41,7 @@ #include "nsHTMLParts.h" #include "nsCOMPtr.h" #include "nsIServiceManager.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsHTMLCanvasFrame.h" #include "nsICanvasElement.h" diff --git a/layout/generic/nsHTMLContainerFrame.cpp b/layout/generic/nsHTMLContainerFrame.cpp index 92dc15070fde..376e258eff15 100644 --- a/layout/generic/nsHTMLContainerFrame.cpp +++ b/layout/generic/nsHTMLContainerFrame.cpp @@ -44,7 +44,7 @@ #include "nsStyleContext.h" #include "nsStyleConsts.h" #include "nsIContent.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsLayoutUtils.h" #include "nsCSSAnonBoxes.h" #include "nsIWidget.h" diff --git a/layout/generic/nsHTMLFrame.cpp b/layout/generic/nsHTMLFrame.cpp index e6a16ef07d5a..30169aaf11b0 100644 --- a/layout/generic/nsHTMLFrame.cpp +++ b/layout/generic/nsHTMLFrame.cpp @@ -48,7 +48,7 @@ #include "nsIRenderingContext.h" #include "nsGUIEvent.h" #include "nsStyleConsts.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIEventStateManager.h" #include "nsIDeviceContext.h" #include "nsIPresShell.h" diff --git a/layout/generic/nsHTMLReflowState.cpp b/layout/generic/nsHTMLReflowState.cpp index 43710fc93c43..fa8f50005a19 100644 --- a/layout/generic/nsHTMLReflowState.cpp +++ b/layout/generic/nsHTMLReflowState.cpp @@ -42,7 +42,7 @@ #include "nsCSSAnonBoxes.h" #include "nsFrame.h" #include "nsIContent.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsPresContext.h" #include "nsIPresShell.h" #include "nsIDeviceContext.h" diff --git a/layout/generic/nsImageFrame.cpp b/layout/generic/nsImageFrame.cpp index 523cc4f99486..2c9d4ce491f7 100644 --- a/layout/generic/nsImageFrame.cpp +++ b/layout/generic/nsImageFrame.cpp @@ -48,7 +48,7 @@ #include "nsIPresShell.h" #include "nsIImage.h" #include "nsIWidget.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIDocument.h" #include "nsINodeInfo.h" #include "nsContentUtils.h" diff --git a/layout/generic/nsInlineFrame.cpp b/layout/generic/nsInlineFrame.cpp index e56cbeda675d..7af6ba559d1a 100644 --- a/layout/generic/nsInlineFrame.cpp +++ b/layout/generic/nsInlineFrame.cpp @@ -40,7 +40,7 @@ #include "nsCOMPtr.h" #include "nsInlineFrame.h" #include "nsBlockFrame.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsHTMLParts.h" #include "nsStyleContext.h" #include "nsIPresShell.h" diff --git a/layout/generic/nsInlineFrame.h b/layout/generic/nsInlineFrame.h index 71b533268554..012d0ca980f0 100644 --- a/layout/generic/nsInlineFrame.h +++ b/layout/generic/nsInlineFrame.h @@ -43,7 +43,6 @@ #include "nsHTMLContainerFrame.h" #include "nsAbsoluteContainingBlock.h" #include "nsLineLayout.h" -#include "nsLayoutAtoms.h" class nsAnonymousBlockFrame; diff --git a/layout/generic/nsLeafFrame.cpp b/layout/generic/nsLeafFrame.cpp index 56bda764c524..23fb133fb6f1 100644 --- a/layout/generic/nsLeafFrame.cpp +++ b/layout/generic/nsLeafFrame.cpp @@ -41,7 +41,6 @@ #include "nsLeafFrame.h" #include "nsHTMLContainerFrame.h" #include "nsHTMLParts.h" -#include "nsHTMLAtoms.h" #include "nsIPresShell.h" #include "nsPresContext.h" diff --git a/layout/generic/nsLineBox.cpp b/layout/generic/nsLineBox.cpp index 2df7ff8a0789..7b2aad6ffbfb 100644 --- a/layout/generic/nsLineBox.cpp +++ b/layout/generic/nsLineBox.cpp @@ -45,7 +45,7 @@ #include "nsLineLayout.h" #include "prprf.h" #include "nsBlockFrame.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsFrameManager.h" #ifdef IBMBIDI #include "nsBidiPresUtils.h" diff --git a/layout/generic/nsLineLayout.cpp b/layout/generic/nsLineLayout.cpp index 813d5838fb11..d657208f1409 100644 --- a/layout/generic/nsLineLayout.cpp +++ b/layout/generic/nsLineLayout.cpp @@ -57,7 +57,7 @@ #include "nsPresContext.h" #include "nsIFontMetrics.h" #include "nsIRenderingContext.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsPlaceholderFrame.h" #include "nsIDocument.h" #include "nsIHTMLDocument.h" diff --git a/layout/generic/nsObjectFrame.cpp b/layout/generic/nsObjectFrame.cpp index 4312a230bf08..35888ddc08e7 100644 --- a/layout/generic/nsObjectFrame.cpp +++ b/layout/generic/nsObjectFrame.cpp @@ -57,7 +57,7 @@ #include "nsString.h" #include "nsReadableUtils.h" #include "prmem.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIDocument.h" #include "nsINodeInfo.h" #include "nsIURL.h" diff --git a/layout/generic/nsPageContentFrame.cpp b/layout/generic/nsPageContentFrame.cpp index 5cd8434ff5b2..e4fa9b0938c8 100644 --- a/layout/generic/nsPageContentFrame.cpp +++ b/layout/generic/nsPageContentFrame.cpp @@ -39,7 +39,7 @@ #include "nsIContent.h" #include "nsPresContext.h" #include "nsIRenderingContext.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIPresShell.h" #include "nsIDeviceContext.h" #include "nsReadableUtils.h" diff --git a/layout/generic/nsPageContentFrame.h b/layout/generic/nsPageContentFrame.h index a9b8a74e7409..49b8ccbd01cb 100644 --- a/layout/generic/nsPageContentFrame.h +++ b/layout/generic/nsPageContentFrame.h @@ -65,7 +65,7 @@ public: /** * Get the "type" of the frame * - * @see nsLayoutAtoms::pageFrame + * @see nsGkAtoms::pageFrame */ virtual nsIAtom* GetType() const; diff --git a/layout/generic/nsPageFrame.cpp b/layout/generic/nsPageFrame.cpp index ad03abf800e6..ad032cc114ae 100644 --- a/layout/generic/nsPageFrame.cpp +++ b/layout/generic/nsPageFrame.cpp @@ -39,7 +39,7 @@ #include "nsPresContext.h" #include "nsStyleContext.h" #include "nsIRenderingContext.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIPresShell.h" #include "nsCSSFrameConstructor.h" #include "nsIDeviceContext.h" diff --git a/layout/generic/nsPageFrame.h b/layout/generic/nsPageFrame.h index 6c2327993d96..43162ef9b863 100644 --- a/layout/generic/nsPageFrame.h +++ b/layout/generic/nsPageFrame.h @@ -62,7 +62,7 @@ public: /** * Get the "type" of the frame * - * @see nsLayoutAtoms::pageFrame + * @see nsGkAtoms::pageFrame */ virtual nsIAtom* GetType() const; diff --git a/layout/generic/nsPlaceholderFrame.cpp b/layout/generic/nsPlaceholderFrame.cpp index 6f996ceb3e2b..a32390ec73cb 100644 --- a/layout/generic/nsPlaceholderFrame.cpp +++ b/layout/generic/nsPlaceholderFrame.cpp @@ -46,7 +46,7 @@ #include "nsIContent.h" #include "nsPresContext.h" #include "nsIRenderingContext.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsFrameManager.h" #include "nsDisplayList.h" diff --git a/layout/generic/nsPlaceholderFrame.h b/layout/generic/nsPlaceholderFrame.h index 9bf4ae75a9d6..9ee29b57f16c 100644 --- a/layout/generic/nsPlaceholderFrame.h +++ b/layout/generic/nsPlaceholderFrame.h @@ -75,7 +75,7 @@ #define nsPlaceholderFrame_h___ #include "nsSplittableFrame.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" nsIFrame* NS_NewPlaceholderFrame(nsIPresShell* aPresShell, nsStyleContext* aContext); diff --git a/layout/generic/nsSelection.cpp b/layout/generic/nsSelection.cpp index c3cb393102bd..a6cc92a877cb 100644 --- a/layout/generic/nsSelection.cpp +++ b/layout/generic/nsSelection.cpp @@ -74,7 +74,7 @@ // for IBMBIDI #include "nsFrameTraversal.h" #include "nsILineIterator.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIFrameTraversal.h" #include "nsLayoutUtils.h" #include "nsLayoutCID.h" diff --git a/layout/generic/nsSimplePageSequence.cpp b/layout/generic/nsSimplePageSequence.cpp index c95f922d458b..528565155e6a 100644 --- a/layout/generic/nsSimplePageSequence.cpp +++ b/layout/generic/nsSimplePageSequence.cpp @@ -39,7 +39,7 @@ #include "nsSimplePageSequence.h" #include "nsPresContext.h" #include "nsIRenderingContext.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIDeviceContext.h" #include "nsIViewManager.h" #include "nsIPresShell.h" diff --git a/layout/generic/nsSimplePageSequence.h b/layout/generic/nsSimplePageSequence.h index 55707daef417..ecd38ad94f17 100644 --- a/layout/generic/nsSimplePageSequence.h +++ b/layout/generic/nsSimplePageSequence.h @@ -123,7 +123,7 @@ public: /** * Get the "type" of the frame * - * @see nsLayoutAtoms::sequenceFrame + * @see nsGkAtoms::sequenceFrame */ virtual nsIAtom* GetType() const; diff --git a/layout/generic/nsTextFrame.cpp b/layout/generic/nsTextFrame.cpp index 6a66cf07b672..7bec09d471b3 100644 --- a/layout/generic/nsTextFrame.cpp +++ b/layout/generic/nsTextFrame.cpp @@ -83,7 +83,7 @@ #include "nsTextTransformer.h" #include "nsTextFragment.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsFrameSelection.h" #include "nsISelection.h" #include "nsIDOMRange.h" diff --git a/layout/generic/nsTextFrameThebes.cpp b/layout/generic/nsTextFrameThebes.cpp index 18e7f38a9eb5..02f97fab778c 100644 --- a/layout/generic/nsTextFrameThebes.cpp +++ b/layout/generic/nsTextFrameThebes.cpp @@ -85,8 +85,7 @@ #include "nsTextRunTransformations.h" #include "nsTextFragment.h" -#include "nsHTMLAtoms.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsFrameSelection.h" #include "nsISelection.h" #include "nsIDOMRange.h" diff --git a/layout/generic/nsTextTransformer.cpp b/layout/generic/nsTextTransformer.cpp index edc03e1ae3b5..5ed756b9014b 100644 --- a/layout/generic/nsTextTransformer.cpp +++ b/layout/generic/nsTextTransformer.cpp @@ -55,9 +55,7 @@ #include "nsUnicharUtils.h" #include "nsICaseConversion.h" #include "prenv.h" -#ifdef IBMBIDI -#include "nsLayoutAtoms.h" -#endif +#include "nsGkAtoms.h" nsICaseConversion* nsTextTransformer::gCaseConv = nsnull; PRBool nsTextTransformer::sWordSelectListenerPrefChecked = PR_FALSE; diff --git a/layout/generic/nsViewportFrame.cpp b/layout/generic/nsViewportFrame.cpp index 0f7a31e7381b..c6a393720a19 100644 --- a/layout/generic/nsViewportFrame.cpp +++ b/layout/generic/nsViewportFrame.cpp @@ -43,7 +43,7 @@ #include "nsCOMPtr.h" #include "nsViewportFrame.h" #include "nsHTMLParts.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIViewManager.h" #include "nsIScrollableFrame.h" #include "nsIDeviceContext.h" diff --git a/layout/generic/nsViewportFrame.h b/layout/generic/nsViewportFrame.h index f06211013eef..3547e0806e83 100644 --- a/layout/generic/nsViewportFrame.h +++ b/layout/generic/nsViewportFrame.h @@ -44,7 +44,7 @@ #define nsViewportFrame_h___ #include "nsContainerFrame.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsPresContext.h" #include "nsIPresShell.h" #include "nsAbsoluteContainingBlock.h" diff --git a/layout/inspector/src/inLayoutUtils.cpp b/layout/inspector/src/inLayoutUtils.cpp index aef363143cb9..487137468dab 100644 --- a/layout/inspector/src/inLayoutUtils.cpp +++ b/layout/inspector/src/inLayoutUtils.cpp @@ -51,8 +51,6 @@ #include "nsIViewManager.h" #include "nsIWidget.h" #include "nsPresContext.h" -#include "nsXULAtoms.h" -#include "nsHTMLAtoms.h" /////////////////////////////////////////////////////////////////////////////// diff --git a/layout/mathml/base/src/nsMathMLForeignFrameWrapper.cpp b/layout/mathml/base/src/nsMathMLForeignFrameWrapper.cpp index 499e97e3978d..4e50275bd841 100644 --- a/layout/mathml/base/src/nsMathMLForeignFrameWrapper.cpp +++ b/layout/mathml/base/src/nsMathMLForeignFrameWrapper.cpp @@ -46,7 +46,6 @@ #include "nsAreaFrame.h" #include "nsLineLayout.h" #include "nsPresContext.h" -#include "nsHTMLAtoms.h" #include "nsUnitConversion.h" #include "nsStyleContext.h" #include "nsStyleConsts.h" diff --git a/layout/printing/nsPrintEngine.cpp b/layout/printing/nsPrintEngine.cpp index 178f9c6e025b..d59b5ecbc1ab 100644 --- a/layout/printing/nsPrintEngine.cpp +++ b/layout/printing/nsPrintEngine.cpp @@ -56,7 +56,7 @@ #include "nsIPrintSession.h" #include "nsGfxCIID.h" #include "nsIServiceManager.h" -#include "nsLayoutAtoms.h" // XXX until atoms get factored into nsGkAtoms +#include "nsGkAtoms.h" #include "nsISimpleEnumerator.h" #include "nsXPCOM.h" #include "nsISupportsPrimitives.h" diff --git a/layout/style/nsCSSParser.cpp b/layout/style/nsCSSParser.cpp index 4f1cdd22cf9c..c6ef3ff29b61 100644 --- a/layout/style/nsCSSParser.cpp +++ b/layout/style/nsCSSParser.cpp @@ -67,7 +67,6 @@ #include "nsCOMArray.h" #include "nsColor.h" #include "nsStyleConsts.h" -#include "nsLayoutAtoms.h" #include "nsCSSPseudoClasses.h" #include "nsCSSPseudoElements.h" #include "nsCSSAnonBoxes.h" diff --git a/layout/style/nsCSSRules.cpp b/layout/style/nsCSSRules.cpp index c2816e5c73be..44aa6a0e4101 100644 --- a/layout/style/nsCSSRules.cpp +++ b/layout/style/nsCSSRules.cpp @@ -47,7 +47,6 @@ #include "nsIURL.h" #include "nsCSSRule.h" -#include "nsLayoutAtoms.h" #include "nsICSSStyleSheet.h" #include "nsCOMPtr.h" diff --git a/layout/style/nsCSSStyleRule.cpp b/layout/style/nsCSSStyleRule.cpp index 7246b2f60d60..a2e819bd73f1 100644 --- a/layout/style/nsCSSStyleRule.cpp +++ b/layout/style/nsCSSStyleRule.cpp @@ -60,7 +60,6 @@ #include "nsString.h" #include "nsStyleConsts.h" #include "nsStyleUtil.h" -#include "nsHTMLAtoms.h" #include "nsUnitConversion.h" #include "nsIFontMetrics.h" #include "nsIDOMCSSStyleSheet.h" diff --git a/layout/style/nsCSSStyleSheet.cpp b/layout/style/nsCSSStyleSheet.cpp index 09b06e51391b..3c332cd10c55 100644 --- a/layout/style/nsCSSStyleSheet.cpp +++ b/layout/style/nsCSSStyleSheet.cpp @@ -54,7 +54,7 @@ #include "nsIMediaList.h" #include "nsIDocument.h" #include "nsPresContext.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsString.h" #include "nsVoidArray.h" #include "nsIDOMStyleSheetList.h" diff --git a/layout/style/nsComputedDOMStyle.cpp b/layout/style/nsComputedDOMStyle.cpp index d8d9e8f3786a..1257e13c0bd3 100644 --- a/layout/style/nsComputedDOMStyle.cpp +++ b/layout/style/nsComputedDOMStyle.cpp @@ -56,7 +56,7 @@ #include "nsCSSProps.h" #include "nsCSSKeywords.h" #include "nsDOMCSSRect.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsHTMLReflowState.h" #include "nsThemeConstants.h" diff --git a/layout/style/nsDOMCSSAttrDeclaration.cpp b/layout/style/nsDOMCSSAttrDeclaration.cpp index 22c3c8693c8b..e73d7b8c3e40 100644 --- a/layout/style/nsDOMCSSAttrDeclaration.cpp +++ b/layout/style/nsDOMCSSAttrDeclaration.cpp @@ -40,7 +40,6 @@ #include "nsDOMCSSAttrDeclaration.h" #include "nsCSSDeclaration.h" #include "nsIDocument.h" -#include "nsHTMLAtoms.h" #include "nsIDOMMutationEvent.h" #include "nsICSSStyleRule.h" #include "nsICSSLoader.h" diff --git a/layout/style/nsInspectorCSSUtils.cpp b/layout/style/nsInspectorCSSUtils.cpp index aff0d48941f8..f1b8907a9b41 100644 --- a/layout/style/nsInspectorCSSUtils.cpp +++ b/layout/style/nsInspectorCSSUtils.cpp @@ -43,7 +43,7 @@ #include "nsIStyleRule.h" #include "nsRuleNode.h" #include "nsString.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIDocument.h" #include "nsIPresShell.h" #include "nsAutoPtr.h" diff --git a/layout/style/nsStyleContext.cpp b/layout/style/nsStyleContext.cpp index de1414694a58..c673c52ffe5b 100644 --- a/layout/style/nsStyleContext.cpp +++ b/layout/style/nsStyleContext.cpp @@ -48,7 +48,6 @@ #include "nsCOMPtr.h" #include "nsStyleSet.h" #include "nsIPresShell.h" -#include "nsLayoutAtoms.h" #include "prenv.h" #include "nsRuleNode.h" diff --git a/layout/style/nsStyleStruct.cpp b/layout/style/nsStyleStruct.cpp index 0d8d6f8463c5..5b542122651c 100644 --- a/layout/style/nsStyleStruct.cpp +++ b/layout/style/nsStyleStruct.cpp @@ -54,7 +54,6 @@ #include "nsCOMPtr.h" #include "nsIPresShell.h" #include "nsIFrame.h" -#include "nsLayoutAtoms.h" #include "nsHTMLReflowState.h" #include "prenv.h" diff --git a/layout/svg/base/src/nsSVGClipPathFrame.h b/layout/svg/base/src/nsSVGClipPathFrame.h index 38d52e5446ba..5adf67e3bc2e 100644 --- a/layout/svg/base/src/nsSVGClipPathFrame.h +++ b/layout/svg/base/src/nsSVGClipPathFrame.h @@ -68,7 +68,7 @@ class nsSVGClipPathFrame : public nsSVGClipPathFrameBase /** * Get the "type" of the frame * - * @see nsLayoutAtoms::svgClipPathFrame + * @see nsGkAtoms::svgClipPathFrame */ virtual nsIAtom* GetType() const; diff --git a/layout/svg/base/src/nsSVGForeignObjectFrame.cpp b/layout/svg/base/src/nsSVGForeignObjectFrame.cpp index 0a5b49f058dd..6f8d4b0db1c2 100644 --- a/layout/svg/base/src/nsSVGForeignObjectFrame.cpp +++ b/layout/svg/base/src/nsSVGForeignObjectFrame.cpp @@ -48,7 +48,7 @@ #include "nsSVGOuterSVGFrame.h" #include "nsISVGValueUtils.h" #include "nsRegion.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsLayoutUtils.h" #include "nsSVGUtils.h" #include "nsIURI.h" diff --git a/layout/svg/base/src/nsSVGForeignObjectFrame.h b/layout/svg/base/src/nsSVGForeignObjectFrame.h index ad2fcb819af1..bf15b9e09991 100644 --- a/layout/svg/base/src/nsSVGForeignObjectFrame.h +++ b/layout/svg/base/src/nsSVGForeignObjectFrame.h @@ -87,7 +87,7 @@ public: /** * Get the "type" of the frame * - * @see nsLayoutAtoms::svgForeignObjectFrame + * @see nsGkAtoms::svgForeignObjectFrame */ virtual nsIAtom* GetType() const; virtual PRBool IsFrameOfType(PRUint32 aFlags) const; diff --git a/layout/svg/base/src/nsSVGGFrame.cpp b/layout/svg/base/src/nsSVGGFrame.cpp index e4ab718eba99..8ed6c10d41b3 100644 --- a/layout/svg/base/src/nsSVGGFrame.cpp +++ b/layout/svg/base/src/nsSVGGFrame.cpp @@ -41,7 +41,7 @@ #include "nsIFrame.h" #include "nsSVGMatrix.h" #include "nsSVGClipPathFrame.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsSVGUtils.h" #include "nsISVGValueUtils.h" #include "nsSVGGraphicElement.h" diff --git a/layout/svg/base/src/nsSVGGFrame.h b/layout/svg/base/src/nsSVGGFrame.h index df8830060247..dcac61d03c49 100644 --- a/layout/svg/base/src/nsSVGGFrame.h +++ b/layout/svg/base/src/nsSVGGFrame.h @@ -58,7 +58,7 @@ public: /** * Get the "type" of the frame * - * @see nsLayoutAtoms::svgGFrame + * @see nsGkAtoms::svgGFrame */ virtual nsIAtom* GetType() const; diff --git a/layout/svg/base/src/nsSVGGenericContainerFrame.h b/layout/svg/base/src/nsSVGGenericContainerFrame.h index ceb5a7f34d60..c37e48bf4967 100644 --- a/layout/svg/base/src/nsSVGGenericContainerFrame.h +++ b/layout/svg/base/src/nsSVGGenericContainerFrame.h @@ -42,7 +42,7 @@ #include "nsIDOMSVGGElement.h" #include "nsPresContext.h" #include "nsSVGContainerFrame.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" typedef nsSVGDisplayContainerFrame nsSVGGenericContainerFrameBase; @@ -61,7 +61,7 @@ public: /** * Get the "type" of the frame * - * @see nsLayoutAtoms::svgGenericContainerFrame + * @see nsGkAtoms::svgGenericContainerFrame */ virtual nsIAtom* GetType() const; diff --git a/layout/svg/base/src/nsSVGGlyphFrame.h b/layout/svg/base/src/nsSVGGlyphFrame.h index 906c5bf086dc..f6440098e4d1 100644 --- a/layout/svg/base/src/nsSVGGlyphFrame.h +++ b/layout/svg/base/src/nsSVGGlyphFrame.h @@ -82,7 +82,7 @@ public: /** * Get the "type" of the frame * - * @see nsLayoutAtoms::svgGlyphFrame + * @see nsGkAtoms::svgGlyphFrame */ virtual nsIAtom* GetType() const; virtual PRBool IsFrameOfType(PRUint32 aFlags) const; diff --git a/layout/svg/base/src/nsSVGLeafFrame.cpp b/layout/svg/base/src/nsSVGLeafFrame.cpp index b7e0b5b47f7a..43458c3cb717 100644 --- a/layout/svg/base/src/nsSVGLeafFrame.cpp +++ b/layout/svg/base/src/nsSVGLeafFrame.cpp @@ -35,7 +35,6 @@ * ***** END LICENSE BLOCK ***** */ #include "nsFrame.h" -#include "nsLayoutAtoms.h" class nsSVGLeafFrame : public nsFrame { diff --git a/layout/svg/base/src/nsSVGMarkerFrame.h b/layout/svg/base/src/nsSVGMarkerFrame.h index c15938cbce2e..ba29e036501b 100644 --- a/layout/svg/base/src/nsSVGMarkerFrame.h +++ b/layout/svg/base/src/nsSVGMarkerFrame.h @@ -83,7 +83,7 @@ public: /** * Get the "type" of the frame * - * @see nsLayoutAtoms::svgMarkerFrame + * @see nsGkAtoms::svgMarkerFrame */ virtual nsIAtom* GetType() const; diff --git a/layout/svg/base/src/nsSVGMaskFrame.h b/layout/svg/base/src/nsSVGMaskFrame.h index 1dea5e45fbe1..c0ee076fbcd0 100644 --- a/layout/svg/base/src/nsSVGMaskFrame.h +++ b/layout/svg/base/src/nsSVGMaskFrame.h @@ -63,7 +63,7 @@ class nsSVGMaskFrame : public nsSVGMaskFrameBase /** * Get the "type" of the frame * - * @see nsLayoutAtoms::svgMaskFrame + * @see nsGkAtoms::svgMaskFrame */ virtual nsIAtom* GetType() const; diff --git a/layout/svg/base/src/nsSVGOuterSVGFrame.h b/layout/svg/base/src/nsSVGOuterSVGFrame.h index 175af40afdab..23a6351e1815 100644 --- a/layout/svg/base/src/nsSVGOuterSVGFrame.h +++ b/layout/svg/base/src/nsSVGOuterSVGFrame.h @@ -94,7 +94,7 @@ public: /** * Get the "type" of the frame * - * @see nsLayoutAtoms::svgOuterSVGFrame + * @see nsGkAtoms::svgOuterSVGFrame */ virtual nsIAtom* GetType() const; diff --git a/layout/svg/base/src/nsSVGPathGeometryFrame.h b/layout/svg/base/src/nsSVGPathGeometryFrame.h index ed009d8f8314..ef27efa83294 100644 --- a/layout/svg/base/src/nsSVGPathGeometryFrame.h +++ b/layout/svg/base/src/nsSVGPathGeometryFrame.h @@ -44,7 +44,7 @@ #include "nsWeakReference.h" #include "nsISVGValue.h" #include "nsISVGValueObserver.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsSVGGeometryFrame.h" class nsPresContext; @@ -80,7 +80,7 @@ public: /** * Get the "type" of the frame * - * @see nsLayoutAtoms::svgPathGeometryFrame + * @see nsGkAtoms::svgPathGeometryFrame */ virtual nsIAtom* GetType() const; virtual PRBool IsFrameOfType(PRUint32 aFlags) const; diff --git a/layout/svg/base/src/nsSVGPatternFrame.cpp b/layout/svg/base/src/nsSVGPatternFrame.cpp index e1efddc9d453..2ec5b31dc5ad 100644 --- a/layout/svg/base/src/nsSVGPatternFrame.cpp +++ b/layout/svg/base/src/nsSVGPatternFrame.cpp @@ -36,7 +36,7 @@ * * ***** END LICENSE BLOCK ***** */ -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIDOMSVGAnimatedEnum.h" #include "nsIDOMSVGAnimatedRect.h" #include "nsIDOMSVGAnimTransformList.h" diff --git a/layout/svg/base/src/nsSVGPatternFrame.h b/layout/svg/base/src/nsSVGPatternFrame.h index fa3793f1e016..2aee1fd11542 100644 --- a/layout/svg/base/src/nsSVGPatternFrame.h +++ b/layout/svg/base/src/nsSVGPatternFrame.h @@ -99,7 +99,7 @@ public: /** * Get the "type" of the frame * - * @see nsLayoutAtoms::svgPatternFrame + * @see nsGkAtoms::svgPatternFrame */ virtual nsIAtom* GetType() const; diff --git a/layout/svg/base/src/nsSVGTSpanFrame.h b/layout/svg/base/src/nsSVGTSpanFrame.h index 190eb67f909a..4b61627a0ad7 100644 --- a/layout/svg/base/src/nsSVGTSpanFrame.h +++ b/layout/svg/base/src/nsSVGTSpanFrame.h @@ -70,7 +70,7 @@ public: /** * Get the "type" of the frame * - * @see nsLayoutAtoms::svgTSpanFrame + * @see nsGkAtoms::svgTSpanFrame */ virtual nsIAtom* GetType() const; diff --git a/layout/svg/base/src/nsSVGTextFrame.cpp b/layout/svg/base/src/nsSVGTextFrame.cpp index aa4d139801c7..ac5e54628efe 100644 --- a/layout/svg/base/src/nsSVGTextFrame.cpp +++ b/layout/svg/base/src/nsSVGTextFrame.cpp @@ -49,7 +49,7 @@ #include "nsISVGTextContentMetrics.h" #include "nsSVGRect.h" #include "nsSVGMatrix.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsSVGTextPathFrame.h" #include "nsSVGPathElement.h" #include "nsSVGUtils.h" diff --git a/layout/svg/base/src/nsSVGTextFrame.h b/layout/svg/base/src/nsSVGTextFrame.h index 9353cfefb7c6..83d7f78eafe9 100755 --- a/layout/svg/base/src/nsSVGTextFrame.h +++ b/layout/svg/base/src/nsSVGTextFrame.h @@ -71,7 +71,7 @@ public: /** * Get the "type" of the frame * - * @see nsLayoutAtoms::svgTextFrame + * @see nsGkAtoms::svgTextFrame */ virtual nsIAtom* GetType() const; diff --git a/layout/svg/base/src/nsSVGTextPathFrame.h b/layout/svg/base/src/nsSVGTextPathFrame.h index 241437c27e9a..461423532ddf 100644 --- a/layout/svg/base/src/nsSVGTextPathFrame.h +++ b/layout/svg/base/src/nsSVGTextPathFrame.h @@ -66,7 +66,7 @@ public: /** * Get the "type" of the frame * - * @see nsLayoutAtoms::svgGFrame + * @see nsGkAtoms::svgGFrame */ virtual nsIAtom* GetType() const; diff --git a/layout/svg/base/src/nsSVGUtils.cpp b/layout/svg/base/src/nsSVGUtils.cpp index 1b78cdf69a34..f6bb5fb9e3ec 100644 --- a/layout/svg/base/src/nsSVGUtils.cpp +++ b/layout/svg/base/src/nsSVGUtils.cpp @@ -44,7 +44,7 @@ #include "nsIContent.h" #include "nsIDocument.h" #include "nsIFrame.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIURI.h" #include "nsStyleStruct.h" #include "nsIPresShell.h" diff --git a/layout/tables/nsCellMap.cpp b/layout/tables/nsCellMap.cpp index 7dab7710465b..9cd8b51113cb 100644 --- a/layout/tables/nsCellMap.cpp +++ b/layout/tables/nsCellMap.cpp @@ -35,7 +35,6 @@ * * ***** END LICENSE BLOCK ***** */ -#include "nsLayoutAtoms.h" #include "nsVoidArray.h" #include "nsCellMap.h" #include "nsTableFrame.h" diff --git a/layout/tables/nsCellMap.h b/layout/tables/nsCellMap.h index d554aaa50bc2..2b6485114641 100644 --- a/layout/tables/nsCellMap.h +++ b/layout/tables/nsCellMap.h @@ -42,6 +42,7 @@ #include "nsVoidArray.h" #include "nsTPtrArray.h" #include "nsRect.h" +#include "nsCOMPtr.h" #undef DEBUG_TABLE_CELLMAP diff --git a/layout/tables/nsTableCellFrame.cpp b/layout/tables/nsTableCellFrame.cpp index d85ebb4b0445..5bac3f5c2e62 100644 --- a/layout/tables/nsTableCellFrame.cpp +++ b/layout/tables/nsTableCellFrame.cpp @@ -49,7 +49,7 @@ #include "nsIContent.h" #include "nsGenericHTMLElement.h" #include "nsHTMLParts.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIView.h" #include "nsIPresShell.h" #include "nsCOMPtr.h" diff --git a/layout/tables/nsTableCellFrame.h b/layout/tables/nsTableCellFrame.h index bf807fe3fff3..ec2490db1883 100644 --- a/layout/tables/nsTableCellFrame.h +++ b/layout/tables/nsTableCellFrame.h @@ -43,7 +43,7 @@ #include "nsTableRowFrame.h" // need to actually include this here to inline GetRowIndex #include "nsStyleContext.h" #include "nsIPercentHeightObserver.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsLayoutUtils.h" class nsTableFrame; diff --git a/layout/tables/nsTableColFrame.cpp b/layout/tables/nsTableColFrame.cpp index 9d17a0fc9cef..5c2a1e30665d 100644 --- a/layout/tables/nsTableColFrame.cpp +++ b/layout/tables/nsTableColFrame.cpp @@ -41,7 +41,7 @@ #include "nsStyleContext.h" #include "nsStyleConsts.h" #include "nsPresContext.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsCSSRendering.h" #include "nsIContent.h" #include "nsIDOMHTMLTableColElement.h" diff --git a/layout/tables/nsTableColFrame.h b/layout/tables/nsTableColFrame.h index 92359566bc8f..97972d5e6e94 100644 --- a/layout/tables/nsTableColFrame.h +++ b/layout/tables/nsTableColFrame.h @@ -94,7 +94,7 @@ public: /** * Get the "type" of the frame * - * @see nsLayoutAtoms::tableColFrame + * @see nsGkAtoms::tableColFrame */ virtual nsIAtom* GetType() const; diff --git a/layout/tables/nsTableColGroupFrame.cpp b/layout/tables/nsTableColGroupFrame.cpp index fd705f7df227..3b40e075fc50 100644 --- a/layout/tables/nsTableColGroupFrame.cpp +++ b/layout/tables/nsTableColGroupFrame.cpp @@ -42,7 +42,7 @@ #include "nsStyleConsts.h" #include "nsPresContext.h" #include "nsHTMLParts.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsCOMPtr.h" #include "nsCSSRendering.h" #include "nsIPresShell.h" diff --git a/layout/tables/nsTableColGroupFrame.h b/layout/tables/nsTableColGroupFrame.h index 0e1273d8d355..51966d438a4a 100644 --- a/layout/tables/nsTableColGroupFrame.h +++ b/layout/tables/nsTableColGroupFrame.h @@ -154,7 +154,7 @@ public: /** * Get the "type" of the frame * - * @see nsLayoutAtoms::tableColGroupFrame + * @see nsGkAtoms::tableColGroupFrame */ virtual nsIAtom* GetType() const; diff --git a/layout/tables/nsTableFrame.cpp b/layout/tables/nsTableFrame.cpp index 75ceaa3a7b5d..47183bbeb07d 100644 --- a/layout/tables/nsTableFrame.cpp +++ b/layout/tables/nsTableFrame.cpp @@ -61,7 +61,7 @@ #include "nsCSSRendering.h" #include "nsStyleConsts.h" #include "nsIView.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsCSSAnonBoxes.h" #include "nsIPresShell.h" #include "nsIDOMElement.h" diff --git a/layout/tables/nsTableFrame.h b/layout/tables/nsTableFrame.h index 31d83e06a88b..c6169b34d847 100644 --- a/layout/tables/nsTableFrame.h +++ b/layout/tables/nsTableFrame.h @@ -46,6 +46,7 @@ #include "nsTableColFrame.h" #include "nsTableColGroupFrame.h" #include "nsCellMap.h" +#include "nsGkAtoms.h" class nsTableCellFrame; class nsTableColFrame; @@ -68,6 +69,11 @@ enum nsPixelRound {eAlwaysRoundUp=0, eAlwaysRoundDown, eRoundUpIfHalfOrMore}; #define NS_TABLE_FRAME_OVERFLOW_LIST_INDEX 1 #define NS_TABLE_FRAME_LAST_LIST_INDEX NS_TABLE_FRAME_OVERFLOW_LIST_INDEX +static inline PRBool IS_TABLE_CELL(nsIAtom* frameType) { + return nsGkAtoms::tableCellFrame == frameType || + nsGkAtoms::bcTableCellFrame == frameType; +} + /* ============================================================================ */ /** nsTableFrame maps the inner portion of a table (everything except captions.) @@ -78,7 +84,7 @@ enum nsPixelRound {eAlwaysRoundUp=0, eAlwaysRoundDown, eRoundUpIfHalfOrMore}; * named child list: * - "ColGroup-list" which contains the col group frames * - * @see nsLayoutAtoms::colGroupList + * @see nsGkAtoms::colGroupList */ class nsTableFrame : public nsHTMLContainerFrame, public nsITableLayout { @@ -319,7 +325,7 @@ public: /** * Get the "type" of the frame * - * @see nsLayoutAtoms::tableFrame + * @see nsGkAtoms::tableFrame */ virtual nsIAtom* GetType() const; diff --git a/layout/tables/nsTableOuterFrame.cpp b/layout/tables/nsTableOuterFrame.cpp index 25a101fcf3f1..961654632485 100644 --- a/layout/tables/nsTableOuterFrame.cpp +++ b/layout/tables/nsTableOuterFrame.cpp @@ -44,7 +44,7 @@ #include "nsCSSRendering.h" #include "nsIContent.h" #include "prinrval.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsHTMLParts.h" #include "nsIPresShell.h" #ifdef ACCESSIBILITY diff --git a/layout/tables/nsTableOuterFrame.h b/layout/tables/nsTableOuterFrame.h index cdafb1f0cb78..2aacd525349b 100644 --- a/layout/tables/nsTableOuterFrame.h +++ b/layout/tables/nsTableOuterFrame.h @@ -153,7 +153,7 @@ public: /** * Get the "type" of the frame * - * @see nsLayoutAtoms::tableOuterFrame + * @see nsGkAtoms::tableOuterFrame */ virtual nsIAtom* GetType() const; diff --git a/layout/tables/nsTableRowFrame.cpp b/layout/tables/nsTableRowFrame.cpp index 085fc2eedf14..636dc12dd0f5 100644 --- a/layout/tables/nsTableRowFrame.cpp +++ b/layout/tables/nsTableRowFrame.cpp @@ -41,7 +41,7 @@ #include "nsPresContext.h" #include "nsStyleContext.h" #include "nsStyleConsts.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIContent.h" #include "nsTableFrame.h" #include "nsTableCellFrame.h" diff --git a/layout/tables/nsTableRowFrame.h b/layout/tables/nsTableRowFrame.h index a75cacf10656..f7c9e8cced69 100644 --- a/layout/tables/nsTableRowFrame.h +++ b/layout/tables/nsTableRowFrame.h @@ -116,7 +116,7 @@ public: /** * Get the "type" of the frame * - * @see nsLayoutAtoms::tableRowFrame + * @see nsGkAtoms::tableRowFrame */ virtual nsIAtom* GetType() const; diff --git a/layout/tables/nsTableRowGroupFrame.cpp b/layout/tables/nsTableRowGroupFrame.cpp index 926dbcb4fd6f..e02d36718222 100644 --- a/layout/tables/nsTableRowGroupFrame.cpp +++ b/layout/tables/nsTableRowGroupFrame.cpp @@ -46,7 +46,7 @@ #include "nsStyleConsts.h" #include "nsIContent.h" #include "nsIView.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIPresShell.h" #include "nsCSSRendering.h" #include "nsHTMLParts.h" diff --git a/layout/tables/nsTableRowGroupFrame.h b/layout/tables/nsTableRowGroupFrame.h index 5daddaf0c4ae..9d9d3c73cf08 100644 --- a/layout/tables/nsTableRowGroupFrame.h +++ b/layout/tables/nsTableRowGroupFrame.h @@ -148,7 +148,7 @@ public: /** * Get the "type" of the frame * - * @see nsLayoutAtoms::tableRowGroupFrame + * @see nsGkAtoms::tableRowGroupFrame */ virtual nsIAtom* GetType() const; diff --git a/layout/xul/base/src/nsBox.cpp b/layout/xul/base/src/nsBox.cpp index 922a5d880b94..2841a0e0c31d 100644 --- a/layout/xul/base/src/nsBox.cpp +++ b/layout/xul/base/src/nsBox.cpp @@ -48,7 +48,7 @@ #include "nsIPresShell.h" #include "nsHTMLContainerFrame.h" #include "nsINameSpaceManager.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsFrameManager.h" #include "nsIDOMNode.h" #include "nsIDOMNamedNodeMap.h" diff --git a/layout/xul/base/src/nsBoxFrame.cpp b/layout/xul/base/src/nsBoxFrame.cpp index cf1ca702b0ab..f978947b8bef 100644 --- a/layout/xul/base/src/nsBoxFrame.cpp +++ b/layout/xul/base/src/nsBoxFrame.cpp @@ -71,7 +71,7 @@ #include "nsCOMPtr.h" #include "nsUnitConversion.h" #include "nsINameSpaceManager.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIContent.h" #include "nsSpaceManager.h" #include "nsHTMLParts.h" diff --git a/layout/xul/base/src/nsDocElementBoxFrame.cpp b/layout/xul/base/src/nsDocElementBoxFrame.cpp index 23c8fa42430f..e2c3dffad4e2 100644 --- a/layout/xul/base/src/nsDocElementBoxFrame.cpp +++ b/layout/xul/base/src/nsDocElementBoxFrame.cpp @@ -49,7 +49,7 @@ #include "nsIDOMEvent.h" #include "nsStyleConsts.h" #include "nsIViewManager.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIEventStateManager.h" #include "nsIDeviceContext.h" #include "nsIScrollableView.h" diff --git a/layout/xul/base/src/nsImageBoxFrame.cpp b/layout/xul/base/src/nsImageBoxFrame.cpp index 6c839e23d114..7e38b8eed48c 100644 --- a/layout/xul/base/src/nsImageBoxFrame.cpp +++ b/layout/xul/base/src/nsImageBoxFrame.cpp @@ -45,7 +45,7 @@ #include "nsImageBoxFrame.h" #include "nsIDeviceContext.h" #include "nsIFontMetrics.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsStyleContext.h" #include "nsStyleConsts.h" #include "nsCOMPtr.h" diff --git a/layout/xul/base/src/nsMenuBarListener.cpp b/layout/xul/base/src/nsMenuBarListener.cpp index 14ea7eb3943e..eb259bcac72f 100644 --- a/layout/xul/base/src/nsMenuBarListener.cpp +++ b/layout/xul/base/src/nsMenuBarListener.cpp @@ -55,7 +55,6 @@ #include "nsIContent.h" #include "nsIDOMNode.h" #include "nsIDOMElement.h" -#include "nsXULAtoms.h" #include "nsIEventStateManager.h" diff --git a/layout/xul/base/src/nsMenuFrame.cpp b/layout/xul/base/src/nsMenuFrame.cpp index 39a409e87aef..385c2e1723cb 100644 --- a/layout/xul/base/src/nsMenuFrame.cpp +++ b/layout/xul/base/src/nsMenuFrame.cpp @@ -39,7 +39,7 @@ * * ***** END LICENSE BLOCK ***** */ -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsHTMLParts.h" #include "nsMenuFrame.h" #include "nsBoxFrame.h" diff --git a/layout/xul/base/src/nsMenuListener.cpp b/layout/xul/base/src/nsMenuListener.cpp index b9814dc67ce9..72a02b9fe953 100644 --- a/layout/xul/base/src/nsMenuListener.cpp +++ b/layout/xul/base/src/nsMenuListener.cpp @@ -56,7 +56,6 @@ #include "nsIContent.h" #include "nsIDOMNode.h" #include "nsIDOMElement.h" -#include "nsXULAtoms.h" #include "nsIEventStateManager.h" diff --git a/layout/xul/base/src/nsPopupSetFrame.cpp b/layout/xul/base/src/nsPopupSetFrame.cpp index a365cfd9e84b..884d4c8dfa53 100644 --- a/layout/xul/base/src/nsPopupSetFrame.cpp +++ b/layout/xul/base/src/nsPopupSetFrame.cpp @@ -38,7 +38,7 @@ * * ***** END LICENSE BLOCK ***** */ -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsPopupSetFrame.h" #include "nsIMenuParent.h" #include "nsMenuFrame.h" diff --git a/layout/xul/base/src/nsRootBoxFrame.cpp b/layout/xul/base/src/nsRootBoxFrame.cpp index 4e27d5fde913..aee054f9c241 100644 --- a/layout/xul/base/src/nsRootBoxFrame.cpp +++ b/layout/xul/base/src/nsRootBoxFrame.cpp @@ -49,7 +49,7 @@ #include "nsIDOMEvent.h" #include "nsStyleConsts.h" #include "nsIViewManager.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsIEventStateManager.h" #include "nsIDeviceContext.h" #include "nsIScrollableView.h" diff --git a/layout/xul/base/src/nsScrollBoxFrame.cpp b/layout/xul/base/src/nsScrollBoxFrame.cpp index edf11a03bdcf..aed5553a0ddf 100644 --- a/layout/xul/base/src/nsScrollBoxFrame.cpp +++ b/layout/xul/base/src/nsScrollBoxFrame.cpp @@ -40,7 +40,7 @@ #include "nsCOMPtr.h" #include "nsPresContext.h" -#include "nsLayoutAtoms.h" +#include "nsGkAtoms.h" #include "nsGUIEvent.h" #include "nsButtonBoxFrame.h" #include "nsITimer.h" diff --git a/layout/xul/base/src/nsSprocketLayout.cpp b/layout/xul/base/src/nsSprocketLayout.cpp index 6dab93bd4c63..cd828ff60643 100644 --- a/layout/xul/base/src/nsSprocketLayout.cpp +++ b/layout/xul/base/src/nsSprocketLayout.cpp @@ -54,8 +54,6 @@ #include "nsIPresShell.h" #include "nsHTMLContainerFrame.h" #include "nsBoxFrame.h" -#include "nsHTMLAtoms.h" -#include "nsXULAtoms.h" #include "nsBoxFrame.h" nsIBoxLayout* nsSprocketLayout::gInstance = nsnull; diff --git a/layout/xul/base/src/nsStackFrame.cpp b/layout/xul/base/src/nsStackFrame.cpp index 44844af8e456..a0193443336e 100644 --- a/layout/xul/base/src/nsStackFrame.cpp +++ b/layout/xul/base/src/nsStackFrame.cpp @@ -48,8 +48,6 @@ #include "nsIContent.h" #include "nsCOMPtr.h" #include "nsUnitConversion.h" -#include "nsXULAtoms.h" -#include "nsHTMLAtoms.h" #include "nsHTMLParts.h" #include "nsIPresShell.h" #include "nsCSSRendering.h" diff --git a/toolkit/components/typeaheadfind/src/nsTypeAheadFind.cpp b/toolkit/components/typeaheadfind/src/nsTypeAheadFind.cpp index 859879cc5028..a4e246143d40 100755 --- a/toolkit/components/typeaheadfind/src/nsTypeAheadFind.cpp +++ b/toolkit/components/typeaheadfind/src/nsTypeAheadFind.cpp @@ -93,7 +93,6 @@ #include "nsINameSpaceManager.h" #include "nsIWindowWatcher.h" #include "nsIObserverService.h" -#include "nsLayoutAtoms.h" #include "nsTypeAheadFind.h" diff --git a/widget/src/xpwidgets/nsWidgetAtoms.h b/widget/src/xpwidgets/nsWidgetAtoms.h index 772a70da7a04..945d6fa0dee9 100644 --- a/widget/src/xpwidgets/nsWidgetAtoms.h +++ b/widget/src/xpwidgets/nsWidgetAtoms.h @@ -47,7 +47,7 @@ * is created when the first xul content object is created, and * destroyed when the last such content object is destroyed. * - * It's here because we cannot use nsHTMLAtoms or nsXULAtoms from + * It's here because we cannot use nsGkAtoms from * the Widget shlb. They are components are we're not. */ class nsWidgetAtoms { @@ -68,4 +68,4 @@ public: }; -#endif /* nsXULAtoms_h___ */ +#endif /* nsWidgetAtoms_h___ */