Bug 1156632 - Remove unused forward class declarations - patch 1 - dom/base, r=ehsan

This commit is contained in:
Andrea Marchesini 2015-04-22 08:29:15 +02:00
parent ff445fdde1
commit df46aa0f1d
36 changed files with 0 additions and 101 deletions

View File

@ -10,8 +10,6 @@
#include "nscore.h"
class nsIContent;
class nsIDocument;
class nsINode;
class nsAString;
class nsAttrValue;
class nsTextNode;

View File

@ -37,16 +37,11 @@
#include "mozilla/dom/ElementBinding.h"
#include "Units.h"
class nsIDOMEventListener;
class nsIFrame;
class nsIDOMMozNamedAttrMap;
class nsIDOMCSSStyleDeclaration;
class nsIURI;
class nsIControllers;
class nsEventChainVisitor;
class nsIScrollableFrame;
class nsAttrValueOrString;
class ContentUnbinder;
class nsContentList;
class nsDOMSettableTokenList;
class nsDOMTokenList;

View File

@ -29,10 +29,8 @@
#include "nsWrapperCache.h"
#include "nsWeakReference.h"
class nsDOMMultipartFile;
class nsIFile;
class nsIInputStream;
class nsIClassInfo;
#define FILEIMPL_IID \
{ 0xbccb3275, 0x6778, 0x4ac5, \

View File

@ -49,7 +49,6 @@
#include "nsURIHashKey.h"
class nsIDocument;
class nsIChannel;
class nsIPrincipal;
class nsINode;
class AutoError;

View File

@ -15,10 +15,7 @@
class nsIAtom;
class nsIContent;
class nsIDocument;
class nsPIDOMWindow;
class nsXBLPrototypeBinding;
class nsTagNameMapEntry;
namespace mozilla {
namespace dom {

View File

@ -12,8 +12,6 @@
#include "mozilla/Attributes.h"
class nsIURI;
class nsIChannel;
class nsIDOMWindow;
class ThirdPartyUtil final : public mozIThirdPartyUtil
{

View File

@ -11,8 +11,6 @@
#include "nsAutoPtr.h"
#include "nsString.h"
class nsIDOMBlob;
class nsIPrincipal;
class nsISupports;
class nsIURI;

View File

@ -28,10 +28,6 @@ class nsIInputStream;
namespace mozilla {
namespace dom {
namespace workers {
class WorkerPrivate;
}
class File;
class WebSocketImpl;

View File

@ -12,15 +12,11 @@
#include "nsIDOMEventListener.h"
#include "nsITransferable.h"
class nsIDOMNode;
class nsPIDOMWindow;
class nsIDOMDragEvent;
class nsISelection;
class nsITransferable;
class nsIContent;
class nsIURI;
class nsIFile;
class nsISimpleEnumerator;
namespace mozilla {
namespace dom {

View File

@ -15,10 +15,8 @@
* (mozilla/content and mozilla/layout).
*/
class nsAString;
class nsIContent;
class imgRequestProxy;
class nsNodeInfoManager;
class nsGenericHTMLElement;
namespace mozilla {

View File

@ -31,11 +31,9 @@ class nsIDocument;
class nsIURI;
class nsIChannel;
class nsIDocShell;
class nsIParser;
class nsIAtom;
class nsIChannel;
class nsIContent;
class nsViewManager;
class nsNodeInfoManager;
class nsScriptLoader;
class nsIApplicationCache;

View File

@ -51,18 +51,14 @@ class nsIConsoleService;
class nsIContent;
class nsIContentPolicy;
class nsIContentSecurityPolicy;
class nsIDocShell;
class nsIDocument;
class nsIDocumentLoaderFactory;
class nsIDocumentObserver;
class nsIDOMDocument;
class nsIDOMDocumentFragment;
class nsIDOMEvent;
class nsIDOMHTMLFormElement;
class nsIDOMHTMLInputElement;
class nsIDOMKeyEvent;
class nsIDOMNode;
class nsIDOMScriptObjectFactory;
class nsIDOMWindow;
class nsIDragSession;
class nsIEditor;
@ -71,7 +67,6 @@ class nsIFrame;
class nsIImageLoadingContent;
class nsIInterfaceRequestor;
class nsIIOService;
class nsIJSRuntimeService;
class nsILineBreaker;
class nsIMessageBroadcaster;
class nsNameSpaceManager;
@ -83,7 +78,6 @@ class nsIPrincipal;
class nsIRequest;
class nsIRunnable;
class nsIScriptContext;
class nsIScriptGlobalObject;
class nsIScriptSecurityManager;
class nsIStringBundle;
class nsIStringBundleService;
@ -96,7 +90,6 @@ class nsIXPConnect;
class nsNodeInfoManager;
class nsPIDOMWindow;
class nsPresContext;
class nsScriptObjectTracer;
class nsStringBuffer;
class nsStringHashKey;
class nsTextFragment;

View File

@ -18,11 +18,8 @@
#undef GetClassName
#endif
class nsContentList;
class nsDocument;
struct nsGlobalNameStruct;
class nsGlobalWindow;
class nsIScriptSecurityManager;
struct nsDOMClassInfoData;

View File

@ -76,17 +76,12 @@
class nsDOMStyleSheetSetList;
class nsIOutputStream;
class nsDocument;
class nsIDTD;
class nsIRadioVisitor;
class nsIFormControl;
struct nsRadioGroupStruct;
class nsOnloadBlocker;
class nsUnblockOnloadEvent;
class nsChildContentList;
class nsHTMLStyleSheet;
class nsHTMLCSSStyleSheet;
class nsDOMNavigationTiming;
class nsWindowSizes;
class nsHtml5TreeOpExecutor;

View File

@ -50,9 +50,6 @@ class RenderFrameParent;
#if defined(MOZ_WIDGET_GTK)
typedef struct _GtkWidget GtkWidget;
#endif
#ifdef MOZ_WIDGET_QT
class QX11EmbedContainer;
#endif
class nsFrameLoader final : public nsIFrameLoader,
public nsStubMutationObserver,

View File

@ -124,8 +124,6 @@ StructuredCloneData UnpackClonedMessageDataForChild(const ClonedMessageData& aDa
} // namespace dom
} // namespace mozilla
class nsAXPCNativeCallContext;
struct nsMessageListenerInfo
{
bool operator==(const nsMessageListenerInfo& aOther) const

View File

@ -23,12 +23,7 @@
#include "mozilla/dom/ShadowRoot.h"
class nsIDocument;
class nsIDOMAttr;
class nsIDOMEventListener;
class nsIDOMNodeList;
class nsIFrame;
class nsIDOMText;
class nsURI;
#define DATA_NODE_FLAG_BIT(n_) NODE_FLAG_BIT(NODE_TYPE_SPECIFIC_BITS_OFFSET + (n_))

View File

@ -17,7 +17,6 @@
#define FONTTABLEURI_SCHEME "moz-fonttable"
#define RTSPURI_SCHEME "rtsp"
class nsIDOMBlob;
class nsIPrincipal;
namespace mozilla {

View File

@ -9,7 +9,6 @@
#include "nsINode.h"
class nsDOMAttributeMap;
class nsIContent;
#define NS_IATTRIBUTE_IID \
{ 0x233a9c4d, 0xb27f, 0x4662, \

View File

@ -14,10 +14,6 @@
{ 0x2a50e17c, 0x46ff, 0x4150, \
{ 0xbb, 0x46, 0xd8, 0x07, 0xb3, 0x36, 0xde, 0xab } }
class nsIScriptContext;
class nsIScriptGlobalObject;
class nsIDOMEventListener;
typedef nsXPCClassInfo* (*nsDOMClassInfoExternalConstructorFnc)
(const char* aName);

View File

@ -49,7 +49,6 @@ class nsIDocShell;
class nsIDocumentEncoder;
class nsIDocumentObserver;
class nsIDOMDocument;
class nsIDOMDocumentFragment;
class nsIDOMDocumentType;
class nsIDOMElement;
class nsIDOMNodeFilter;
@ -119,7 +118,6 @@ class EventTarget;
class FontFaceSet;
class FrameRequestCallback;
class ImportManager;
class OverfillCallback;
class HTMLBodyElement;
struct LifecycleCallbackArgs;
class Link;

View File

@ -9,11 +9,9 @@
#include "nsISupports.h"
#include "nsIMutationObserver.h"
class nsIAtom;
class nsIContent;
class nsIStyleSheet;
class nsIStyleRule;
class nsString;
class nsIDocument;
#define NS_IDOCUMENT_OBSERVER_IID \

View File

@ -48,7 +48,6 @@ class nsIPrincipal;
class nsIURI;
class nsNodeSupportsWeakRefTearoff;
class nsNodeWeakReference;
class nsXPCClassInfo;
class nsDOMMutationObserver;
namespace mozilla {
@ -73,7 +72,6 @@ class DOMQuad;
class DOMRectReadOnly;
class Element;
class EventHandlerNonNull;
class OnErrorEventHandlerNonNull;
template<typename T> class Optional;
class Text;
class TextOrElementOrDocument;

View File

@ -14,16 +14,6 @@
#include "js/GCAPI.h"
class nsIScriptGlobalObject;
class nsIScriptSecurityManager;
class nsIPrincipal;
class nsIAtom;
class nsIArray;
class nsIVariant;
class nsIObjectInputStream;
class nsIObjectOutputStream;
class nsIScriptObjectPrincipal;
class nsIDOMWindow;
class nsIURI;
#define NS_ISCRIPTCONTEXT_IID \
{ 0x901f0d5e, 0x217a, 0x45fa, \

View File

@ -27,8 +27,6 @@
class nsIURI;
class nsIDocument;
class imgILoader;
class nsIIOService;
class nsPresContext;
class nsIContent;
class imgRequestProxy;

View File

@ -19,9 +19,7 @@
#include "xpcpublic.h"
class nsICycleCollectorListener;
class nsIXPConnectJSObjectHolder;
class nsScriptNameSpaceManager;
class nsCycleCollectionNoteRootCallback;
namespace JS {
class AutoValueVector;
@ -173,8 +171,6 @@ private:
static bool DOMOperationCallback(JSContext *cx);
};
class nsIJSRuntimeService;
class nsIPrincipal;
class nsPIDOMWindow;
namespace mozilla {

View File

@ -19,7 +19,6 @@
class nsIAtom;
class nsHTMLStyleSheet;
class nsRuleWalker;
class nsMappedAttributes final : public nsIStyleRule
{

View File

@ -11,7 +11,6 @@
#include "mozilla/StaticPtr.h"
class nsIAtom;
class nsAString;
class nsNameSpaceKey : public PLDHashEntryHdr

View File

@ -12,8 +12,6 @@
#include "nsCOMArray.h"
struct CharacterDataChangeInfo;
class nsIVariant;
class nsIDOMNode;
template<class E> class nsCOMArray;
class nsCycleCollectionTraversalCallback;
namespace mozilla {

View File

@ -25,7 +25,6 @@ class nsIContent;
class nsIDocShell;
class nsIDocument;
class nsIIdleObserver;
class nsIPrincipal;
class nsIScriptTimeoutHandler;
class nsIURI;
class nsPerformance;

View File

@ -15,7 +15,6 @@
#include "nsAutoPtr.h"
class nsIURI;
class nsCycleCollectionCallback;
/**
* Class to track what element is referenced by a given ID.

View File

@ -79,11 +79,7 @@ struct nsGlobalNameStruct
mozilla::dom::ConstructorEnabled* mConstructorEnabled;
};
class nsIScriptContext;
class nsICategoryManager;
class GlobalNameMapEntry;
class nsScriptNameSpaceManager : public nsIObserver,
public nsSupportsWeakReference,

View File

@ -19,7 +19,6 @@
#include "nsISupportsImpl.h"
class nsString;
class nsCString;
// XXX should this normalize the code to keep a \u0000 at the end?

View File

@ -8,15 +8,9 @@
#define nsWindowRoot_h__
class nsPIDOMWindow;
class nsIDOMEventListener;
class nsIDOMEvent;
class nsIGlobalObject;
namespace mozilla {
class EventChainPostVisitor;
class EventChainPreVisitor;
} // namespace mozilla
#include "mozilla/Attributes.h"
#include "mozilla/EventListenerManager.h"
#include "nsIDOMEventTarget.h"

View File

@ -23,7 +23,6 @@ class ProcessGlobal;
class SandboxPrivate;
class nsInProcessTabChildGlobal;
class nsWindowRoot;
class XPCWrappedNativeScope;
#define NS_WRAPPERCACHE_IID \
{ 0x6f3179a1, 0x36f7, 0x4a5c, \

View File

@ -23,7 +23,6 @@
#define kEndTag NS_LITERAL_STRING("</")
class nsIAtom;
class nsIDOMNode;
class nsINode;
class nsXMLContentSerializer : public nsIContentSerializer {