Bug 919326 - Minimize the #includes in layout/ IDL files; r=roc

--HG--
extra : rebase_source : ec8cdff9466ff75463841818537ecead2cb57e62
This commit is contained in:
Ehsan Akhgari 2013-09-22 19:24:27 -04:00
parent 39c2729336
commit 5fa3a6a984
13 changed files with 22 additions and 10 deletions

View File

@ -2,7 +2,6 @@
* 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/. */
#include "nsISupports.idl"
#include "nsIDOMTreeWalker.idl"
interface nsIDOMNode;

View File

@ -24,6 +24,7 @@
#include "nsIDocument.h"
#include "nsIServiceManager.h"
#include "nsITreeColumns.h"
#include "nsITreeBoxObject.h"
#include "mozilla/dom/Element.h"
#ifdef ACCESSIBILITY

View File

@ -2,7 +2,6 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* 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/. */
#include "nsISupports.idl"
#include "nsIWebProgressListener.idl"
interface nsIDOMWindow;

View File

@ -3,7 +3,7 @@
* 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/. */
#include "nsIBoxObject.idl"
#include "nsISupports.idl"
interface nsIDOMElement;
@ -23,6 +23,8 @@ interface nsIListBoxObject : nsISupports
};
%{C++
class nsIBoxObject;
nsresult
NS_NewListBoxObject(nsIBoxObject** aResult);

View File

@ -3,7 +3,7 @@
* 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/. */
#include "nsIBoxObject.idl"
#include "nsISupports.idl"
interface nsIDOMElement;
interface nsIDOMKeyEvent;
@ -22,6 +22,8 @@ interface nsIMenuBoxObject : nsISupports
};
%{C++
class nsIBoxObject;
nsresult
NS_NewMenuBoxObject(nsIBoxObject** aResult);

View File

@ -3,7 +3,7 @@
* 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/. */
#include "nsIBoxObject.idl"
#include "nsISupports.idl"
interface nsIDOMElement;
interface nsIDOMNode;
@ -175,6 +175,8 @@ interface nsIPopupBoxObject : nsISupports
};
%{C++
class nsIBoxObject;
nsresult
NS_NewPopupBoxObject(nsIBoxObject** aResult);

View File

@ -3,7 +3,7 @@
* 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/. */
#include "nsIBoxObject.idl"
#include "nsISupports.idl"
interface nsIDOMElement;
@ -44,6 +44,8 @@ interface nsIScrollBoxObject : nsISupports
};
%{C++
class nsIBoxObject;
nsresult
NS_NewScrollBoxObject(nsIBoxObject** aResult);

View File

@ -6,6 +6,8 @@
#ifndef nsPIBoxObject_h___
#define nsPIBoxObject_h___
#include "nsIBoxObject.h"
// {2b8bb262-1b0f-4572-ba87-5d4ae4954445}
#define NS_PIBOXOBJECT_IID \
{ 0x2b8bb262, 0x1b0f, 0x4572, \

View File

@ -26,6 +26,7 @@
#include "nsXULPopupManager.h"
#endif
#include "nsIRootBox.h"
#include "nsIBoxObject.h"
#include "nsEventDispatcher.h"
#include "mozilla/Preferences.h"
#include "mozilla/LookAndFeel.h"

View File

@ -4,8 +4,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsISupports.idl"
#include "domstubs.idl"
interface nsIDOMElement;
interface nsITreeView;
interface nsITreeSelection;
interface nsITreeColumn;

View File

@ -4,7 +4,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsISupports.idl"
#include "nsIDOMElement.idl"
interface nsIDOMElement;
[scriptable, uuid(5ef62896-0c0a-41f1-bb3c-44a60f5dfdab)]
interface nsITreeContentView : nsISupports

View File

@ -3,9 +3,9 @@
* 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/. */
#include "nsITreeBoxObject.idl"
#include "domstubs.idl"
#include "nsISupports.idl"
interface nsITreeBoxObject;
interface nsITreeSelection;
interface nsITreeColumn;
interface nsIDOMDataTransfer;

View File

@ -14,6 +14,7 @@
#include "nsIAtomService.h"
#include "nsReadableUtils.h"
#include "nsUnicharUtils.h"
#include "nsITreeBoxObject.h"
#include "nsITreeColumns.h"
#include "nsIObserverService.h"
#include "nsIDOMKeyEvent.h"