Bug 1156632 - Remove unused forward class declarations - patch 3 - dom/{events,xbl,xslt,xul} and others, r=ehsan

This commit is contained in:
Andrea Marchesini 2015-04-22 08:29:18 +02:00
parent e666f02521
commit 789ad8312d
77 changed files with 0 additions and 130 deletions

View File

@ -9,8 +9,6 @@
#include "../TestJSImplGenBinding.h"
class nsPIDOMWindow;
namespace mozilla {
namespace dom {

View File

@ -15,8 +15,6 @@ BEGIN_BLUETOOTH_NAMESPACE
using namespace mozilla::ipc;
class BlutoothDaemonInterface;
class BluetoothDaemonSocketModule
{
public:

View File

@ -17,7 +17,6 @@
BEGIN_BLUETOOTH_NAMESPACE
class BluetoothReplyRunnable;
class BluetoothSocket;
class Call;

View File

@ -18,7 +18,6 @@ BEGIN_BLUETOOTH_NAMESPACE
class BluetoothNamedValue;
class BluetoothValue;
class BluetoothSignal;
class BluetoothSocket;
class BluetoothDevice : public DOMEventTargetHelper
, public BluetoothSignalObserver

View File

@ -10,7 +10,6 @@
#include "BluetoothCommon.h"
#include "BluetoothReplyRunnable.h"
class nsIDOMDOMRequest;
class nsPIDOMWindow;
namespace mozilla {

View File

@ -27,7 +27,6 @@ class BlobParent;
BEGIN_BLUETOOTH_NAMESPACE
class BluetoothManager;
class BluetoothNamedValue;
class BluetoothReplyRunnable;
class BluetoothSignal;

View File

@ -27,7 +27,6 @@ class BluetoothGatt;
class BluetoothNamedValue;
class BluetoothValue;
class BluetoothSignal;
class BluetoothSocket;
class BluetoothDevice final : public DOMEventTargetHelper
, public BluetoothSignalObserver

View File

@ -16,7 +16,6 @@
BEGIN_BLUETOOTH_NAMESPACE
class BluetoothDevice;
class BluetoothValue;
class BluetoothDiscoveryHandle final : public DOMEventTargetHelper
{

View File

@ -22,8 +22,6 @@ class Promise;
BEGIN_BLUETOOTH_NAMESPACE
class BluetoothReplyRunnable;
class BluetoothService;
class BluetoothSignal;
class BluetoothValue;

View File

@ -20,7 +20,6 @@ BEGIN_BLUETOOTH_NAMESPACE
class BluetoothGattCharacteristic;
class BluetoothSignal;
class BluetoothValue;
class BluetoothGattDescriptor final : public nsISupports
, public nsWrapperCache

View File

@ -19,8 +19,6 @@ class Promise;
BEGIN_BLUETOOTH_NAMESPACE
class BluetoothDevice;
class BluetoothPairingHandle final : public nsISupports
, public nsWrapperCache
{

View File

@ -13,7 +13,6 @@
BEGIN_BLUETOOTH_NAMESPACE
class BluetoothDevice;
class BluetoothSignal;
class BluetoothPairingListener final : public DOMEventTargetHelper

View File

@ -9,8 +9,6 @@
#include "nsCOMPtr.h"
#include "nsCycleCollectionParticipant.h"
class nsPIDOMWindow;
namespace mozilla {
class ErrorResult;

View File

@ -21,7 +21,6 @@ namespace dom {
namespace indexedDB {
class IDBDatabase;
class IDBFactory;
class IDBObjectStore;
class IDBOpenDBRequest;
class IDBTransaction;
}

View File

@ -16,7 +16,6 @@
class nsIContent;
class nsIDOMEvent;
class nsIScriptGlobalObject;
class nsPresContext;
template<class E> class nsCOMArray;

View File

@ -19,7 +19,6 @@
class nsIDocShell;
class nsIDOMEvent;
class nsIEventListenerInfo;
class nsIScriptContext;
class nsPIDOMWindow;
class JSTracer;

View File

@ -11,7 +11,6 @@
#include "nsIAtom.h"
class nsIDOMWindow;
class nsIDOMEventListener;
namespace mozilla {

View File

@ -13,7 +13,6 @@ class nsIContent;
class nsIDOMMouseEvent;
class nsIEditor;
class nsINode;
class nsPIDOMWindow;
class nsPresContext;
class nsISelection;

View File

@ -20,7 +20,6 @@
#include "mozilla/dom/RequestBinding.h"
#include "mozilla/dom/workers/bindings/WorkerFeature.h"
class nsIOutputStream;
class nsIGlobalObject;
namespace mozilla {

View File

@ -24,7 +24,6 @@ class nsIPrincipal;
namespace mozilla {
namespace dom {
class BlobSet;
class InternalRequest;
class InternalResponse;

View File

@ -14,8 +14,6 @@
#include "InternalHeaders.h"
class nsPIDOMWindow;
namespace mozilla {
class ErrorResult;

View File

@ -14,8 +14,6 @@
#include "nsClassHashtable.h"
#include "nsWrapperCache.h"
class nsPIDOMWindow;
namespace mozilla {
class ErrorResult;
@ -23,7 +21,6 @@ class ErrorResult;
namespace dom {
template<typename T> class MozMap;
class HeadersOrByteStringSequenceSequenceOrByteStringMozMap;
class InternalHeaders final
{

View File

@ -19,9 +19,6 @@
#include "nsServiceManagerUtils.h"
#endif
class nsIDocument;
class nsPIDOMWindow;
namespace mozilla {
namespace dom {
@ -84,7 +81,6 @@ namespace dom {
* TODO: Split TYPE_OBJECT into TYPE_EMBED and TYPE_OBJECT
*/
class FetchBodyStream;
class Request;
#define kFETCH_CLIENT_REFERRER_STR "about:client"

View File

@ -16,14 +16,11 @@
// files.
#include "mozilla/dom/RequestBinding.h"
class nsPIDOMWindow;
namespace mozilla {
namespace dom {
class Headers;
class InternalHeaders;
class Promise;
class RequestOrUSVString;
class Request final : public nsISupports

View File

@ -14,15 +14,11 @@
#include "InternalResponse.h"
class nsPIDOMWindow;
namespace mozilla {
namespace dom {
class ArrayBufferOrArrayBufferViewOrUSVStringOrURLSearchParams;
class Headers;
class InternalHeaders;
class Promise;
class Response final : public nsISupports
, public FetchBody<Response>

View File

@ -19,7 +19,6 @@ namespace dom {
class BlobParent;
class FileSystemBase;
class FileSystemParams;
class Promise;
/*
* The base class to implement a Task class.

View File

@ -14,7 +14,6 @@
#include "nsWeakReference.h"
class nsPIDOMWindow;
class nsIScriptContext;
BEGIN_FMRADIO_NAMESPACE

View File

@ -21,9 +21,6 @@ class nsIContent;
class nsINode;
namespace mozilla {
class ErrorResult;
namespace dom {
class OwningNodeOrHTMLCollection;

View File

@ -11,8 +11,6 @@
#include "nsGenericHTMLFrameElement.h"
#include "nsGkAtoms.h"
class nsIDOMDocument;
namespace mozilla {
namespace dom {

View File

@ -25,7 +25,6 @@
#include "nsTextEditorState.h"
class nsIRadioGroupContainer;
class nsIRadioGroupVisitor;
class nsIRadioVisitor;
namespace mozilla {

View File

@ -17,7 +17,6 @@ class nsMediaList;
namespace mozilla {
namespace dom {
class ResponsiveImageSelector;
class HTMLSourceElement final : public nsGenericHTMLElement,
public nsIDOMHTMLSourceElement
{

View File

@ -9,8 +9,6 @@
#include "nsGenericHTMLElement.h"
#include "nsIDOMHTMLTableCellElement.h"
class nsIDOMHTMLTableRowElement;
namespace mozilla {
namespace dom {

View File

@ -8,7 +8,6 @@
#include "mozilla/Attributes.h"
#include "nsGenericHTMLElement.h"
class nsIDOMHTMLTableElement;
class nsContentList;
namespace mozilla {

View File

@ -16,7 +16,6 @@
#include "mozilla/dom/Nullable.h"
class nsITransactionManager;
class nsIMutationObserver;
namespace mozilla {
class ErrorResult;

View File

@ -12,12 +12,7 @@
class nsIURI;
class nsIInputStream;
class nsGenericHTMLElement;
class nsILinkHandler;
class nsIContent;
class nsIFormControl;
class nsIDOMHTMLElement;
class nsIDocShell;
class nsIRequest;
class nsISaveAsCharset;
class nsIMultiplexInputStream;

View File

@ -22,7 +22,6 @@
#include "mozilla/dom/HTMLSharedElement.h"
class nsIEditor;
class nsIParser;
class nsIURI;
class nsIDocShell;
class nsICachingChannel;

View File

@ -9,8 +9,6 @@
#include "nsAString.h"
class nsIFormControl;
class nsISimpleEnumerator;
class nsIURI;
#define NS_FORM_METHOD_GET 0
#define NS_FORM_METHOD_POST 1

View File

@ -8,8 +8,6 @@
#include "nsISupports.h"
class nsIDOMHTMLFormElement;
class nsPresState;
class nsString;
class nsIFormProcessor;
class nsFormSubmission;
namespace mozilla {

View File

@ -15,8 +15,6 @@ class nsINode;
class nsString;
namespace mozilla {
class ErrorResult;
namespace dom {
class Element;
} // namespace dom

View File

@ -9,12 +9,9 @@
#include "nsISupports.h"
#include "nsCompatibility.h"
class nsIDOMHTMLFormElement;
class nsIContent;
class nsIScriptElement;
class nsIEditor;
class nsContentList;
class nsWrapperCache;
#define NS_IHTMLDOCUMENT_IID \
{ 0xcf814492, 0x303c, 0x4718, \

View File

@ -7,7 +7,6 @@
#include "nsISupports.h"
class nsString;
class nsIRadioVisitor;
class nsIFormControl;

View File

@ -10,7 +10,6 @@
#include "nsCOMPtr.h"
#include "nsID.h"
class nsIDOMBlob;
class nsIEventTarget;
class nsIRemoteBlob;
class nsString;

View File

@ -14,7 +14,6 @@
template <class, class> class nsDataHashtable;
class nsIDHashKey;
class nsIDOMBlob;
class nsIEventTarget;
class nsIRemoteBlob;
template <class> class nsRevocableEventPtr;

View File

@ -20,7 +20,6 @@
struct ChromePackage;
class nsIDOMBlob;
class nsIObserver;
struct ResourceMapping;
struct OverrideMapping;
@ -35,10 +34,6 @@ class PFileDescriptorSetChild;
class URIParams;
}// namespace ipc
namespace jsipc {
class JavaScriptShared;
}
namespace layers {
class PCompositorChild;
} // namespace layers
@ -46,7 +41,6 @@ class PCompositorChild;
namespace dom {
class AlertObserver;
class PrefObserver;
class ConsoleListener;
class PStorageChild;
class ClonedMessageData;

View File

@ -30,9 +30,7 @@
class mozIApplication;
class nsConsoleService;
class nsICycleCollectorLogSink;
class nsIDOMBlob;
class nsIDumpGCAndCCLogsCallback;
class nsIMemoryReporter;
class nsITimer;
class ParentIdleListener;
class nsIWidget;
@ -48,7 +46,6 @@ class TestShellParent;
} // namespace ipc
namespace jsipc {
class JavaScriptShared;
class PJavaScriptParent;
}

View File

@ -17,7 +17,6 @@
namespace mozilla {
namespace dom {
class ProcessReporter;
class CrashReporterParent :
public PCrashReporterParent

View File

@ -11,8 +11,6 @@
#include "nsCOMPtr.h"
#include "nsIObserver.h"
class nsIRunnable;
namespace mozilla {
namespace dom {
class ContentParent;

View File

@ -10,7 +10,6 @@
#include "mozilla/Atomics.h"
#include "nsIObserver.h"
class nsGlobalWindow;
class nsITabChild;
class MessageLoop;
@ -26,7 +25,6 @@ class ContentParent;
}
class PProcessHangMonitorParent;
class PProcessHangMonitorChild;
class ProcessHangMonitor final
: public nsIObserver

View File

@ -14,9 +14,6 @@
#include "js/StructuredClone.h"
namespace mozilla {
struct SerializedStructuredCloneBuffer;
namespace dom {
struct

View File

@ -15,8 +15,6 @@
namespace mozilla {
namespace dom {
class GlobalObject;
class MobileNetworkInfo final : public nsIMobileNetworkInfo
, public nsWrapperCache
{

View File

@ -21,7 +21,6 @@
#include "js/GCAPI.h"
#include "nsISupports.h"
class nsIGlobalObject;
struct JSContext;
struct JSStructuredCloneWriter;

View File

@ -9,7 +9,6 @@
#include "nscore.h"
class nsSMILValue;
class nsISMILType;
class nsIContent;
class nsAString;

View File

@ -18,7 +18,6 @@ namespace mozilla {
namespace dom {
class Promise;
class TVProgram;
class TVSource;
class TVChannel final : public DOMEventTargetHelper

View File

@ -17,8 +17,6 @@ class nsAnonymousContentList;
namespace mozilla {
namespace dom {
class ExplicitChildIterator;
class XBLChildrenElement : public nsXMLElement
{
public:

View File

@ -25,7 +25,6 @@ class nsIDocument;
class nsIURI;
class nsXBLDocumentInfo;
class nsIStreamListener;
class nsStyleSet;
class nsXBLBinding;
template<class E> class nsRefPtr;
typedef nsTArray<nsRefPtr<nsXBLBinding> > nsBindingList;

View File

@ -21,7 +21,6 @@ class nsXBLPrototypeBinding;
class nsIContent;
class nsIAtom;
class nsIDocument;
class nsIScriptContext;
namespace mozilla {
namespace dom {

View File

@ -13,7 +13,6 @@
#include "nsCycleCollectionParticipant.h"
class nsXBLPrototypeBinding;
class nsXBLDocGlobalObject;
class nsXBLDocumentInfo final : public nsSupportsWeakReference
{

View File

@ -14,7 +14,6 @@
class nsIObjectInputStream;
class nsIObjectOutputStream;
class nsIScriptContext;
class nsIURI;
class nsXBLProtoImplField

View File

@ -13,7 +13,6 @@
#include "nsContentUtils.h" // For NS_CONTENT_DELETE_LIST_MEMBER.
#include "nsCycleCollectionParticipant.h"
class nsIContent;
class nsIObjectOutputStream;
struct nsXBLTextWithLineNumber

View File

@ -17,7 +17,6 @@ class Expr;
class nsIDocument;
class nsINode;
class txResultRecycler;
class txXPathNode;
namespace mozilla {
namespace dom {

View File

@ -24,7 +24,6 @@
*/
class nsIAtom;
class txIParseContext;
class txIMatchContext;
class txIEvalContext;
class txNodeSet;

View File

@ -16,7 +16,6 @@
#include "nsAutoPtr.h"
#include "nsString.h"
class AttributeValueTemplate;
class Expr;
class txExprLexer;
class FunctionCall;
@ -26,7 +25,6 @@ class PredicateList;
class Token;
class txIParseContext;
class txNodeTest;
class txNodeTypeTest;
class txExprParser
{

View File

@ -12,7 +12,6 @@
#include "nsAutoPtr.h"
class txOutputTransaction;
class txCharacterTransaction;
class txResultBuffer
{

View File

@ -21,7 +21,6 @@
class txAOutputHandlerFactory;
class txAXMLEventHandler;
class txInstruction;
class txIOutputHandlerFactory;
class txLoadedDocumentEntry : public nsStringHashKey
{

View File

@ -11,7 +11,6 @@
#include "nsWeakPtr.h"
#include "txOutputFormat.h"
class nsIDOMCharacterData;
class nsIDOMDocument;
class nsIDOMDocumentFragment;
class nsITransformObserver;

View File

@ -20,9 +20,6 @@ class nsIContent;
class nsIDOMDocument;
class nsIAtom;
class nsIDOMDocumentFragment;
class nsIDOMElement;
class nsIStyleSheet;
class nsIDOMNode;
class nsITransformObserver;
class nsNodeInfoManager;
class nsIDocument;

View File

@ -22,7 +22,6 @@
class nsINode;
class nsIDOMNode;
class nsIURI;
class nsIXMLContentSink;
class txStylesheet;
class txResultRecycler;
class txIGlobalParameter;

View File

@ -13,7 +13,6 @@
#include "nsISupportsImpl.h"
class txInstruction;
class txToplevelItem;
class txTemplateItem;
class txVariableItem;
class txStripSpaceItem;

View File

@ -11,10 +11,7 @@
#include "nsAutoPtr.h"
#include "txNamespaceMap.h"
class txPattern;
class txStylesheet;
class txKeyValueHashKey;
class txExecutionState;
/**
* The definition for the XSLT document() function

View File

@ -11,8 +11,6 @@
#include "txExpr.h"
#include "txXMLUtils.h"
class ProcessorState;
class txPattern
{
public:

View File

@ -35,7 +35,6 @@ class nsPIWindowRoot;
#if 0 // XXXbe save me, scc (need NSCAP_FORWARD_DECL(nsXULPrototypeScript))
class nsIObjectInputStream;
class nsIObjectOutputStream;
class nsIXULPrototypeScript;
#else
#include "nsIObjectInputStream.h"
#include "nsIObjectOutputStream.h"

View File

@ -38,7 +38,6 @@
class nsIDocument;
class nsString;
class nsIDocShell;
class nsXULPrototypeDocument;
class nsIObjectInputStream;
@ -365,8 +364,6 @@ ASSERT_NODE_FLAGS_SPACE(ELEMENT_TYPE_SPECIFIC_BITS_OFFSET + 3);
#undef XUL_ELEMENT_FLAG_BIT
class nsScriptEventHandlerOwnerTearoff;
class nsXULElement final : public nsStyledElement,
public nsIDOMXULElement
{

View File

@ -12,8 +12,6 @@
#include "nsIAtom.h"
#include "nsIDOMDocument.h"
class nsIXULTemplateBuilder;
/**
* The nsContentTestNode is always the top node in a query's rule network. It
* exists so that Constrain can filter out resources that aren't part of a

View File

@ -37,7 +37,6 @@
#include "pldhash.h"
#include "nsIRDFNode.h"
class nsIRDFResource;
class nsXULTemplateResultSetRDF;
class nsXULTemplateQueryProcessorRDF;

View File

@ -17,10 +17,7 @@
class nsIAtom;
class nsIContent;
class nsIDocument;
class nsIDOMNodeList;
class nsIRDFNode;
class nsCString;
class nsString;
class nsIRDFResource;
class nsIRDFLiteral;
class nsIRDFService;

View File

@ -33,7 +33,6 @@ extern PRLogModuleInfo* gXULTemplateLog;
class nsIContent;
class nsIObserverService;
class nsIRDFCompositeDataSource;
class nsIXULDocument;
/**
* An object that translates an RDF graph into a presentation using a

View File

@ -34,7 +34,6 @@ extern PRLogModuleInfo* gXULTemplateLog;
#endif
class nsIContent;
class nsIRDFCompositeDataSource;
class nsXULTemplateResultRDF;
/**