Bug 386560 enable inspector support to work with --disable-xul

r=bsmedberg sr=bz
This commit is contained in:
timeless@mozdev.org 2007-07-17 22:41:40 -07:00
parent 7fa96959ad
commit 5e374eeafd
2 changed files with 13 additions and 9 deletions

View File

@ -232,19 +232,23 @@ class nsIDocumentLoaderFactory;
static NS_DEFINE_CID(kWindowCommandTableCID, NS_WINDOWCOMMANDTABLE_CID);
#ifdef MOZ_XUL
#include "nsIBoxObject.h"
#include "nsIXULDocument.h"
#include "nsIXULPrototypeCache.h"
#include "nsIXULSortService.h"
#ifndef MOZ_NO_INSPECTOR_APIS
#ifdef MOZ_XUL
#include "inDOMView.h"
#endif /* MOZ_XUL */
#include "inDeepTreeWalker.h"
#include "inFlasher.h"
#include "inCSSValueSearch.h"
#include "inDOMUtils.h"
#endif
#endif /* MOZ_NO_INSPECTOR_APIS */
#ifdef MOZ_XUL
#include "nsIXULDocument.h"
#include "nsIXULPrototypeCache.h"
#include "nsIXULSortService.h"
NS_IMETHODIMP
NS_NewXULContentBuilder(nsISupports* aOuter, REFNSIID aIID, void** aResult);

View File

@ -87,6 +87,10 @@
#include "nsXULElement.h"
#include "nsXULPrototypeCache.h"
#include "nsXULTooltipListener.h"
#ifndef MOZ_NO_INSPECTOR_APIS
#include "inDOMView.h"
#endif
#endif
#ifdef MOZ_MATHML
@ -98,10 +102,6 @@
PRBool NS_SVGEnabled();
#endif
#ifndef MOZ_NO_INSPECTOR_APIS
#include "inDOMView.h"
#endif
#ifndef MOZILLA_PLAINTEXT_EDITOR_ONLY
#include "nsHTMLEditor.h"
#include "nsTextServicesDocument.h"