Bug 912129 - Minimize the #includes in docshell/base; r=bzbarsky
This commit is contained in:
@@ -5,9 +5,6 @@
|
|||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
#include "mozilla/LoadContext.h"
|
#include "mozilla/LoadContext.h"
|
||||||
#include "nsIScriptSecurityManager.h"
|
|
||||||
#include "nsServiceManagerUtils.h"
|
|
||||||
#include "mozIApplication.h"
|
|
||||||
|
|
||||||
namespace mozilla {
|
namespace mozilla {
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
#include "SerializedLoadContext.h"
|
#include "SerializedLoadContext.h"
|
||||||
#include "mozilla/Attributes.h"
|
#include "mozilla/Attributes.h"
|
||||||
#include "nsWeakReference.h"
|
#include "nsIWeakReferenceUtils.h"
|
||||||
#include "mozilla/dom/Element.h"
|
#include "mozilla/dom/Element.h"
|
||||||
|
|
||||||
class mozIApplication;
|
class mozIApplication;
|
||||||
|
|||||||
@@ -9,7 +9,8 @@
|
|||||||
|
|
||||||
#include "base/basictypes.h"
|
#include "base/basictypes.h"
|
||||||
#include "ipc/IPCMessageUtils.h"
|
#include "ipc/IPCMessageUtils.h"
|
||||||
#include "nsILoadContext.h"
|
|
||||||
|
class nsILoadContext;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file contains the IPC::SerializedLoadContext class, which is used to
|
* This file contains the IPC::SerializedLoadContext class, which is used to
|
||||||
|
|||||||
@@ -6,8 +6,6 @@
|
|||||||
|
|
||||||
#include "nsAboutRedirector.h"
|
#include "nsAboutRedirector.h"
|
||||||
#include "nsNetUtil.h"
|
#include "nsNetUtil.h"
|
||||||
#include "plstr.h"
|
|
||||||
#include "nsIScriptSecurityManager.h"
|
|
||||||
#include "nsAboutProtocolUtils.h"
|
#include "nsAboutProtocolUtils.h"
|
||||||
|
|
||||||
NS_IMPL_ISUPPORTS1(nsAboutRedirector, nsIAboutModule)
|
NS_IMPL_ISUPPORTS1(nsAboutRedirector, nsIAboutModule)
|
||||||
|
|||||||
@@ -7,7 +7,6 @@
|
|||||||
#include "nsDSURIContentListener.h"
|
#include "nsDSURIContentListener.h"
|
||||||
#include "nsIChannel.h"
|
#include "nsIChannel.h"
|
||||||
#include "nsServiceManagerUtils.h"
|
#include "nsServiceManagerUtils.h"
|
||||||
#include "nsXPIDLString.h"
|
|
||||||
#include "nsDocShellCID.h"
|
#include "nsDocShellCID.h"
|
||||||
#include "nsIWebNavigationInfo.h"
|
#include "nsIWebNavigationInfo.h"
|
||||||
#include "nsIDocument.h"
|
#include "nsIDocument.h"
|
||||||
@@ -18,9 +17,9 @@
|
|||||||
#include "nsIScriptSecurityManager.h"
|
#include "nsIScriptSecurityManager.h"
|
||||||
#include "nsError.h"
|
#include "nsError.h"
|
||||||
#include "nsCharSeparatedTokenizer.h"
|
#include "nsCharSeparatedTokenizer.h"
|
||||||
#include "mozilla/Preferences.h"
|
|
||||||
#include "nsIConsoleService.h"
|
#include "nsIConsoleService.h"
|
||||||
#include "nsIScriptError.h"
|
#include "nsIScriptError.h"
|
||||||
|
#include "nsDocShellLoadTypes.h"
|
||||||
|
|
||||||
using namespace mozilla;
|
using namespace mozilla;
|
||||||
|
|
||||||
|
|||||||
@@ -8,13 +8,13 @@
|
|||||||
#define nsDSURIContentListener_h__
|
#define nsDSURIContentListener_h__
|
||||||
|
|
||||||
#include "nsCOMPtr.h"
|
#include "nsCOMPtr.h"
|
||||||
#include "nsString.h"
|
|
||||||
#include "nsIURIContentListener.h"
|
#include "nsIURIContentListener.h"
|
||||||
#include "nsWeakReference.h"
|
#include "nsWeakReference.h"
|
||||||
|
|
||||||
class nsDocShell;
|
class nsDocShell;
|
||||||
class nsIWebNavigationInfo;
|
class nsIWebNavigationInfo;
|
||||||
class nsIHttpChannel;
|
class nsIHttpChannel;
|
||||||
|
class nsAString;
|
||||||
|
|
||||||
class nsDSURIContentListener :
|
class nsDSURIContentListener :
|
||||||
public nsIURIContentListener,
|
public nsIURIContentListener,
|
||||||
|
|||||||
@@ -4,10 +4,7 @@
|
|||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
#include "nsString.h"
|
|
||||||
#include "nsReadableUtils.h"
|
|
||||||
#include "nsNetUtil.h"
|
#include "nsNetUtil.h"
|
||||||
#include "nsEscape.h"
|
|
||||||
#include "nsCRT.h"
|
#include "nsCRT.h"
|
||||||
|
|
||||||
#include "nsIPlatformCharset.h"
|
#include "nsIPlatformCharset.h"
|
||||||
|
|||||||
@@ -9,10 +9,6 @@
|
|||||||
|
|
||||||
#include "nsIURIFixup.h"
|
#include "nsIURIFixup.h"
|
||||||
|
|
||||||
#include "nsCOMPtr.h"
|
|
||||||
|
|
||||||
#include "nsCDefaultURIFixup.h"
|
|
||||||
|
|
||||||
/* Header file */
|
/* Header file */
|
||||||
class nsDefaultURIFixup : public nsIURIFixup
|
class nsDefaultURIFixup : public nsIURIFixup
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -27,8 +27,6 @@
|
|||||||
#define FORCE_PR_LOG 1
|
#define FORCE_PR_LOG 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "nsIBrowserDOMWindow.h"
|
|
||||||
#include "nsIComponentManager.h"
|
|
||||||
#include "nsIContent.h"
|
#include "nsIContent.h"
|
||||||
#include "nsIDocument.h"
|
#include "nsIDocument.h"
|
||||||
#include "nsIDOMDocument.h"
|
#include "nsIDOMDocument.h"
|
||||||
@@ -38,54 +36,37 @@
|
|||||||
#include "nsIContentViewer.h"
|
#include "nsIContentViewer.h"
|
||||||
#include "nsIDocumentLoaderFactory.h"
|
#include "nsIDocumentLoaderFactory.h"
|
||||||
#include "nsCURILoader.h"
|
#include "nsCURILoader.h"
|
||||||
#include "nsURILoader.h"
|
|
||||||
#include "nsDocShellCID.h"
|
#include "nsDocShellCID.h"
|
||||||
#include "nsLayoutCID.h"
|
|
||||||
#include "nsDOMCID.h"
|
#include "nsDOMCID.h"
|
||||||
#include "nsIDOMScriptObjectFactory.h"
|
|
||||||
#include "nsNetUtil.h"
|
#include "nsNetUtil.h"
|
||||||
#include "nsRect.h"
|
#include "nsRect.h"
|
||||||
#include "prprf.h"
|
|
||||||
#include "prenv.h"
|
#include "prenv.h"
|
||||||
#include "nsIMarkupDocumentViewer.h"
|
#include "nsIMarkupDocumentViewer.h"
|
||||||
#include "nsXPIDLString.h"
|
|
||||||
#include "nsReadableUtils.h"
|
|
||||||
#include "nsIDOMChromeWindow.h"
|
|
||||||
#include "nsIDOMWindow.h"
|
#include "nsIDOMWindow.h"
|
||||||
#include "nsIWebBrowserChrome.h"
|
#include "nsIWebBrowserChrome.h"
|
||||||
#include "nsPoint.h"
|
#include "nsPoint.h"
|
||||||
#include "nsGfxCIID.h"
|
|
||||||
#include "nsIObserverService.h"
|
#include "nsIObserverService.h"
|
||||||
#include "nsIPrompt.h"
|
#include "nsIPrompt.h"
|
||||||
#include "nsIAuthPrompt.h"
|
#include "nsIAuthPrompt.h"
|
||||||
#include "nsIAuthPrompt2.h"
|
#include "nsIAuthPrompt2.h"
|
||||||
#include "nsTextFormatter.h"
|
|
||||||
#include "nsIChannelEventSink.h"
|
#include "nsIChannelEventSink.h"
|
||||||
#include "nsIAsyncVerifyRedirectCallback.h"
|
#include "nsIAsyncVerifyRedirectCallback.h"
|
||||||
#include "nsIUploadChannel.h"
|
|
||||||
#include "nsISecurityEventSink.h"
|
|
||||||
#include "nsIScriptSecurityManager.h"
|
#include "nsIScriptSecurityManager.h"
|
||||||
#include "nsIScriptObjectPrincipal.h"
|
#include "nsIScriptObjectPrincipal.h"
|
||||||
#include "nsIScrollableFrame.h"
|
#include "nsIScrollableFrame.h"
|
||||||
#include "nsContentPolicyUtils.h" // NS_CheckContentLoadPolicy(...)
|
#include "nsContentPolicyUtils.h" // NS_CheckContentLoadPolicy(...)
|
||||||
#include "nsICategoryManager.h"
|
|
||||||
#include "nsXPCOMCID.h"
|
|
||||||
#include "nsISeekableStream.h"
|
#include "nsISeekableStream.h"
|
||||||
#include "nsAutoPtr.h"
|
#include "nsAutoPtr.h"
|
||||||
#include "nsIWritablePropertyBag2.h"
|
#include "nsIWritablePropertyBag2.h"
|
||||||
#include "nsIAppShell.h"
|
#include "nsIAppShell.h"
|
||||||
#include "nsWidgetsCID.h"
|
#include "nsWidgetsCID.h"
|
||||||
#include "nsDOMJSUtils.h"
|
|
||||||
#include "nsIInterfaceRequestorUtils.h"
|
#include "nsIInterfaceRequestorUtils.h"
|
||||||
#include "nsView.h"
|
#include "nsView.h"
|
||||||
#include "nsViewManager.h"
|
#include "nsViewManager.h"
|
||||||
#include "nsIScriptChannel.h"
|
#include "nsIScriptChannel.h"
|
||||||
#include "nsIOfflineCacheUpdate.h"
|
|
||||||
#include "nsITimedChannel.h"
|
#include "nsITimedChannel.h"
|
||||||
#include "nsIPrivacyTransitionObserver.h"
|
#include "nsIPrivacyTransitionObserver.h"
|
||||||
#include "nsIReflowObserver.h"
|
#include "nsIReflowObserver.h"
|
||||||
#include "nsCPrefetchService.h"
|
|
||||||
#include "nsJSON.h"
|
|
||||||
#include "nsIDocShellTreeItem.h"
|
#include "nsIDocShellTreeItem.h"
|
||||||
#include "nsIChannel.h"
|
#include "nsIChannel.h"
|
||||||
#include "IHistory.h"
|
#include "IHistory.h"
|
||||||
@@ -110,25 +91,19 @@
|
|||||||
|
|
||||||
// Interfaces Needed
|
// Interfaces Needed
|
||||||
#include "nsIUploadChannel.h"
|
#include "nsIUploadChannel.h"
|
||||||
#include "nsIProgressEventSink.h"
|
|
||||||
#include "nsIWebProgress.h"
|
#include "nsIWebProgress.h"
|
||||||
#include "nsILayoutHistoryState.h"
|
#include "nsILayoutHistoryState.h"
|
||||||
#include "nsITimer.h"
|
#include "nsITimer.h"
|
||||||
#include "nsISHistoryInternal.h"
|
#include "nsISHistoryInternal.h"
|
||||||
#include "nsIPrincipal.h"
|
#include "nsIPrincipal.h"
|
||||||
#include "nsIFileURL.h"
|
|
||||||
#include "nsISHEntry.h"
|
#include "nsISHEntry.h"
|
||||||
#include "nsISHistoryListener.h"
|
|
||||||
#include "nsIWindowWatcher.h"
|
#include "nsIWindowWatcher.h"
|
||||||
#include "nsIPromptFactory.h"
|
#include "nsIPromptFactory.h"
|
||||||
#include "nsIObserver.h"
|
#include "nsIObserver.h"
|
||||||
#include "nsINestedURI.h"
|
|
||||||
#include "nsITransportSecurityInfo.h"
|
#include "nsITransportSecurityInfo.h"
|
||||||
#include "nsINSSErrorsService.h"
|
#include "nsINSSErrorsService.h"
|
||||||
#include "nsIApplicationCache.h"
|
|
||||||
#include "nsIApplicationCacheChannel.h"
|
#include "nsIApplicationCacheChannel.h"
|
||||||
#include "nsIApplicationCacheContainer.h"
|
#include "nsIApplicationCacheContainer.h"
|
||||||
#include "nsIPermissionManager.h"
|
|
||||||
#include "nsStreamUtils.h"
|
#include "nsStreamUtils.h"
|
||||||
#include "nsIController.h"
|
#include "nsIController.h"
|
||||||
#include "nsPICommandUpdater.h"
|
#include "nsPICommandUpdater.h"
|
||||||
@@ -149,10 +124,7 @@
|
|||||||
#include "nsPIDOMWindow.h"
|
#include "nsPIDOMWindow.h"
|
||||||
#include "nsGlobalWindow.h"
|
#include "nsGlobalWindow.h"
|
||||||
#include "nsPIWindowRoot.h"
|
#include "nsPIWindowRoot.h"
|
||||||
#include "nsIDOMDocument.h"
|
|
||||||
#include "nsICachingChannel.h"
|
#include "nsICachingChannel.h"
|
||||||
#include "nsICacheVisitor.h"
|
|
||||||
#include "nsICacheEntryDescriptor.h"
|
|
||||||
#include "nsIMultiPartChannel.h"
|
#include "nsIMultiPartChannel.h"
|
||||||
#include "nsIWyciwygChannel.h"
|
#include "nsIWyciwygChannel.h"
|
||||||
|
|
||||||
@@ -194,18 +166,26 @@
|
|||||||
#include "nsIChannelPolicy.h"
|
#include "nsIChannelPolicy.h"
|
||||||
#include "nsIContentSecurityPolicy.h"
|
#include "nsIContentSecurityPolicy.h"
|
||||||
#include "nsSandboxFlags.h"
|
#include "nsSandboxFlags.h"
|
||||||
|
|
||||||
#include "nsXULAppAPI.h"
|
#include "nsXULAppAPI.h"
|
||||||
|
|
||||||
#include "nsDOMNavigationTiming.h"
|
#include "nsDOMNavigationTiming.h"
|
||||||
#include "nsITimedChannel.h"
|
|
||||||
|
|
||||||
#include "nsISecurityUITelemetry.h"
|
#include "nsISecurityUITelemetry.h"
|
||||||
|
|
||||||
#include "nsIAppShellService.h"
|
|
||||||
#include "nsAppShellCID.h"
|
|
||||||
|
|
||||||
#include "nsIAppsService.h"
|
#include "nsIAppsService.h"
|
||||||
|
#include "nsDSURIContentListener.h"
|
||||||
|
#include "nsDocShellLoadTypes.h"
|
||||||
|
#include "nsDocShellTransferableHooks.h"
|
||||||
|
#include "nsICommandManager.h"
|
||||||
|
#include "nsIDOMNode.h"
|
||||||
|
#include "nsIDocShellTreeOwner.h"
|
||||||
|
#include "nsIHttpChannel.h"
|
||||||
|
#include "nsISHContainer.h"
|
||||||
|
#include "nsISHistory.h"
|
||||||
|
#include "nsISecureBrowserUI.h"
|
||||||
|
#include "nsIStringBundle.h"
|
||||||
|
#include "nsISupportsArray.h"
|
||||||
|
#include "nsIURIFixup.h"
|
||||||
|
#include "nsIURILoader.h"
|
||||||
|
#include "nsIWebBrowserFind.h"
|
||||||
|
#include "nsIWidget.h"
|
||||||
|
|
||||||
static NS_DEFINE_CID(kDOMScriptObjectFactoryCID,
|
static NS_DEFINE_CID(kDOMScriptObjectFactoryCID,
|
||||||
NS_DOM_SCRIPT_OBJECT_FACTORY_CID);
|
NS_DOM_SCRIPT_OBJECT_FACTORY_CID);
|
||||||
|
|||||||
@@ -8,31 +8,16 @@
|
|||||||
#ifndef nsDocShell_h__
|
#ifndef nsDocShell_h__
|
||||||
#define nsDocShell_h__
|
#define nsDocShell_h__
|
||||||
|
|
||||||
#include "nsIDOMNode.h"
|
|
||||||
#include "nsIDOMNodeList.h"
|
|
||||||
#include "nsIContentViewer.h"
|
|
||||||
#include "nsInterfaceHashtable.h"
|
|
||||||
#include "nsIScriptContext.h"
|
|
||||||
#include "nsITimer.h"
|
#include "nsITimer.h"
|
||||||
|
|
||||||
#include "nsIDocShell.h"
|
#include "nsIDocShell.h"
|
||||||
#include "nsIDocShellTreeItem.h"
|
#include "nsIDocShellTreeItem.h"
|
||||||
#include "nsIDocShellTreeNode.h"
|
#include "nsIDocShellTreeNode.h"
|
||||||
#include "nsIBaseWindow.h"
|
#include "nsIBaseWindow.h"
|
||||||
#include "nsIScrollable.h"
|
#include "nsIScrollable.h"
|
||||||
#include "nsITextScroll.h"
|
#include "nsITextScroll.h"
|
||||||
#include "nsIDocShellTreeOwner.h"
|
|
||||||
#include "nsIContentViewerContainer.h"
|
#include "nsIContentViewerContainer.h"
|
||||||
#include "nsIDOMStorageManager.h"
|
#include "nsIDOMStorageManager.h"
|
||||||
|
|
||||||
#include "nsDocLoader.h"
|
#include "nsDocLoader.h"
|
||||||
#include "nsIURILoader.h"
|
|
||||||
|
|
||||||
#include "nsWeakReference.h"
|
|
||||||
|
|
||||||
// Local Includes
|
|
||||||
#include "nsDSURIContentListener.h"
|
|
||||||
#include "nsDocShellEditorData.h"
|
|
||||||
|
|
||||||
// Helper Classes
|
// Helper Classes
|
||||||
#include "nsCOMPtr.h"
|
#include "nsCOMPtr.h"
|
||||||
@@ -46,37 +31,22 @@
|
|||||||
|
|
||||||
// Interfaces Needed
|
// Interfaces Needed
|
||||||
#include "nsIDocCharset.h"
|
#include "nsIDocCharset.h"
|
||||||
#include "nsIGlobalHistory2.h"
|
|
||||||
#include "nsIInterfaceRequestor.h"
|
#include "nsIInterfaceRequestor.h"
|
||||||
#include "nsIInterfaceRequestorUtils.h"
|
|
||||||
#include "nsIPrompt.h"
|
|
||||||
#include "nsIRefreshURI.h"
|
#include "nsIRefreshURI.h"
|
||||||
#include "nsIScriptGlobalObjectOwner.h"
|
#include "nsIScriptGlobalObjectOwner.h"
|
||||||
#include "nsISHistory.h"
|
|
||||||
#include "nsILayoutHistoryState.h"
|
|
||||||
#include "nsIStringBundle.h"
|
|
||||||
#include "nsISupportsArray.h"
|
|
||||||
#include "nsIWebNavigation.h"
|
#include "nsIWebNavigation.h"
|
||||||
#include "nsIWebPageDescriptor.h"
|
#include "nsIWebPageDescriptor.h"
|
||||||
#include "nsIWebProgressListener.h"
|
#include "nsIWebProgressListener.h"
|
||||||
#include "nsISHContainer.h"
|
|
||||||
#include "nsIDocShellLoadInfo.h"
|
#include "nsIDocShellLoadInfo.h"
|
||||||
#include "nsIURIFixup.h"
|
|
||||||
#include "nsIWebBrowserFind.h"
|
|
||||||
#include "nsIHttpChannel.h"
|
|
||||||
#include "nsDocShellTransferableHooks.h"
|
|
||||||
#include "nsIAuthPromptProvider.h"
|
#include "nsIAuthPromptProvider.h"
|
||||||
#include "nsISecureBrowserUI.h"
|
|
||||||
#include "nsIObserver.h"
|
#include "nsIObserver.h"
|
||||||
#include "nsDocShellLoadTypes.h"
|
|
||||||
#include "nsILoadContext.h"
|
#include "nsILoadContext.h"
|
||||||
#include "nsIWidget.h"
|
|
||||||
#include "nsIWebShellServices.h"
|
#include "nsIWebShellServices.h"
|
||||||
#include "nsILinkHandler.h"
|
#include "nsILinkHandler.h"
|
||||||
#include "nsIClipboardCommands.h"
|
#include "nsIClipboardCommands.h"
|
||||||
#include "nsICommandManager.h"
|
|
||||||
#include "nsCRT.h"
|
#include "nsCRT.h"
|
||||||
#include "prtime.h"
|
#include "prtime.h"
|
||||||
|
#include "nsRect.h"
|
||||||
|
|
||||||
namespace mozilla {
|
namespace mozilla {
|
||||||
namespace dom {
|
namespace dom {
|
||||||
@@ -90,6 +60,25 @@ class nsGlobalWindow;
|
|||||||
class nsIController;
|
class nsIController;
|
||||||
class nsIScrollableFrame;
|
class nsIScrollableFrame;
|
||||||
class OnLinkClickEvent;
|
class OnLinkClickEvent;
|
||||||
|
class nsDSURIContentListener;
|
||||||
|
class nsDocShellEditorData;
|
||||||
|
class nsIClipboardDragDropHookList;
|
||||||
|
class nsICommandManager;
|
||||||
|
class nsIContentViewer;
|
||||||
|
class nsIDocument;
|
||||||
|
class nsIDOMNode;
|
||||||
|
class nsIDocShellTreeOwner;
|
||||||
|
class nsIGlobalHistory2;
|
||||||
|
class nsIHttpChannel;
|
||||||
|
class nsIPrompt;
|
||||||
|
class nsISHistory;
|
||||||
|
class nsISecureBrowserUI;
|
||||||
|
class nsIStringBundle;
|
||||||
|
class nsISupportsArray;
|
||||||
|
class nsIURIFixup;
|
||||||
|
class nsIURILoader;
|
||||||
|
class nsIWebBrowserFind;
|
||||||
|
class nsIWidget;
|
||||||
|
|
||||||
/* load commands were moved to nsIDocShell.h */
|
/* load commands were moved to nsIDocShell.h */
|
||||||
/* load types were moved to nsDocShellLoadTypes.h */
|
/* load types were moved to nsDocShellLoadTypes.h */
|
||||||
|
|||||||
@@ -5,12 +5,14 @@
|
|||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
|
|
||||||
#include "nsIComponentManager.h"
|
|
||||||
#include "nsIInterfaceRequestorUtils.h"
|
|
||||||
#include "nsIDOMWindow.h"
|
|
||||||
#include "nsIDocShellTreeItem.h"
|
|
||||||
#include "nsIDOMDocument.h"
|
|
||||||
#include "nsDocShellEditorData.h"
|
#include "nsDocShellEditorData.h"
|
||||||
|
#include "nsIInterfaceRequestorUtils.h"
|
||||||
|
#include "nsComponentManagerUtils.h"
|
||||||
|
#include "nsIDOMWindow.h"
|
||||||
|
#include "nsIDOMDocument.h"
|
||||||
|
#include "nsIEditor.h"
|
||||||
|
#include "nsIEditingSession.h"
|
||||||
|
#include "nsIDocShell.h"
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------
|
/*---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
@@ -10,19 +10,11 @@
|
|||||||
#include "nsCOMPtr.h"
|
#include "nsCOMPtr.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef __gen_nsIDocShell_h__
|
|
||||||
#include "nsIDocShell.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef __gen_nsIEditingSession_h__
|
|
||||||
#include "nsIEditingSession.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
#include "nsIHTMLDocument.h"
|
#include "nsIHTMLDocument.h"
|
||||||
#include "nsIEditor.h"
|
|
||||||
|
|
||||||
class nsIDOMWindow;
|
class nsIDocShell;
|
||||||
|
class nsIEditingSession;
|
||||||
|
class nsIEditor;
|
||||||
|
|
||||||
class nsDocShellEditorData
|
class nsDocShellEditorData
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
#include "nsISimpleEnumerator.h"
|
#include "nsISimpleEnumerator.h"
|
||||||
#include "nsCOMPtr.h"
|
|
||||||
#include "nsTArray.h"
|
#include "nsTArray.h"
|
||||||
#include "nsIWeakReferenceUtils.h"
|
#include "nsIWeakReferenceUtils.h"
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,9 @@
|
|||||||
|
|
||||||
// Local Includes
|
// Local Includes
|
||||||
#include "nsDocShellLoadInfo.h"
|
#include "nsDocShellLoadInfo.h"
|
||||||
#include "nsReadableUtils.h"
|
#include "nsISHEntry.h"
|
||||||
|
#include "nsIInputStream.h"
|
||||||
|
#include "nsIURI.h"
|
||||||
|
|
||||||
//*****************************************************************************
|
//*****************************************************************************
|
||||||
//*** nsDocShellLoadInfo: Object Management
|
//*** nsDocShellLoadInfo: Object Management
|
||||||
|
|||||||
@@ -14,9 +14,10 @@
|
|||||||
|
|
||||||
// Interfaces Needed
|
// Interfaces Needed
|
||||||
#include "nsIDocShellLoadInfo.h"
|
#include "nsIDocShellLoadInfo.h"
|
||||||
#include "nsIURI.h"
|
|
||||||
#include "nsIInputStream.h"
|
class nsIInputStream;
|
||||||
#include "nsISHEntry.h"
|
class nsISHEntry;
|
||||||
|
class nsIURI;
|
||||||
|
|
||||||
class nsDocShellLoadInfo : public nsIDocShellLoadInfo
|
class nsDocShellLoadInfo : public nsIDocShellLoadInfo
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -2,12 +2,9 @@
|
|||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
#include "nsCOMPtr.h"
|
|
||||||
#include "nsCOMArray.h"
|
|
||||||
#include "nsDocShellTransferableHooks.h"
|
#include "nsDocShellTransferableHooks.h"
|
||||||
#include "nsIClipboardDragDropHooks.h"
|
#include "nsIClipboardDragDropHooks.h"
|
||||||
#include "nsIClipboardDragDropHookList.h"
|
#include "nsIClipboardDragDropHookList.h"
|
||||||
#include "nsISimpleEnumerator.h"
|
|
||||||
#include "nsArrayEnumerator.h"
|
#include "nsArrayEnumerator.h"
|
||||||
|
|
||||||
nsTransferableHookData::nsTransferableHookData()
|
nsTransferableHookData::nsTransferableHookData()
|
||||||
|
|||||||
@@ -5,14 +5,10 @@
|
|||||||
#ifndef nsDocShellTransferableHooks_h__
|
#ifndef nsDocShellTransferableHooks_h__
|
||||||
#define nsDocShellTransferableHooks_h__
|
#define nsDocShellTransferableHooks_h__
|
||||||
|
|
||||||
#ifndef nsCOMPtr_h___
|
|
||||||
#include "nsCOMPtr.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "nsIClipboardDragDropHooks.h"
|
|
||||||
#include "nsIClipboardDragDropHookList.h"
|
#include "nsIClipboardDragDropHookList.h"
|
||||||
#include "nsCOMArray.h"
|
#include "nsCOMArray.h"
|
||||||
|
|
||||||
|
class nsIClipboardDragDropHooks;
|
||||||
|
|
||||||
class nsTransferableHookData : public nsIClipboardDragDropHookList
|
class nsTransferableHookData : public nsIClipboardDragDropHookList
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -10,9 +10,6 @@
|
|||||||
#include "nsIGlobalHistory2.h"
|
#include "nsIGlobalHistory2.h"
|
||||||
#include "nsIObserverService.h"
|
#include "nsIObserverService.h"
|
||||||
#include "nsIURI.h"
|
#include "nsIURI.h"
|
||||||
#include "nsIComponentRegistrar.h"
|
|
||||||
#include "nsDocShellCID.h"
|
|
||||||
#include "nsNetCID.h"
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
//// nsDownloadHistory
|
//// nsDownloadHistory
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
#include "nsWebNavigationInfo.h"
|
#include "nsWebNavigationInfo.h"
|
||||||
#include "nsIWebNavigation.h"
|
#include "nsIWebNavigation.h"
|
||||||
#include "nsString.h"
|
|
||||||
#include "nsServiceManagerUtils.h"
|
#include "nsServiceManagerUtils.h"
|
||||||
#include "nsIDocumentLoaderFactory.h"
|
#include "nsIDocumentLoaderFactory.h"
|
||||||
#include "nsIPluginHost.h"
|
#include "nsIPluginHost.h"
|
||||||
|
|||||||
@@ -9,9 +9,10 @@
|
|||||||
#include "nsIWebNavigationInfo.h"
|
#include "nsIWebNavigationInfo.h"
|
||||||
#include "nsCOMPtr.h"
|
#include "nsCOMPtr.h"
|
||||||
#include "nsICategoryManager.h"
|
#include "nsICategoryManager.h"
|
||||||
#include "nsStringFwd.h"
|
|
||||||
#include "mozilla/Attributes.h"
|
#include "mozilla/Attributes.h"
|
||||||
|
|
||||||
|
class nsCString;
|
||||||
|
|
||||||
// Class ID for webnavigationinfo
|
// Class ID for webnavigationinfo
|
||||||
#define NS_WEBNAVIGATION_INFO_CID \
|
#define NS_WEBNAVIGATION_INFO_CID \
|
||||||
{ 0xf30bc0a2, 0x958b, 0x4287,{0xbf, 0x62, 0xce, 0x38, 0xba, 0x0c, 0x81, 0x1e}}
|
{ 0xf30bc0a2, 0x958b, 0x4287,{0xbf, 0x62, 0xce, 0x38, 0xba, 0x0c, 0x81, 0x1e}}
|
||||||
|
|||||||
@@ -10,8 +10,8 @@
|
|||||||
#include "nsDocShell.h"
|
#include "nsDocShell.h"
|
||||||
#include "nsDefaultURIFixup.h"
|
#include "nsDefaultURIFixup.h"
|
||||||
#include "nsWebNavigationInfo.h"
|
#include "nsWebNavigationInfo.h"
|
||||||
|
|
||||||
#include "nsAboutRedirector.h"
|
#include "nsAboutRedirector.h"
|
||||||
|
#include "nsCDefaultURIFixup.h"
|
||||||
|
|
||||||
// uriloader
|
// uriloader
|
||||||
#include "nsURILoader.h"
|
#include "nsURILoader.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user