Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128

This commit is contained in:
cvshook%sicking.cc 2007-01-30 00:06:41 +00:00
parent 512b954fb5
commit a39ff30284
193 changed files with 184 additions and 416 deletions

View File

@ -65,4 +65,4 @@ public:
#undef ACCESSIBILITY_ATOM
};
#endif /* nsLayoutAtoms_h___ */
#endif /* nsAccessibilityAtoms_h___ */

View File

@ -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"

View File

@ -52,7 +52,6 @@
#include "mozSanitizingSerializer.h"
#include "nsIServiceManager.h"
#include "nsHTMLAtoms.h"
#include "nsIDOMText.h"
#include "nsIDOMElement.h"
#include "nsTextFragment.h"

View File

@ -41,7 +41,6 @@
#include "nsIDOMComment.h"
#include "nsGenericDOMDataNode.h"
#include "nsLayoutAtoms.h"
#include "nsCOMPtr.h"
#include "nsIDocument.h"

View File

@ -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"

View File

@ -51,7 +51,7 @@
#include "nsContentUtils.h"
#include "nsLayoutAtoms.h"
#include "nsGkAtoms.h"
// Form related includes
#include "nsIDOMHTMLFormElement.h"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -94,7 +94,7 @@
#include "nsPIBoxObject.h"
#include "nsIDOMNSDocument.h"
#include "nsLayoutAtoms.h"
#include "nsGkAtoms.h"
#include "nsContentUtils.h"
#include "nsIJSContextStack.h"

View File

@ -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"

View File

@ -68,7 +68,6 @@
#include "nsIChannel.h"
#include "nsIStreamListener.h"
#include "nsLayoutAtoms.h"
#include "nsIFrame.h"
#include "nsIDOMNode.h"

View File

@ -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;

View File

@ -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"

View File

@ -45,7 +45,6 @@
#include "nsStyleLinkElement.h"
#include "nsHTMLAtoms.h"
#include "nsIContent.h"
#include "nsICSSLoader.h"
#include "nsICSSStyleSheet.h"

View File

@ -41,7 +41,6 @@
#include "nsGenericDOMDataNode.h"
#include "nsIDOMText.h"
#include "nsLayoutAtoms.h"
#include "nsContentUtils.h"
#include "nsIDOMEventListener.h"
#include "nsIDOMEventTarget.h"

View File

@ -43,7 +43,7 @@
#include "nsXMLContentSerializer.h"
#include "nsLayoutAtoms.h"
#include "nsGkAtoms.h"
#include "nsIDOMText.h"
#include "nsIDOMCDATASection.h"
#include "nsIDOMProcessingInstruction.h"

View File

@ -45,7 +45,7 @@
#include "nsCOMPtr.h"
#include "nsINameSpaceManager.h"
#include "nsContentUtils.h"
#include "nsLayoutAtoms.h"
#include "nsGkAtoms.h"
struct nsNameSpaceEntry
{

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -75,7 +75,6 @@ REQUIRES = xpcom \
$(NULL)
EXPORTS = \
nsHTMLAtoms.h \
nsImageMapUtils.h \
$(NULL)

View File

@ -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"

View File

@ -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___ */

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -69,10 +69,6 @@ REQUIRES = xpcom \
locale \
$(NULL)
EXPORTS = \
nsXBLAtoms.h \
$(NULL)
CPPSRCS = \
nsXBLBinding.cpp \
nsXBLPrototypeBinding.cpp \

View File

@ -57,7 +57,6 @@
#include "nsIXMLContentSink.h"
#include "nsContentCID.h"
#include "nsXMLDocument.h"
#include "nsHTMLAtoms.h"
#include "nsIStreamListener.h"
#include "nsGenericDOMNodeList.h"

View File

@ -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___ */

View File

@ -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"

View File

@ -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 {

View File

@ -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"

View File

@ -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

View File

@ -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);
}

View File

@ -37,7 +37,7 @@
#include "nsIDOMCDATASection.h"
#include "nsGenericDOMDataNode.h"
#include "nsLayoutAtoms.h"
#include "nsGkAtoms.h"
#include "nsIDocument.h"
#include "nsContentUtils.h"

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -72,10 +72,6 @@ REQUIRES = xpcom \
htmlparser \
$(NULL)
EXPORTS = \
nsXULAtoms.h \
$(NULL)
ifdef MOZ_XUL
CPPSRCS += \
nsXULElement.cpp \

View File

@ -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___ */

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -94,7 +94,6 @@
#include "nsINameSpaceManager.h"
#include "nsIWindowWatcher.h"
#include "nsIObserverService.h"
#include "nsLayoutAtoms.h"
#include "nsIPrivateTextEvent.h"
#include "nsIPrivateCompositionEvent.h"

View File

@ -111,7 +111,6 @@ EXPORTS = \
nsIPercentHeightObserver.h \
nsIPresShell.h \
nsIReflowCallback.h \
nsLayoutAtoms.h \
nsLayoutErrors.h \
nsLayoutUtils.h \
nsPresContext.h \

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -74,7 +74,6 @@
static const PRUint32 kMinBidiIndicatorPixels = 2;
#ifdef IBMBIDI
#include "nsLayoutAtoms.h"
#include "nsIBidiKeyboard.h"
#include "nsContentUtils.h"
#endif //IBMBIDI

View File

@ -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"

View File

@ -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

View File

@ -35,7 +35,7 @@
*
* ***** END LICENSE BLOCK ***** */
#include "nsCOMPtr.h"
#include "nsLayoutAtoms.h"
#include "nsGkAtoms.h"
#include "nsFrameTraversal.h"
#include "nsFrameList.h"

View File

@ -58,7 +58,7 @@
#include "nsIViewManager.h"
#include "nsStyleContext.h"
#include "nsLayoutAtoms.h"
#include "nsGkAtoms.h"
// Paint forcing
#include "prenv.h"

View File

@ -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___ */

View File

@ -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"

View File

@ -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);

View File

@ -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;

View File

@ -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"

View File

@ -100,7 +100,6 @@
#ifndef MOZ_CAIRO_GFX
#include "nsISelectionImageService.h"
#endif
#include "nsXULAtoms.h"
#include "nsLayoutCID.h"
#include "nsILanguageAtomService.h"
#include "nsStyleSheetService.h"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -119,7 +119,7 @@ public:
/**
* Get the "type" of the frame
*
* @see nsLayoutAtoms::scrollFrame
* @see nsGkAtoms::scrollFrame
*/
virtual nsIAtom* GetType() const;

View File

@ -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
{

View File

@ -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"

View File

@ -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

View File

@ -45,7 +45,7 @@
#include "nsFrameList.h"
#include "nsHTMLReflowState.h"
#include "nsLayoutAtoms.h"
#include "nsGkAtoms.h"
class nsIAtom;
class nsIFrame;

View File

@ -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"

View File

@ -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;

View File

@ -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"

View File

@ -39,7 +39,7 @@
#ifdef IBMBIDI
#include "nsBidiFrames.h"
#include "nsLayoutAtoms.h"
#include "nsGkAtoms.h"
nsDirectionalFrame::nsDirectionalFrame(nsStyleContext* aContext, PRUnichar aChar)

View File

@ -43,7 +43,6 @@
#include "nsHTMLReflowState.h"
#include "nsPresContext.h"
#include "nsIPresShell.h"
#include "nsLayoutAtoms.h"
nsBlockBandData::nsBlockBandData()
: mSpaceManager(nsnull),

View File

@ -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"

View File

@ -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
{

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

Some files were not shown because too many files have changed in this diff Show More