author | Mounir Lamouri <mounir.lamouri@gmail.com> |
Wed, 20 Jul 2011 12:18:54 -0700 | |
changeset 73113 | 9984c3939bb478ee0b0eff6d44292297c35f46f9 |
parent 73112 | 4053fa47daacec8cc298550eb5434d61efdce39e |
child 73115 | 3f00b4a0f976cf72407da3917f224af6d7186f49 |
push id | 20819 |
push user | mak77@bonardo.net |
push date | Thu, 21 Jul 2011 12:32:52 +0000 |
treeherder | mozilla-central@036c28e4e0f2 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | jst |
bugs | 669310 |
milestone | 8.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/accessible/src/base/NotificationController.cpp +++ b/accessible/src/base/NotificationController.cpp @@ -40,16 +40,17 @@ #include "nsAccessibilityService.h" #include "nsAccUtils.h" #include "nsCoreUtils.h" #include "nsDocAccessible.h" #include "nsEventShell.h" #include "nsTextAccessible.h" #include "TextUpdater.h" +#include "mozilla/dom/Element.h" //////////////////////////////////////////////////////////////////////////////// // NotificationCollector //////////////////////////////////////////////////////////////////////////////// NotificationController::NotificationController(nsDocAccessible* aDocument, nsIPresShell* aPresShell) :
--- a/accessible/src/base/nsAccessible.cpp +++ b/accessible/src/base/nsAccessible.cpp @@ -100,16 +100,17 @@ #include "nsEventStates.h" #ifdef NS_DEBUG #include "nsIDOMCharacterData.h" #endif #include "mozilla/unused.h" #include "mozilla/Preferences.h" +#include "mozilla/dom/Element.h" using namespace mozilla; //////////////////////////////////////////////////////////////////////////////// // nsAccessible. nsISupports NS_IMPL_CYCLE_COLLECTION_CLASS(nsAccessible)
--- a/accessible/src/base/nsCoreUtils.cpp +++ b/accessible/src/base/nsCoreUtils.cpp @@ -61,16 +61,17 @@ #include "nsPIDOMWindow.h" #include "nsGUIEvent.h" #include "nsIView.h" #include "nsLayoutUtils.h" #include "nsContentCID.h" #include "nsComponentManagerUtils.h" #include "nsIInterfaceRequestorUtils.h" +#include "mozilla/dom/Element.h" static NS_DEFINE_IID(kRangeCID, NS_RANGE_CID); //////////////////////////////////////////////////////////////////////////////// // nsCoreUtils //////////////////////////////////////////////////////////////////////////////// PRBool
--- a/accessible/src/html/nsHTMLLinkAccessible.cpp +++ b/accessible/src/html/nsHTMLLinkAccessible.cpp @@ -38,16 +38,17 @@ * ***** END LICENSE BLOCK ***** */ #include "nsHTMLLinkAccessible.h" #include "States.h" #include "nsCoreUtils.h" #include "nsEventStates.h" +#include "mozilla/dom/Element.h" //////////////////////////////////////////////////////////////////////////////// // nsHTMLLinkAccessible //////////////////////////////////////////////////////////////////////////////// nsHTMLLinkAccessible:: nsHTMLLinkAccessible(nsIContent *aContent, nsIWeakReference *aShell) : nsHyperTextAccessibleWrap(aContent, aShell)
--- a/accessible/src/xul/nsXULMenuAccessible.cpp +++ b/accessible/src/xul/nsXULMenuAccessible.cpp @@ -53,16 +53,17 @@ #include "nsIServiceManager.h" #include "nsIPresShell.h" #include "nsIContent.h" #include "nsGUIEvent.h" #include "nsILookAndFeel.h" #include "nsWidgetsCID.h" #include "mozilla/Preferences.h" +#include "mozilla/dom/Element.h" using namespace mozilla; static NS_DEFINE_CID(kLookAndFeelCID, NS_LOOKANDFEEL_CID); //////////////////////////////////////////////////////////////////////////////// // nsXULSelectableAccessible
--- a/content/base/public/nsContentUtils.h +++ b/content/base/public/nsContentUtils.h @@ -74,23 +74,23 @@ static fp_except_t oldmask = fpsetmask(~ #include "nsIScriptGlobalObject.h" #include "nsIDOMEvent.h" #include "nsTArray.h" #include "nsTextFragment.h" #include "nsReadableUtils.h" #include "mozilla/AutoRestore.h" #include "nsINode.h" #include "nsHashtable.h" +#include "nsIDOMNode.h" struct nsNativeKeyEvent; // Don't include nsINativeKeyBindings.h here: it will force strange compilation error! class nsIDOMScriptObjectFactory; class nsIXPConnect; class nsIContent; -class nsIDOMNode; class nsIDOMKeyEvent; class nsIDocument; class nsIDocumentObserver; class nsIDocShell; class nsINameSpaceManager; class nsIScriptSecurityManager; class nsIJSContextStack; class nsIThreadJSContextStack; @@ -117,17 +117,16 @@ class nsIScriptContext; class nsIRunnable; class nsIInterfaceRequestor; template<class E> class nsCOMArray; template<class K, class V> class nsRefPtrHashtable; struct JSRuntime; class nsIUGenCategory; class nsIWidget; class nsIDragSession; -class nsPIDOMWindow; class nsIPresShell; class nsIXPConnectJSObjectHolder; #ifdef MOZ_XTF class nsIXTFService; #endif #ifdef IBMBIDI class nsIBidiKeyboard; #endif
--- a/content/base/src/nsContentList.h +++ b/content/base/src/nsContentList.h @@ -51,17 +51,17 @@ #include "nsIDOMNodeList.h" #include "nsINodeList.h" #include "nsStubMutationObserver.h" #include "nsIAtom.h" #include "nsINameSpaceManager.h" #include "nsCycleCollectionParticipant.h" #include "nsWrapperCache.h" #include "nsCRT.h" -#include "mozilla/dom/Element.h" +#include "nsHashKeys.h" // Magic namespace id that means "match all namespaces". This is // negative so it won't collide with actual namespace constants. #define kNameSpaceID_Wildcard PR_INT32_MIN // This is a callback function type that can be used to implement an // arbitrary matching algorithm. aContent is the content that may // match the list, while aNamespaceID, aAtom, and aData are whatever @@ -69,16 +69,21 @@ typedef PRBool (*nsContentListMatchFunc)(nsIContent* aContent, PRInt32 aNamespaceID, nsIAtom* aAtom, void* aData); typedef void (*nsContentListDestroyFunc)(void* aData); class nsIDocument; +namespace mozilla { +namespace dom { +class Element; +} +} class nsBaseContentList : public nsINodeList { public: virtual ~nsBaseContentList(); NS_DECL_CYCLE_COLLECTING_ISUPPORTS
--- a/content/base/src/nsCopySupport.cpp +++ b/content/base/src/nsCopySupport.cpp @@ -74,16 +74,18 @@ #include "nsIFrame.h" // image copy stuff #include "nsIImageLoadingContent.h" #include "nsIInterfaceRequestorUtils.h" #include "nsContentUtils.h" #include "nsContentCID.h" +#include "mozilla/dom/Element.h" + nsresult NS_NewDomSelection(nsISelection **aDomSelection); static NS_DEFINE_CID(kCClipboardCID, NS_CLIPBOARD_CID); static NS_DEFINE_CID(kCTransferableCID, NS_TRANSFERABLE_CID); static NS_DEFINE_CID(kHTMLConverterCID, NS_HTMLFORMATCONVERTER_CID); // private clipboard data flavors for html copy, used by editor when pasting #define kHTMLContext "text/_moz_htmlcontext"
--- a/content/base/src/nsDocumentEncoder.cpp +++ b/content/base/src/nsDocumentEncoder.cpp @@ -77,16 +77,17 @@ #include "nsISelectionPrivate.h" #include "nsITransferable.h" // for kUnicodeMime #include "nsContentUtils.h" #include "nsUnicharUtils.h" #include "nsReadableUtils.h" #include "nsTArray.h" #include "nsIFrame.h" #include "nsStringBuffer.h" +#include "mozilla/dom/Element.h" nsresult NS_NewDomSelection(nsISelection **aDomSelection); enum nsRangeIterationDirection { kDirectionOut = -1, kDirectionIn = 1 };
--- a/content/base/src/nsFrameLoader.h +++ b/content/base/src/nsFrameLoader.h @@ -48,18 +48,18 @@ #include "nsStringFwd.h" #include "nsIFrameLoader.h" #include "nsPoint.h" #include "nsSize.h" #include "nsIURI.h" #include "nsAutoPtr.h" #include "nsFrameMessageManager.h" #include "Layers.h" +#include "nsIContent.h" -class nsIContent; class nsIURI; class nsSubDocumentFrame; class nsIView; class nsIInProcessContentFrameMessageManager; class AutoResetInShow; namespace mozilla { namespace dom {
--- a/content/base/src/nsImageLoadingContent.cpp +++ b/content/base/src/nsImageLoadingContent.cpp @@ -74,16 +74,17 @@ #include "nsContentUtils.h" #include "nsIContentPolicy.h" #include "nsContentPolicyUtils.h" #include "nsEventDispatcher.h" #include "nsDOMClassInfo.h" #include "nsSVGEffects.h" #include "mozAutoDocUpdate.h" +#include "mozilla/dom/Element.h" #ifdef DEBUG_chb static void PrintReqURL(imgIRequest* req) { if (!req) { printf("(null req)\n"); return; }
--- a/content/base/src/nsImageLoadingContent.h +++ b/content/base/src/nsImageLoadingContent.h @@ -47,16 +47,17 @@ #include "nsIImageLoadingContent.h" #include "nsINode.h" #include "imgIRequest.h" #include "prtypes.h" #include "nsCOMPtr.h" #include "nsContentUtils.h" #include "nsString.h" +#include "nsEventStates.h" class nsIURI; class nsIDocument; class imgILoader; class nsIIOService; class nsImageLoadingContent : public nsIImageLoadingContent {
--- a/content/base/src/nsNodeInfo.cpp +++ b/content/base/src/nsNodeInfo.cpp @@ -50,16 +50,18 @@ #include "nsDOMString.h" #include "nsCRT.h" #include "nsContentUtils.h" #include "nsReadableUtils.h" #include "nsAutoPtr.h" #include NEW_H #include "nsFixedSizeAllocator.h" #include "prprf.h" +#include "nsIDocument.h" +#include "nsGkAtoms.h" static const size_t kNodeInfoPoolSizes[] = { sizeof(nsNodeInfo) }; static const PRInt32 kNodeInfoPoolInitialSize = (NS_SIZE_IN_HEAP(sizeof(nsNodeInfo))) * 64;
--- a/content/base/src/nsObjectLoadingContent.cpp +++ b/content/base/src/nsObjectLoadingContent.cpp @@ -91,16 +91,17 @@ // Concrete classes #include "nsFrameLoader.h" #include "nsObjectLoadingContent.h" #include "mozAutoDocUpdate.h" #include "nsIContentSecurityPolicy.h" #include "nsIChannelPolicy.h" #include "nsChannelPolicy.h" +#include "mozilla/dom/Element.h" #ifdef PR_LOGGING static PRLogModuleInfo* gObjectLog = PR_NewLogModule("objlc"); #endif #define LOG(args) PR_LOG(gObjectLog, PR_LOG_DEBUG, args) #define LOG_ENABLED() PR_LOG_TEST(gObjectLog, PR_LOG_DEBUG)
--- a/content/base/src/nsTreeWalker.cpp +++ b/content/base/src/nsTreeWalker.cpp @@ -42,16 +42,18 @@ * Implementation of DOM Traversal's nsIDOMTreeWalker */ #include "nsTreeWalker.h" #include "nsIDOMNode.h" #include "nsIDOMNodeFilter.h" #include "nsDOMError.h" +#include "nsINode.h" +#include "nsIContent.h" #include "nsContentUtils.h" /* * Factories, constructors and destructors */ nsTreeWalker::nsTreeWalker(nsINode *aRoot,
--- a/content/smil/nsSMILMappedAttribute.cpp +++ b/content/smil/nsSMILMappedAttribute.cpp @@ -40,16 +40,17 @@ #include "nsPropertyTable.h" #include "nsContentErrors.h" // For NS_PROPTABLE_PROP_OVERWRITTEN #include "nsSMILValue.h" #include "nsSMILCSSValueType.h" #include "nsIContent.h" #include "nsIDocument.h" #include "nsIPresShell.h" #include "nsCSSProps.h" +#include "mozilla/dom/Element.h" // Callback function, for freeing string buffers stored in property table static void ReleaseStringBufferPropertyValue(void* aObject, /* unused */ nsIAtom* aPropertyName, /* unused */ void* aPropertyValue, void* aData /* unused */) {
--- a/content/xbl/src/nsXBLBinding.cpp +++ b/content/xbl/src/nsXBLBinding.cpp @@ -99,16 +99,18 @@ #include "prprf.h" #include "nsNodeUtils.h" // Nasty hack. Maybe we could move some of the classinfo utility methods // (e.g. WrapNative and ThrowJSException) over to nsContentUtils? #include "nsDOMClassInfo.h" #include "nsJSUtils.h" +#include "mozilla/dom/Element.h" + // Helper classes /***********************************************************************/ // // The JS class for XBLBinding // static void XBLFinalize(JSContext *cx, JSObject *obj)
--- a/content/xbl/src/nsXBLPrototypeBinding.cpp +++ b/content/xbl/src/nsXBLPrototypeBinding.cpp @@ -69,16 +69,17 @@ #include "nsXBLProtoImpl.h" #include "nsCRT.h" #include "nsContentUtils.h" #include "nsIScriptContext.h" #include "nsIStyleRuleProcessor.h" #include "nsXBLResourceLoader.h" +#include "mozilla/dom/Element.h" // Helper Classes ===================================================================== // nsXBLAttributeEntry and helpers. This class is used to efficiently handle // attribute changes in anonymous content. class nsXBLAttributeEntry { public:
--- a/content/xbl/src/nsXBLService.cpp +++ b/content/xbl/src/nsXBLService.cpp @@ -84,16 +84,17 @@ #include "nsIScriptSecurityManager.h" #include "nsIScriptError.h" #ifdef MOZ_XUL #include "nsXULPrototypeCache.h" #endif #include "nsIDOMEventListener.h" #include "mozilla/Preferences.h" +#include "mozilla/dom/Element.h" using namespace mozilla; #define NS_MAX_XBL_BINDING_RECURSION 20 static PRBool IsChromeOrResourceURI(nsIURI* aURI) { PRBool isChrome = PR_FALSE;
--- a/content/xbl/src/nsXBLWindowKeyHandler.cpp +++ b/content/xbl/src/nsXBLWindowKeyHandler.cpp @@ -64,16 +64,17 @@ #include "nsPIWindowRoot.h" #include "nsPIDOMWindow.h" #include "nsIDocShell.h" #include "nsIPresShell.h" #include "nsIPrivateDOMEvent.h" #include "nsISelectionController.h" #include "nsGUIEvent.h" #include "mozilla/Preferences.h" +#include "mozilla/dom/Element.h" using namespace mozilla; static nsINativeKeyBindings *sNativeEditorBindings = nsnull; class nsXBLSpecialDocInfo { public:
--- a/content/xslt/src/xpath/txMozillaXPathTreeWalker.cpp +++ b/content/xslt/src/xpath/txMozillaXPathTreeWalker.cpp @@ -49,16 +49,17 @@ #include "nsReadableUtils.h" #include "nsString.h" #include "nsTextFragment.h" #include "txXMLUtils.h" #include "txLog.h" #include "nsUnicharUtils.h" #include "nsAttrName.h" #include "nsTArray.h" +#include "mozilla/dom/Element.h" const PRUint32 kUnknownIndex = PRUint32(-1); txXPathTreeWalker::txXPathTreeWalker(const txXPathTreeWalker& aOther) : mPosition(aOther.mPosition), mCurrentIndex(aOther.mCurrentIndex) { }
--- a/content/xul/content/src/nsXULPopupListener.cpp +++ b/content/xul/content/src/nsXULPopupListener.cpp @@ -66,16 +66,17 @@ #include "nsServiceManagerUtils.h" #include "nsIPrincipal.h" #include "nsIScriptSecurityManager.h" #include "nsLayoutUtils.h" #include "nsFrameManager.h" #include "nsHTMLReflowState.h" #include "nsIObjectLoadingContent.h" #include "mozilla/Preferences.h" +#include "mozilla/dom/Element.h" // for event firing in context menus #include "nsPresContext.h" #include "nsIPresShell.h" #include "nsFocusManager.h" #include "nsPIDOMWindow.h" #include "nsIViewManager.h" #include "nsDOMError.h"
--- a/dom/base/nsDOMNavigationTiming.h +++ b/dom/base/nsDOMNavigationTiming.h @@ -41,19 +41,19 @@ #define nsDOMNavigationTiming_h___ #include "nsIDOMPerformanceTiming.h" #include "nsIDOMPerformanceNavigation.h" #include "nscore.h" #include "nsCOMPtr.h" #include "nsCOMArray.h" #include "TimeStamp.h" +#include "nsIURI.h" class nsDOMNavigationTimingClock; -class nsIURI; class nsIDocument; class nsDOMNavigationTiming { public: nsDOMNavigationTiming(); NS_INLINE_DECL_REFCOUNTING(nsDOMNavigationTiming)
--- a/dom/base/nsJSUtils.cpp +++ b/dom/base/nsJSUtils.cpp @@ -52,16 +52,17 @@ #include "nsIScriptContext.h" #include "nsIScriptObjectOwner.h" #include "nsIScriptGlobalObject.h" #include "nsIServiceManager.h" #include "nsIXPConnect.h" #include "nsCOMPtr.h" #include "nsContentUtils.h" #include "nsIScriptSecurityManager.h" +#include "nsPIDOMWindow.h" #include "nsDOMJSUtils.h" // for GetScriptContextFromJSContext JSBool nsJSUtils::GetCallingLocation(JSContext* aContext, const char* *aFilename, PRUint32* aLineno) { // Get the current filename and line number
--- a/dom/plugins/base/nsNPAPIPluginInstance.cpp +++ b/dom/plugins/base/nsNPAPIPluginInstance.cpp @@ -54,16 +54,17 @@ #include "nsIDocument.h" #include "nsIScriptGlobalObject.h" #include "nsIScriptContext.h" #include "nsDirectoryServiceDefs.h" #include "nsJSNPRuntime.h" #include "nsPluginStreamListenerPeer.h" #include "nsSize.h" #include "nsNetCID.h" +#include "nsIContent.h" using namespace mozilla; using namespace mozilla::plugins::parent; static NS_DEFINE_IID(kIOutputStreamIID, NS_IOUTPUTSTREAM_IID); static NS_DEFINE_IID(kIPluginStreamListenerIID, NS_IPLUGINSTREAMLISTENER_IID); NS_IMPL_ISUPPORTS0(nsNPAPIPluginInstance)
--- a/dom/src/notification/nsDesktopNotification.h +++ b/dom/src/notification/nsDesktopNotification.h @@ -52,16 +52,17 @@ #include "nsString.h" #include "nsWeakPtr.h" #include "nsCycleCollectionParticipant.h" #include "nsIDOMWindow.h" #include "nsThreadUtils.h" #include "nsDOMEventTargetHelper.h" #include "nsIPrivateDOMEvent.h" +#include "nsIDocument.h" class AlertServiceObserver; /* * nsDesktopNotificationCenter * Object hangs off of the navigator object and hands out nsDOMDesktopNotification objects */ class nsDesktopNotificationCenter : public nsIDOMDesktopNotificationCenter
--- a/editor/libeditor/base/nsEditor.cpp +++ b/editor/libeditor/base/nsEditor.cpp @@ -107,16 +107,17 @@ #include "nsIParserService.h" #include "nsITransferable.h" #include "nsComputedDOMStyle.h" #include "nsTextEditUtils.h" #include "mozilla/FunctionTimer.h" #include "mozilla/Preferences.h" +#include "mozilla/dom/Element.h" #define NS_ERROR_EDITOR_NO_SELECTION NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_EDITOR,1) #define NS_ERROR_EDITOR_NO_TEXTNODE NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_EDITOR,2) #ifdef NS_DEBUG_EDITOR static PRBool gNoisy = PR_FALSE; #endif
--- a/editor/libeditor/html/nsHTMLEditor.cpp +++ b/editor/libeditor/html/nsHTMLEditor.cpp @@ -94,16 +94,17 @@ // Misc #include "TextEditorTest.h" #include "nsEditorUtils.h" #include "nsWSRunObject.h" #include "nsGkAtoms.h" #include "nsIFrame.h" #include "nsIParserService.h" +#include "mozilla/dom/Element.h" // Some utilities to handle annoying overloading of "A" tag for link and named anchor static char hrefText[] = "href"; static char anchorTxt[] = "anchor"; static char namedanchorText[] = "namedanchor"; nsIRangeUtils* nsHTMLEditor::sRangeHelper;
--- a/layout/base/nsDocumentViewer.cpp +++ b/layout/base/nsDocumentViewer.cpp @@ -190,16 +190,18 @@ static const char sPrintOptionsContractI //paint forcing #include "prenv.h" #include <stdio.h> //switch to page layout #include "nsGfxCIID.h" +#include "mozilla/dom/Element.h" + using namespace mozilla; #ifdef NS_DEBUG #undef NOISY_VIEWER #else #undef NOISY_VIEWER #endif
--- a/layout/forms/nsButtonFrameRenderer.cpp +++ b/layout/forms/nsButtonFrameRenderer.cpp @@ -40,16 +40,17 @@ #include "nsGkAtoms.h" #include "nsCSSPseudoElements.h" #include "nsINameSpaceManager.h" #include "nsStyleSet.h" #include "nsDisplayList.h" #include "nsITheme.h" #include "nsThemeConstants.h" #include "nsEventStates.h" +#include "mozilla/dom/Element.h" #define ACTIVE "active" #define HOVER "hover" #define FOCUS "focus" nsButtonFrameRenderer::nsButtonFrameRenderer() { MOZ_COUNT_CTOR(nsButtonFrameRenderer);
--- a/layout/forms/nsProgressFrame.cpp +++ b/layout/forms/nsProgressFrame.cpp @@ -46,16 +46,17 @@ #include "nsIDocument.h" #include "nsIPresShell.h" #include "nsNodeInfoManager.h" #include "nsINodeInfo.h" #include "nsContentCreatorFunctions.h" #include "nsContentUtils.h" #include "nsFormControlFrame.h" #include "nsFontMetrics.h" +#include "mozilla/dom/Element.h" nsIFrame* NS_NewProgressFrame(nsIPresShell* aPresShell, nsStyleContext* aContext) { return new (aPresShell) nsProgressFrame(aContext); }
--- a/layout/generic/nsSelection.cpp +++ b/layout/generic/nsSelection.cpp @@ -108,16 +108,17 @@ static NS_DEFINE_CID(kFrameTraversalCID, #include "nsCopySupport.h" #include "nsIClipboard.h" #ifdef IBMBIDI #include "nsIBidiKeyboard.h" #endif // IBMBIDI #include "nsDOMError.h" +#include "mozilla/dom/Element.h" using namespace mozilla; //#define DEBUG_TABLE 1 static NS_DEFINE_IID(kCContentIteratorCID, NS_CONTENTITERATOR_CID); static NS_DEFINE_IID(kCSubtreeIteratorCID, NS_SUBTREEITERATOR_CID);
--- a/layout/inspector/src/inDOMUtils.cpp +++ b/layout/inspector/src/inDOMUtils.cpp @@ -54,16 +54,18 @@ #include "nsXBLBinding.h" #include "nsXBLPrototypeBinding.h" #include "nsIMutableArray.h" #include "nsBindingManager.h" #include "nsComputedDOMStyle.h" #include "nsEventStateManager.h" #include "nsIAtom.h" #include "nsIRange.h" +#include "mozilla/dom/Element.h" + /////////////////////////////////////////////////////////////////////////////// inDOMUtils::inDOMUtils() { } inDOMUtils::~inDOMUtils()
--- a/layout/xul/base/src/nsButtonBoxFrame.cpp +++ b/layout/xul/base/src/nsButtonBoxFrame.cpp @@ -47,16 +47,18 @@ #include "nsINameSpaceManager.h" #include "nsPresContext.h" #include "nsIPresShell.h" #include "nsGUIEvent.h" #include "nsEventStateManager.h" #include "nsIDOMElement.h" #include "nsDisplayList.h" #include "nsContentUtils.h" +#include "mozilla/dom/Element.h" + // // NS_NewXULButtonFrame // // Creates a new Button frame and returns it // nsIFrame* NS_NewButtonBoxFrame (nsIPresShell* aPresShell, nsStyleContext* aContext)
--- a/layout/xul/base/src/nsResizerFrame.cpp +++ b/layout/xul/base/src/nsResizerFrame.cpp @@ -55,16 +55,18 @@ #include "nsIDocShellTreeOwner.h" #include "nsIBaseWindow.h" #include "nsPIDOMWindow.h" #include "nsGUIEvent.h" #include "nsEventDispatcher.h" #include "nsContentUtils.h" #include "nsMenuPopupFrame.h" #include "nsIScreenManager.h" +#include "mozilla/dom/Element.h" + // // NS_NewResizerFrame // // Creates a new Resizer frame and returns it // nsIFrame* NS_NewResizerFrame(nsIPresShell* aPresShell, nsStyleContext* aContext)
--- a/layout/xul/base/src/nsSplitterFrame.cpp +++ b/layout/xul/base/src/nsSplitterFrame.cpp @@ -67,16 +67,17 @@ #include "nsHTMLContainerFrame.h" #include "nsGUIEvent.h" #include "nsAutoPtr.h" #include "nsContentCID.h" #include "nsStyleSet.h" #include "nsLayoutUtils.h" #include "nsDisplayList.h" #include "nsContentUtils.h" +#include "mozilla/dom/Element.h" class nsSplitterInfo { public: nscoord min; nscoord max; nscoord current; nscoord changed; nsCOMPtr<nsIContent> childElem;
--- a/layout/xul/base/src/nsXULTooltipListener.cpp +++ b/layout/xul/base/src/nsXULTooltipListener.cpp @@ -56,16 +56,18 @@ #include "nsIScriptContext.h" #include "nsPIDOMWindow.h" #ifdef MOZ_XUL #include "nsXULPopupManager.h" #endif #include "nsIRootBox.h" #include "nsEventDispatcher.h" #include "mozilla/Preferences.h" +#include "mozilla/dom/Element.h" + using namespace mozilla; nsXULTooltipListener* nsXULTooltipListener::mInstance = nsnull; ////////////////////////////////////////////////////////////////////////// //// nsISupports
--- a/layout/xul/base/src/tree/src/nsTreeStyleCache.cpp +++ b/layout/xul/base/src/tree/src/nsTreeStyleCache.cpp @@ -35,16 +35,17 @@ * 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 ***** */ #include "nsTreeStyleCache.h" #include "nsISupportsArray.h" #include "nsStyleSet.h" +#include "mozilla/dom/Element.h" // The style context cache impl nsStyleContext* nsTreeStyleCache::GetStyleContext(nsICSSPseudoComparator* aComparator, nsPresContext* aPresContext, nsIContent* aContent, nsStyleContext* aContext, nsIAtom* aPseudoElement,
--- a/toolkit/components/typeaheadfind/nsTypeAheadFind.cpp +++ b/toolkit/components/typeaheadfind/nsTypeAheadFind.cpp @@ -83,16 +83,17 @@ #include "nsContentCID.h" #include "nsLayoutCID.h" #include "nsWidgetsCID.h" #include "nsIFormControl.h" #include "nsINameSpaceManager.h" #include "nsIWindowWatcher.h" #include "nsIObserverService.h" #include "nsFocusManager.h" +#include "mozilla/dom/Element.h" #include "nsTypeAheadFind.h" NS_INTERFACE_MAP_BEGIN(nsTypeAheadFind) NS_INTERFACE_MAP_ENTRY(nsITypeAheadFind) NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsITypeAheadFind) NS_INTERFACE_MAP_ENTRY(nsISupportsWeakReference) NS_INTERFACE_MAP_ENTRY(nsIObserver)
--- a/widget/src/xpwidgets/nsNativeTheme.cpp +++ b/widget/src/xpwidgets/nsNativeTheme.cpp @@ -49,16 +49,17 @@ #include "nsIDOMHTMLInputElement.h" #include "nsIDOMXULMenuListElement.h" #include "nsILookAndFeel.h" #include "nsThemeConstants.h" #include "nsIComponentManager.h" #include "nsPIDOMWindow.h" #include "nsProgressFrame.h" #include "nsMenuFrame.h" +#include "mozilla/dom/Element.h" nsNativeTheme::nsNativeTheme() : mAnimatedContentTimeout(PR_UINT32_MAX) { } NS_IMPL_ISUPPORTS1(nsNativeTheme, nsITimerCallback)