Bug 919330 - Minimize the #includes in docshell/ IDL files; r=bzbarsky

--HG--
extra : rebase_source : ddae0c7f915c086fcd98bda168ab127764d4f7fc
This commit is contained in:
Ehsan Akhgari 2013-09-22 19:25:21 -04:00
parent 5fa3a6a984
commit b5889f412e
9 changed files with 14 additions and 11 deletions

View File

@ -5,9 +5,9 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsISupports.idl"
#include "nsIPrintSettings.idl"
interface nsIDOMWindow;
interface nsIPrintSettings;
interface nsIWebProgressListener;
%{ C++

View File

@ -6,7 +6,6 @@
#include "domstubs.idl"
#include "nsIDocShellTreeItem.idl"
#include "nsIAtom.idl"
%{ C++
#include "js/TypeDecls.h"

View File

@ -15,8 +15,8 @@
interface nsIDOMNode;
%{C++
#include "nsCOMPtr.h"
#include "nsTArray.h"
template<class T> class nsCOMPtr;
template<class T> class nsTArray;
%}
interface nsIMarkupDocumentViewer;

View File

@ -3,7 +3,6 @@
* You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "domstubs.idl"
#include "nsISupports.idl"
[scriptable, uuid(832e692c-c4a6-11e2-8fd1-dce678957a39)]
interface nsIReflowObserver : nsISupports

View File

@ -5,9 +5,10 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsISupports.idl"
#include "nsIURI.idl"
interface nsIChannel;
interface nsIPrincipal;
interface nsIURI;
[scriptable, uuid(a5e61a3c-51bd-45be-ac0c-e87b71860656)]
interface nsIRefreshURI : nsISupports {

View File

@ -5,7 +5,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsISupports.idl"
#include "nsISHEntry.idl"
interface nsISHEntry;
/**
* The nsISHEntryContainer. The interface to access child entries

View File

@ -5,7 +5,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsISupports.idl"
#include "nsISHEntry.idl"
interface nsISHEntry;
/**
* The nsISHTransaction.

View File

@ -4,12 +4,13 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsISupports.idl"
#include "nsIFactory.idl"
#include "nsISHEntry.idl"
#include "nsISHTransaction.idl"
interface nsIBFCacheEntry;
interface nsISHEntry;
interface nsISHistoryListener;
interface nsISHTransaction;
interface nsIDocShell;
interface nsIURI;
%{C++
#define NS_SHISTORY_INTERNAL_CID \

View File

@ -13,6 +13,7 @@
#include "nsIWindowMediator.h"
#include "nsXPCOMCID.h"
#include "mozilla/ModuleUtils.h"
#include "nsString.h"
// just to do the reverse-lookup! sheesh.
#include "nsIInterfaceRequestorUtils.h"