From 43075da8903f13cd39cf7bc69a3a0ebd152ec536 Mon Sep 17 00:00:00 2001 From: Peter Van der Beken Date: Tue, 12 Jan 2010 14:08:43 +0100 Subject: [PATCH] Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Pair every DOMCI to a specific C++ class. r=jst. --HG-- extra : rebase_source : 9a7823b365cfca04bb08c5be94eab29d218f1e61 --- content/base/src/nsCommentNode.cpp | 1 + content/base/src/nsContentList.cpp | 2 + content/base/src/nsDOMAttribute.cpp | 3 + content/base/src/nsDOMAttributeMap.cpp | 1 + content/base/src/nsDOMDocumentType.cpp | 1 + content/base/src/nsDOMFile.cpp | 6 + content/base/src/nsDOMFileReader.cpp | 2 + content/base/src/nsDOMLists.cpp | 3 + content/base/src/nsDOMParser.cpp | 1 + content/base/src/nsDOMSerializer.cpp | 1 + content/base/src/nsDOMTokenList.cpp | 2 + content/base/src/nsDocument.cpp | 4 + content/base/src/nsDocumentFragment.cpp | 2 + content/base/src/nsFormData.cpp | 2 + content/base/src/nsNodeIterator.cpp | 2 + content/base/src/nsRange.cpp | 2 + content/base/src/nsTextNode.cpp | 1 + content/base/src/nsTreeWalker.cpp | 2 + content/base/src/nsXMLHttpRequest.cpp | 5 + content/canvas/src/WebGLContext.cpp | 14 + .../canvas/src/nsCanvasRenderingContext2D.cpp | 8 + content/events/src/nsDOMBeforeUnloadEvent.cpp | 2 + content/events/src/nsDOMCommandEvent.cpp | 2 + .../events/src/nsDOMDataContainerEvent.cpp | 2 + content/events/src/nsDOMDataTransfer.cpp | 2 + content/events/src/nsDOMDragEvent.cpp | 2 + content/events/src/nsDOMEvent.cpp | 2 + content/events/src/nsDOMKeyboardEvent.cpp | 2 + content/events/src/nsDOMMessageEvent.cpp | 2 + content/events/src/nsDOMMouseEvent.cpp | 2 + content/events/src/nsDOMMouseScrollEvent.cpp | 2 + content/events/src/nsDOMMutationEvent.cpp | 2 + content/events/src/nsDOMNotifyPaintEvent.cpp | 2 + content/events/src/nsDOMOrientationEvent.cpp | 2 + .../events/src/nsDOMPageTransitionEvent.cpp | 2 + content/events/src/nsDOMPopStateEvent.cpp | 2 + content/events/src/nsDOMPopupBlockedEvent.cpp | 2 + content/events/src/nsDOMProgressEvent.cpp | 2 + content/events/src/nsDOMScrollAreaEvent.cpp | 2 + .../events/src/nsDOMSimpleGestureEvent.cpp | 2 + content/events/src/nsDOMTransitionEvent.cpp | 2 + content/events/src/nsDOMUIEvent.cpp | 2 + content/events/src/nsDOMXULCommandEvent.cpp | 2 + content/events/src/nsEventListenerService.cpp | 2 + content/events/src/nsPaintRequest.cpp | 4 + content/html/content/src/nsClientRect.cpp | 4 + .../html/content/src/nsHTMLAnchorElement.cpp | 2 + .../html/content/src/nsHTMLAreaElement.cpp | 2 + .../html/content/src/nsHTMLAudioElement.cpp | 2 + content/html/content/src/nsHTMLBRElement.cpp | 2 + .../html/content/src/nsHTMLBodyElement.cpp | 2 + .../html/content/src/nsHTMLButtonElement.cpp | 2 + .../html/content/src/nsHTMLCanvasElement.cpp | 2 + content/html/content/src/nsHTMLDelElement.cpp | 2 + content/html/content/src/nsHTMLDivElement.cpp | 2 + .../content/src/nsHTMLFieldSetElement.cpp | 2 + .../html/content/src/nsHTMLFontElement.cpp | 2 + .../html/content/src/nsHTMLFormElement.cpp | 4 + .../html/content/src/nsHTMLFrameElement.cpp | 2 + .../content/src/nsHTMLFrameSetElement.cpp | 2 + content/html/content/src/nsHTMLHRElement.cpp | 2 + .../html/content/src/nsHTMLHeadElement.cpp | 2 + .../html/content/src/nsHTMLHeadingElement.cpp | 2 + .../html/content/src/nsHTMLHtmlElement.cpp | 2 + .../html/content/src/nsHTMLIFrameElement.cpp | 2 + .../html/content/src/nsHTMLImageElement.cpp | 2 + .../html/content/src/nsHTMLInputElement.cpp | 2 + content/html/content/src/nsHTMLLIElement.cpp | 2 + .../html/content/src/nsHTMLLabelElement.cpp | 2 + .../html/content/src/nsHTMLLegendElement.cpp | 2 + .../html/content/src/nsHTMLLinkElement.cpp | 2 + content/html/content/src/nsHTMLMapElement.cpp | 2 + content/html/content/src/nsHTMLMediaError.cpp | 2 + .../html/content/src/nsHTMLMetaElement.cpp | 1 + .../html/content/src/nsHTMLOListElement.cpp | 4 + .../html/content/src/nsHTMLObjectElement.cpp | 2 + .../content/src/nsHTMLOptGroupElement.cpp | 2 + .../html/content/src/nsHTMLOptionElement.cpp | 2 + .../content/src/nsHTMLParagraphElement.cpp | 1 + content/html/content/src/nsHTMLPreElement.cpp | 2 + .../html/content/src/nsHTMLScriptElement.cpp | 2 + .../html/content/src/nsHTMLSelectElement.cpp | 4 + .../html/content/src/nsHTMLSharedElement.cpp | 10 + .../content/src/nsHTMLSharedObjectElement.cpp | 3 + .../html/content/src/nsHTMLSourceElement.cpp | 2 + .../html/content/src/nsHTMLSpanElement.cpp | 4 + .../html/content/src/nsHTMLStyleElement.cpp | 2 + .../content/src/nsHTMLTableCaptionElement.cpp | 2 + .../content/src/nsHTMLTableCellElement.cpp | 2 + .../content/src/nsHTMLTableColElement.cpp | 2 + .../html/content/src/nsHTMLTableElement.cpp | 2 + .../content/src/nsHTMLTableRowElement.cpp | 2 + .../content/src/nsHTMLTableSectionElement.cpp | 2 + .../content/src/nsHTMLTextAreaElement.cpp | 2 + .../html/content/src/nsHTMLTitleElement.cpp | 2 + .../html/content/src/nsHTMLVideoElement.cpp | 2 + content/html/document/src/nsHTMLDocument.cpp | 2 + content/html/document/src/nsImageDocument.cpp | 2 + .../mathml/content/src/nsMathMLElement.cpp | 2 + content/svg/content/src/nsDOMSVGEvent.cpp | 2 + content/svg/content/src/nsDOMSVGZoomEvent.cpp | 2 + content/svg/content/src/nsSVGAElement.cpp | 2 + content/svg/content/src/nsSVGAngle.cpp | 3 + content/svg/content/src/nsSVGAngle.h | 1 + .../svg/content/src/nsSVGAnimateElement.cpp | 2 + .../src/nsSVGAnimateTransformElement.cpp | 2 + .../content/src/nsSVGAnimatedLengthList.cpp | 2 + .../content/src/nsSVGAnimatedNumberList.cpp | 2 + .../src/nsSVGAnimatedTransformList.cpp | 2 + content/svg/content/src/nsSVGBoolean.cpp | 2 + content/svg/content/src/nsSVGBoolean.h | 1 + .../svg/content/src/nsSVGCircleElement.cpp | 2 + .../svg/content/src/nsSVGClipPathElement.cpp | 2 + content/svg/content/src/nsSVGDefsElement.cpp | 2 + content/svg/content/src/nsSVGDescElement.cpp | 2 + .../svg/content/src/nsSVGEllipseElement.cpp | 2 + content/svg/content/src/nsSVGEnum.cpp | 2 + content/svg/content/src/nsSVGEnum.h | 1 + .../svg/content/src/nsSVGFilterElement.cpp | 2 + content/svg/content/src/nsSVGFilters.cpp | 48 ++ .../content/src/nsSVGForeignObjectElement.cpp | 2 + content/svg/content/src/nsSVGGElement.cpp | 2 + .../svg/content/src/nsSVGGradientElement.cpp | 4 + content/svg/content/src/nsSVGImageElement.cpp | 2 + content/svg/content/src/nsSVGInteger.cpp | 2 + content/svg/content/src/nsSVGInteger.h | 1 + content/svg/content/src/nsSVGLength.cpp | 2 + content/svg/content/src/nsSVGLength2.cpp | 2 + content/svg/content/src/nsSVGLength2.h | 1 + content/svg/content/src/nsSVGLengthList.cpp | 2 + content/svg/content/src/nsSVGLineElement.cpp | 2 + .../svg/content/src/nsSVGMarkerElement.cpp | 2 + content/svg/content/src/nsSVGMaskElement.cpp | 2 + content/svg/content/src/nsSVGMatrix.cpp | 2 + .../svg/content/src/nsSVGMetadataElement.cpp | 2 + content/svg/content/src/nsSVGNumber.cpp | 2 + content/svg/content/src/nsSVGNumber2.cpp | 2 + content/svg/content/src/nsSVGNumber2.h | 1 + content/svg/content/src/nsSVGNumberList.cpp | 2 + content/svg/content/src/nsSVGPathElement.cpp | 2 + content/svg/content/src/nsSVGPathSeg.cpp | 2 + content/svg/content/src/nsSVGPathSegList.cpp | 2 + .../svg/content/src/nsSVGPatternElement.cpp | 2 + content/svg/content/src/nsSVGPoint.cpp | 2 + content/svg/content/src/nsSVGPointList.cpp | 2 + .../svg/content/src/nsSVGPolygonElement.cpp | 2 + .../svg/content/src/nsSVGPolylineElement.cpp | 2 + .../content/src/nsSVGPreserveAspectRatio.cpp | 4 + .../content/src/nsSVGPreserveAspectRatio.h | 1 + content/svg/content/src/nsSVGRect.cpp | 2 + content/svg/content/src/nsSVGRectElement.cpp | 2 + content/svg/content/src/nsSVGSVGElement.cpp | 2 + .../svg/content/src/nsSVGScriptElement.cpp | 2 + content/svg/content/src/nsSVGSetElement.cpp | 2 + content/svg/content/src/nsSVGStopElement.cpp | 2 + content/svg/content/src/nsSVGString.cpp | 2 + content/svg/content/src/nsSVGString.h | 1 + content/svg/content/src/nsSVGStyleElement.cpp | 2 + .../svg/content/src/nsSVGSwitchElement.cpp | 2 + .../svg/content/src/nsSVGSymbolElement.cpp | 2 + content/svg/content/src/nsSVGTSpanElement.cpp | 2 + content/svg/content/src/nsSVGTextElement.cpp | 2 + .../svg/content/src/nsSVGTextPathElement.cpp | 2 + content/svg/content/src/nsSVGTitleElement.cpp | 2 + content/svg/content/src/nsSVGTransform.cpp | 2 + .../svg/content/src/nsSVGTransformList.cpp | 2 + content/svg/content/src/nsSVGUseElement.cpp | 2 + content/svg/content/src/nsSVGViewBox.cpp | 2 + content/svg/content/src/nsSVGViewBox.h | 1 + content/svg/document/src/nsSVGDocument.cpp | 2 + content/xml/content/src/nsXMLCDATASection.cpp | 2 + content/xml/content/src/nsXMLElement.cpp | 2 + .../src/nsXMLProcessingInstruction.cpp | 2 + content/xml/content/src/nsXMLStylesheetPI.cpp | 2 + content/xml/document/src/nsXMLDocument.cpp | 2 + content/xslt/src/xpath/nsXPathEvaluator.cpp | 2 + content/xslt/src/xpath/nsXPathExpression.cpp | 3 + content/xslt/src/xpath/nsXPathNSResolver.cpp | 3 + content/xslt/src/xpath/nsXPathNamespace.cpp | 3 + content/xslt/src/xpath/nsXPathResult.cpp | 3 + .../xslt/src/xslt/txMozillaXSLTProcessor.cpp | 3 + content/xul/content/src/nsXULElement.cpp | 2 + .../document/src/nsXULCommandDispatcher.cpp | 3 + content/xul/document/src/nsXULControllers.cpp | 2 + content/xul/document/src/nsXULDocument.cpp | 2 + .../templates/src/nsXULTemplateBuilder.cpp | 2 + .../xul/templates/src/nsXULTreeBuilder.cpp | 2 + dom/base/Makefile.in | 1 + dom/base/nsBarProps.cpp | 2 + dom/base/nsDOMClassInfo.cpp | 10 + dom/base/nsDOMClassInfoClasses.h | 472 ++++++++++++++++++ dom/base/nsDOMClassInfoID.h | 441 +--------------- dom/base/nsDOMException.cpp | 2 + dom/base/nsDOMWindowUtils.cpp | 2 + dom/base/nsGlobalWindow.cpp | 8 + dom/base/nsHistory.cpp | 2 + dom/base/nsLocation.cpp | 1 + dom/base/nsMimeTypeArray.cpp | 4 + dom/base/nsPluginArray.cpp | 4 + dom/base/nsScreen.cpp | 2 + .../geolocation/WinMobileLocationProvider.cpp | 4 + dom/src/geolocation/nsGeolocation.cpp | 9 + dom/src/offline/nsDOMOfflineResourceList.cpp | 2 + dom/src/storage/nsDOMStorage.cpp | 13 + layout/generic/nsSelection.cpp | 2 + layout/style/nsCSSRules.cpp | 16 + layout/style/nsCSSStyleRule.cpp | 2 + layout/style/nsCSSStyleSheet.cpp | 6 + layout/style/nsComputedDOMStyle.cpp | 2 + layout/style/nsDOMCSSDeclaration.cpp | 2 + layout/style/nsDOMCSSRGBColor.cpp | 2 + layout/style/nsDOMCSSRect.cpp | 2 + layout/style/nsDOMCSSValueList.cpp | 2 + layout/style/nsROCSSPrimitiveValue.cpp | 2 + layout/xul/base/src/nsBoxObject.cpp | 2 + .../xul/base/src/tree/src/nsTreeColumns.cpp | 4 + .../base/src/tree/src/nsTreeContentView.cpp | 2 + .../xul/base/src/tree/src/nsTreeSelection.cpp | 2 + 218 files changed, 1058 insertions(+), 433 deletions(-) create mode 100644 dom/base/nsDOMClassInfoClasses.h diff --git a/content/base/src/nsCommentNode.cpp b/content/base/src/nsCommentNode.cpp index 3dec0564002..2e4af35678b 100644 --- a/content/base/src/nsCommentNode.cpp +++ b/content/base/src/nsCommentNode.cpp @@ -106,6 +106,7 @@ nsCommentNode::~nsCommentNode() { } +DOMCI_DATA(Comment, nsCommentNode) // QueryInterface implementation for nsCommentNode NS_INTERFACE_TABLE_HEAD(nsCommentNode) diff --git a/content/base/src/nsContentList.cpp b/content/base/src/nsContentList.cpp index 4f2e8917f83..70d4900937a 100644 --- a/content/base/src/nsContentList.cpp +++ b/content/base/src/nsContentList.cpp @@ -83,6 +83,7 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END NS_INTERFACE_TABLE_ENTRY(_class, nsINodeList) \ NS_INTERFACE_TABLE_ENTRY(_class, nsIDOMNodeList) +DOMCI_DATA(NodeList, nsBaseContentList) // QueryInterface implementation for nsBaseContentList NS_INTERFACE_TABLE_HEAD(nsBaseContentList) @@ -440,6 +441,7 @@ nsContentList::~nsContentList() } } +DOMCI_DATA(ContentList, nsContentList) // QueryInterface implementation for nsContentList NS_INTERFACE_TABLE_HEAD(nsContentList) diff --git a/content/base/src/nsDOMAttribute.cpp b/content/base/src/nsDOMAttribute.cpp index 483bb307708..bb2d3ad1013 100644 --- a/content/base/src/nsDOMAttribute.cpp +++ b/content/base/src/nsDOMAttribute.cpp @@ -109,6 +109,9 @@ NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN(nsDOMAttribute) NS_IMPL_CYCLE_COLLECTION_UNLINK_LISTENERMANAGER NS_IMPL_CYCLE_COLLECTION_UNLINK_USERDATA NS_IMPL_CYCLE_COLLECTION_UNLINK_END + +DOMCI_DATA(Attr, nsDOMAttribute) + // QueryInterface implementation for nsDOMAttribute NS_INTERFACE_TABLE_HEAD(nsDOMAttribute) NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY diff --git a/content/base/src/nsDOMAttributeMap.cpp b/content/base/src/nsDOMAttributeMap.cpp index 9a438b235ef..2dd5622c611 100644 --- a/content/base/src/nsDOMAttributeMap.cpp +++ b/content/base/src/nsDOMAttributeMap.cpp @@ -115,6 +115,7 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN(nsDOMAttributeMap) tmp->mAttributeCache.Enumerate(TraverseMapEntry, &cb); NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END +DOMCI_DATA(NamedNodeMap, nsDOMAttributeMap) // QueryInterface implementation for nsDOMAttributeMap NS_INTERFACE_TABLE_HEAD(nsDOMAttributeMap) diff --git a/content/base/src/nsDOMDocumentType.cpp b/content/base/src/nsDOMDocumentType.cpp index 9cc6d364beb..43ee26bfd0e 100644 --- a/content/base/src/nsDOMDocumentType.cpp +++ b/content/base/src/nsDOMDocumentType.cpp @@ -121,6 +121,7 @@ nsDOMDocumentType::~nsDOMDocumentType() { } +DOMCI_DATA(DocumentType, nsDOMDocumentType) // QueryInterface implementation for nsDOMDocumentType NS_INTERFACE_TABLE_HEAD(nsDOMDocumentType) diff --git a/content/base/src/nsDOMFile.cpp b/content/base/src/nsDOMFile.cpp index c12c991a264..05bd5a20f5f 100644 --- a/content/base/src/nsDOMFile.cpp +++ b/content/base/src/nsDOMFile.cpp @@ -67,6 +67,8 @@ // nsDOMFile implementation +DOMCI_DATA(File, nsDOMFile) + NS_INTERFACE_MAP_BEGIN(nsDOMFile) NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIDOMFile) NS_INTERFACE_MAP_ENTRY(nsIDOMFile) @@ -463,6 +465,8 @@ nsDOMFile::ConvertStream(nsIInputStream *aStream, // nsDOMFileList implementation +DOMCI_DATA(FileList, nsDOMFileList) + NS_INTERFACE_MAP_BEGIN(nsDOMFileList) NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIDOMFileList) NS_INTERFACE_MAP_ENTRY(nsIDOMFileList) @@ -490,6 +494,8 @@ nsDOMFileList::Item(PRUint32 aIndex, nsIDOMFile **aFile) // nsDOMFileError implementation +DOMCI_DATA(FileError, nsDOMFileError) + NS_INTERFACE_MAP_BEGIN(nsDOMFileError) NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIDOMFileError) NS_INTERFACE_MAP_ENTRY(nsIDOMFileError) diff --git a/content/base/src/nsDOMFileReader.cpp b/content/base/src/nsDOMFileReader.cpp index be87f3bb205..0fdb844ed1f 100644 --- a/content/base/src/nsDOMFileReader.cpp +++ b/content/base/src/nsDOMFileReader.cpp @@ -109,6 +109,8 @@ NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN_INHERITED(nsDOMFileReader, NS_IMPL_CYCLE_COLLECTION_UNLINK_NSCOMPTR(mChannel) NS_IMPL_CYCLE_COLLECTION_UNLINK_END +DOMCI_DATA(FileReader, nsDOMFileReader) + NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED(nsDOMFileReader) NS_INTERFACE_MAP_ENTRY(nsIDOMFileReader) NS_INTERFACE_MAP_ENTRY(nsIStreamListener) diff --git a/content/base/src/nsDOMLists.cpp b/content/base/src/nsDOMLists.cpp index 305acabad5e..75052ca015b 100644 --- a/content/base/src/nsDOMLists.cpp +++ b/content/base/src/nsDOMLists.cpp @@ -56,6 +56,8 @@ nsDOMStringList::~nsDOMStringList() { } +DOMCI_DATA(DOMStringList, nsDOMStringList) + NS_IMPL_ADDREF(nsDOMStringList) NS_IMPL_RELEASE(nsDOMStringList) NS_INTERFACE_TABLE_HEAD(nsDOMStringList) @@ -102,6 +104,7 @@ nsNameList::nsNameList() nsNameList::~nsNameList() { } +DOMCI_DATA(NameList, nsNameList) NS_IMPL_ADDREF(nsNameList) NS_IMPL_RELEASE(nsNameList) diff --git a/content/base/src/nsDOMParser.cpp b/content/base/src/nsDOMParser.cpp index be0927bdcf5..cf5a25bcca2 100644 --- a/content/base/src/nsDOMParser.cpp +++ b/content/base/src/nsDOMParser.cpp @@ -116,6 +116,7 @@ nsDOMParser::~nsDOMParser() mLoopingForSyncLoad = PR_FALSE; } +DOMCI_DATA(DOMParser, nsDOMParser) // QueryInterface implementation for nsDOMParser NS_INTERFACE_MAP_BEGIN(nsDOMParser) diff --git a/content/base/src/nsDOMSerializer.cpp b/content/base/src/nsDOMSerializer.cpp index a7b97de94c5..4674a53c89c 100644 --- a/content/base/src/nsDOMSerializer.cpp +++ b/content/base/src/nsDOMSerializer.cpp @@ -58,6 +58,7 @@ nsDOMSerializer::~nsDOMSerializer() { } +DOMCI_DATA(XMLSerializer, nsDOMSerializer) // QueryInterface implementation for nsDOMSerializer NS_INTERFACE_MAP_BEGIN(nsDOMSerializer) diff --git a/content/base/src/nsDOMTokenList.cpp b/content/base/src/nsDOMTokenList.cpp index d4f2e1cd4b5..2f76d50e819 100644 --- a/content/base/src/nsDOMTokenList.cpp +++ b/content/base/src/nsDOMTokenList.cpp @@ -57,6 +57,8 @@ nsDOMTokenList::nsDOMTokenList(nsGenericElement *aElement, nsIAtom* aAttrAtom) nsDOMTokenList::~nsDOMTokenList() { } +DOMCI_DATA(DOMTokenList, nsDOMTokenList) + NS_INTERFACE_TABLE_HEAD(nsDOMTokenList) NS_INTERFACE_TABLE1(nsDOMTokenList, nsIDOMDOMTokenList) diff --git a/content/base/src/nsDocument.cpp b/content/base/src/nsDocument.cpp index eb905a86089..10f7cb07fd8 100644 --- a/content/base/src/nsDocument.cpp +++ b/content/base/src/nsDocument.cpp @@ -477,6 +477,8 @@ nsDOMStyleSheetList::~nsDOMStyleSheetList() } } +DOMCI_DATA(StyleSheetList, nsDOMStyleSheetList) + // XXX couldn't we use the GetIIDs method from CSSStyleSheetList here? // QueryInterface implementation for nsDOMStyleSheetList NS_INTERFACE_TABLE_HEAD(nsDOMStyleSheetList) @@ -1269,6 +1271,8 @@ nsDOMImplementation::~nsDOMImplementation() { } +DOMCI_DATA(DOMImplementation, nsDOMImplementation) + // QueryInterface implementation for nsDOMImplementation NS_INTERFACE_MAP_BEGIN(nsDOMImplementation) NS_INTERFACE_MAP_ENTRY(nsIDOMDOMImplementation) diff --git a/content/base/src/nsDocumentFragment.cpp b/content/base/src/nsDocumentFragment.cpp index 9c47890b2d0..04ec7c19730 100644 --- a/content/base/src/nsDocumentFragment.cpp +++ b/content/base/src/nsDocumentFragment.cpp @@ -194,6 +194,8 @@ nsDocumentFragment::IsNodeOfType(PRUint32 aFlags) const return !(aFlags & ~(eCONTENT | eDOCUMENT_FRAGMENT)); } +DOMCI_DATA(DocumentFragment, nsDocumentFragment) + // QueryInterface implementation for nsDocumentFragment NS_INTERFACE_TABLE_HEAD(nsDocumentFragment) NS_NODE_INTERFACE_TABLE2(nsDocumentFragment, nsIDOMNode, diff --git a/content/base/src/nsFormData.cpp b/content/base/src/nsFormData.cpp index 52a68988e28..5372478fe6e 100644 --- a/content/base/src/nsFormData.cpp +++ b/content/base/src/nsFormData.cpp @@ -49,6 +49,8 @@ nsFormData::nsFormData() // ------------------------------------------------------------------------- // nsISupports +DOMCI_DATA(FormData, nsFormData) + NS_IMPL_ADDREF(nsFormData) NS_IMPL_RELEASE(nsFormData) NS_INTERFACE_MAP_BEGIN(nsFormData) diff --git a/content/base/src/nsNodeIterator.cpp b/content/base/src/nsNodeIterator.cpp index d6e5b9ea222..1520a8ecb12 100644 --- a/content/base/src/nsNodeIterator.cpp +++ b/content/base/src/nsNodeIterator.cpp @@ -231,6 +231,8 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN(nsNodeIterator) NS_IMPL_CYCLE_COLLECTION_TRAVERSE_NSCOMPTR(mFilter) NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END +DOMCI_DATA(NodeIterator, nsNodeIterator) + // QueryInterface implementation for nsNodeIterator NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsNodeIterator) NS_INTERFACE_MAP_ENTRY(nsIDOMNodeIterator) diff --git a/content/base/src/nsRange.cpp b/content/base/src/nsRange.cpp index ed623f422e0..ba92380c787 100644 --- a/content/base/src/nsRange.cpp +++ b/content/base/src/nsRange.cpp @@ -238,6 +238,8 @@ NS_IMPL_CYCLE_COLLECTION_CLASS(nsRange) NS_IMPL_CYCLE_COLLECTING_ADDREF(nsRange) NS_IMPL_CYCLE_COLLECTING_RELEASE(nsRange) +DOMCI_DATA(Range, nsRange) + // QueryInterface implementation for nsRange NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsRange) NS_INTERFACE_MAP_ENTRY(nsIDOMRange) diff --git a/content/base/src/nsTextNode.cpp b/content/base/src/nsTextNode.cpp index 61b4ed28ccf..0bf34c66142 100644 --- a/content/base/src/nsTextNode.cpp +++ b/content/base/src/nsTextNode.cpp @@ -151,6 +151,7 @@ nsTextNode::~nsTextNode() NS_IMPL_ADDREF_INHERITED(nsTextNode, nsGenericDOMDataNode) NS_IMPL_RELEASE_INHERITED(nsTextNode, nsGenericDOMDataNode) +DOMCI_DATA(Text, nsTextNode) // QueryInterface implementation for nsTextNode NS_INTERFACE_TABLE_HEAD(nsTextNode) diff --git a/content/base/src/nsTreeWalker.cpp b/content/base/src/nsTreeWalker.cpp index c644bc285be..cc8a8854768 100644 --- a/content/base/src/nsTreeWalker.cpp +++ b/content/base/src/nsTreeWalker.cpp @@ -77,6 +77,8 @@ nsTreeWalker::~nsTreeWalker() NS_IMPL_CYCLE_COLLECTION_3(nsTreeWalker, mFilter, mCurrentNode, mRoot) +DOMCI_DATA(TreeWalker, nsTreeWalker) + // QueryInterface implementation for nsTreeWalker NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsTreeWalker) NS_INTERFACE_MAP_ENTRY(nsIDOMTreeWalker) diff --git a/content/base/src/nsXMLHttpRequest.cpp b/content/base/src/nsXMLHttpRequest.cpp index c1aed739858..cb7960a44c1 100644 --- a/content/base/src/nsXMLHttpRequest.cpp +++ b/content/base/src/nsXMLHttpRequest.cpp @@ -617,6 +617,8 @@ nsXMLHttpRequestUpload::~nsXMLHttpRequestUpload() } } +DOMCI_DATA(XMLHttpRequestUpload, nsXMLHttpRequestUpload) + NS_INTERFACE_MAP_BEGIN(nsXMLHttpRequestUpload) NS_INTERFACE_MAP_ENTRY(nsIXMLHttpRequestUpload) NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(XMLHttpRequestUpload) @@ -1010,6 +1012,7 @@ NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN_INHERITED(nsXMLHttpRequest, NS_IMPL_CYCLE_COLLECTION_UNLINK_NSCOMPTR(mUpload) NS_IMPL_CYCLE_COLLECTION_UNLINK_END +DOMCI_DATA(XMLHttpRequest, nsXMLHttpRequest) // QueryInterface implementation for nsXMLHttpRequest NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED(nsXMLHttpRequest) @@ -3270,6 +3273,8 @@ nsXMLHttpProgressEvent::~nsXMLHttpProgressEvent() NS_IMPL_CYCLE_COLLECTION_CLASS(nsXMLHttpProgressEvent) +DOMCI_DATA(XMLHttpProgressEvent, nsXMLHttpProgressEvent) + // QueryInterface implementation for nsXMLHttpProgressEvent NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsXMLHttpProgressEvent) NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIDOMProgressEvent) diff --git a/content/canvas/src/WebGLContext.cpp b/content/canvas/src/WebGLContext.cpp index 7bd1803974f..322bee81380 100644 --- a/content/canvas/src/WebGLContext.cpp +++ b/content/canvas/src/WebGLContext.cpp @@ -367,6 +367,8 @@ WebGLContext::GetThebesSurface(gfxASurface **surface) NS_IMPL_ADDREF(WebGLContext) NS_IMPL_RELEASE(WebGLContext) +DOMCI_DATA(CanvasRenderingContextWebGL, WebGLContext) + NS_INTERFACE_MAP_BEGIN(WebGLContext) NS_INTERFACE_MAP_ENTRY(nsICanvasRenderingContextWebGL) NS_INTERFACE_MAP_ENTRY(nsICanvasRenderingContextInternal) @@ -378,6 +380,8 @@ NS_INTERFACE_MAP_END NS_IMPL_ADDREF(WebGLBuffer) NS_IMPL_RELEASE(WebGLBuffer) +DOMCI_DATA(WebGLBuffer, WebGLBuffer) + NS_INTERFACE_MAP_BEGIN(WebGLBuffer) NS_INTERFACE_MAP_ENTRY(nsIWebGLBuffer) NS_INTERFACE_MAP_ENTRY(nsISupports) @@ -387,6 +391,8 @@ NS_INTERFACE_MAP_END NS_IMPL_ADDREF(WebGLTexture) NS_IMPL_RELEASE(WebGLTexture) +DOMCI_DATA(WebGLTexture, WebGLTexture) + NS_INTERFACE_MAP_BEGIN(WebGLTexture) NS_INTERFACE_MAP_ENTRY(nsIWebGLTexture) NS_INTERFACE_MAP_ENTRY(nsISupports) @@ -396,6 +402,8 @@ NS_INTERFACE_MAP_END NS_IMPL_ADDREF(WebGLProgram) NS_IMPL_RELEASE(WebGLProgram) +DOMCI_DATA(WebGLProgram, WebGLProgram) + NS_INTERFACE_MAP_BEGIN(WebGLProgram) NS_INTERFACE_MAP_ENTRY(nsIWebGLProgram) NS_INTERFACE_MAP_ENTRY(nsISupports) @@ -405,6 +413,8 @@ NS_INTERFACE_MAP_END NS_IMPL_ADDREF(WebGLShader) NS_IMPL_RELEASE(WebGLShader) +DOMCI_DATA(WebGLShader, WebGLShader) + NS_INTERFACE_MAP_BEGIN(WebGLShader) NS_INTERFACE_MAP_ENTRY(nsIWebGLShader) NS_INTERFACE_MAP_ENTRY(nsISupports) @@ -414,6 +424,8 @@ NS_INTERFACE_MAP_END NS_IMPL_ADDREF(WebGLFramebuffer) NS_IMPL_RELEASE(WebGLFramebuffer) +DOMCI_DATA(WebGLFramebuffer, WebGLFramebuffer) + NS_INTERFACE_MAP_BEGIN(WebGLFramebuffer) NS_INTERFACE_MAP_ENTRY(nsIWebGLFramebuffer) NS_INTERFACE_MAP_ENTRY(nsISupports) @@ -423,6 +435,8 @@ NS_INTERFACE_MAP_END NS_IMPL_ADDREF(WebGLRenderbuffer) NS_IMPL_RELEASE(WebGLRenderbuffer) +DOMCI_DATA(WebGLRenderbuffer, WebGLRenderbuffer) + NS_INTERFACE_MAP_BEGIN(WebGLRenderbuffer) NS_INTERFACE_MAP_ENTRY(nsIWebGLRenderbuffer) NS_INTERFACE_MAP_ENTRY(nsISupports) diff --git a/content/canvas/src/nsCanvasRenderingContext2D.cpp b/content/canvas/src/nsCanvasRenderingContext2D.cpp index 8a19b1342e4..3ac698d3dd7 100644 --- a/content/canvas/src/nsCanvasRenderingContext2D.cpp +++ b/content/canvas/src/nsCanvasRenderingContext2D.cpp @@ -220,6 +220,8 @@ NS_DEFINE_STATIC_IID_ACCESSOR(nsCanvasGradient, NS_CANVASGRADIENT_PRIVATE_IID) NS_IMPL_ADDREF(nsCanvasGradient) NS_IMPL_RELEASE(nsCanvasGradient) +DOMCI_DATA(CanvasGradient, nsCanvasGradient) + NS_INTERFACE_MAP_BEGIN(nsCanvasGradient) NS_INTERFACE_MAP_ENTRY(nsCanvasGradient) NS_INTERFACE_MAP_ENTRY(nsIDOMCanvasGradient) @@ -266,6 +268,8 @@ NS_DEFINE_STATIC_IID_ACCESSOR(nsCanvasPattern, NS_CANVASPATTERN_PRIVATE_IID) NS_IMPL_ADDREF(nsCanvasPattern) NS_IMPL_RELEASE(nsCanvasPattern) +DOMCI_DATA(CanvasPattern, nsCanvasPattern) + NS_INTERFACE_MAP_BEGIN(nsCanvasPattern) NS_INTERFACE_MAP_ENTRY(nsCanvasPattern) NS_INTERFACE_MAP_ENTRY(nsIDOMCanvasPattern) @@ -303,6 +307,8 @@ NS_DEFINE_STATIC_IID_ACCESSOR(nsTextMetrics, NS_TEXTMETRICS_PRIVATE_IID) NS_IMPL_ADDREF(nsTextMetrics) NS_IMPL_RELEASE(nsTextMetrics) +DOMCI_DATA(TextMetrics, nsTextMetrics) + NS_INTERFACE_MAP_BEGIN(nsTextMetrics) NS_INTERFACE_MAP_ENTRY(nsTextMetrics) NS_INTERFACE_MAP_ENTRY(nsIDOMTextMetrics) @@ -664,6 +670,8 @@ protected: NS_IMPL_ADDREF(nsCanvasRenderingContext2D) NS_IMPL_RELEASE(nsCanvasRenderingContext2D) +DOMCI_DATA(CanvasRenderingContext2D, nsCanvasRenderingContext2D) + NS_INTERFACE_MAP_BEGIN(nsCanvasRenderingContext2D) NS_INTERFACE_MAP_ENTRY(nsIDOMCanvasRenderingContext2D) NS_INTERFACE_MAP_ENTRY(nsICanvasRenderingContextInternal) diff --git a/content/events/src/nsDOMBeforeUnloadEvent.cpp b/content/events/src/nsDOMBeforeUnloadEvent.cpp index 6aac21936c6..360f9f42603 100644 --- a/content/events/src/nsDOMBeforeUnloadEvent.cpp +++ b/content/events/src/nsDOMBeforeUnloadEvent.cpp @@ -42,6 +42,8 @@ NS_IMPL_ADDREF_INHERITED(nsDOMBeforeUnloadEvent, nsDOMEvent) NS_IMPL_RELEASE_INHERITED(nsDOMBeforeUnloadEvent, nsDOMEvent) +DOMCI_DATA(BeforeUnloadEvent, nsDOMBeforeUnloadEvent) + NS_INTERFACE_MAP_BEGIN(nsDOMBeforeUnloadEvent) NS_INTERFACE_MAP_ENTRY(nsIDOMBeforeUnloadEvent) NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(BeforeUnloadEvent) diff --git a/content/events/src/nsDOMCommandEvent.cpp b/content/events/src/nsDOMCommandEvent.cpp index 96b2607c06f..849ab4515fd 100644 --- a/content/events/src/nsDOMCommandEvent.cpp +++ b/content/events/src/nsDOMCommandEvent.cpp @@ -59,6 +59,8 @@ nsDOMCommandEvent::~nsDOMCommandEvent() } } +DOMCI_DATA(CommandEvent, nsDOMCommandEvent) + NS_INTERFACE_MAP_BEGIN(nsDOMCommandEvent) NS_INTERFACE_MAP_ENTRY(nsIDOMCommandEvent) NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(CommandEvent) diff --git a/content/events/src/nsDOMDataContainerEvent.cpp b/content/events/src/nsDOMDataContainerEvent.cpp index f8c6fc6714e..03ef81c5f80 100644 --- a/content/events/src/nsDOMDataContainerEvent.cpp +++ b/content/events/src/nsDOMDataContainerEvent.cpp @@ -63,6 +63,8 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END NS_IMPL_ADDREF_INHERITED(nsDOMDataContainerEvent, nsDOMEvent) NS_IMPL_RELEASE_INHERITED(nsDOMDataContainerEvent, nsDOMEvent) +DOMCI_DATA(DataContainerEvent, nsDOMDataContainerEvent) + NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED(nsDOMDataContainerEvent) NS_INTERFACE_MAP_ENTRY(nsIDOMDataContainerEvent) NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(DataContainerEvent) diff --git a/content/events/src/nsDOMDataTransfer.cpp b/content/events/src/nsDOMDataTransfer.cpp index 138fbc82a1f..a89b5746329 100644 --- a/content/events/src/nsDOMDataTransfer.cpp +++ b/content/events/src/nsDOMDataTransfer.cpp @@ -56,6 +56,8 @@ NS_IMPL_CYCLE_COLLECTION_2(nsDOMDataTransfer, mDragTarget, mDragImage) NS_IMPL_CYCLE_COLLECTING_ADDREF(nsDOMDataTransfer) NS_IMPL_CYCLE_COLLECTING_RELEASE(nsDOMDataTransfer) +DOMCI_DATA(DataTransfer, nsDOMDataTransfer) + NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsDOMDataTransfer) NS_INTERFACE_MAP_ENTRY(nsIDOMDataTransfer) NS_INTERFACE_MAP_ENTRY(nsIDOMNSDataTransfer) diff --git a/content/events/src/nsDOMDragEvent.cpp b/content/events/src/nsDOMDragEvent.cpp index 2ceb5a0b315..cf290d94052 100644 --- a/content/events/src/nsDOMDragEvent.cpp +++ b/content/events/src/nsDOMDragEvent.cpp @@ -71,6 +71,8 @@ nsDOMDragEvent::~nsDOMDragEvent() NS_IMPL_ADDREF_INHERITED(nsDOMDragEvent, nsDOMMouseEvent) NS_IMPL_RELEASE_INHERITED(nsDOMDragEvent, nsDOMMouseEvent) +DOMCI_DATA(DragEvent, nsDOMDragEvent) + NS_INTERFACE_MAP_BEGIN(nsDOMDragEvent) NS_INTERFACE_MAP_ENTRY(nsIDOMDragEvent) NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(DragEvent) diff --git a/content/events/src/nsDOMEvent.cpp b/content/events/src/nsDOMEvent.cpp index 617cbbaba64..98115f77ffd 100644 --- a/content/events/src/nsDOMEvent.cpp +++ b/content/events/src/nsDOMEvent.cpp @@ -163,6 +163,8 @@ nsDOMEvent::~nsDOMEvent() NS_IMPL_CYCLE_COLLECTION_CLASS(nsDOMEvent) +DOMCI_DATA(Event, nsDOMEvent) + NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsDOMEvent) NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIDOMEvent) NS_INTERFACE_MAP_ENTRY(nsIDOMEvent) diff --git a/content/events/src/nsDOMKeyboardEvent.cpp b/content/events/src/nsDOMKeyboardEvent.cpp index be85b0708e3..4e5a72ef534 100644 --- a/content/events/src/nsDOMKeyboardEvent.cpp +++ b/content/events/src/nsDOMKeyboardEvent.cpp @@ -67,6 +67,8 @@ nsDOMKeyboardEvent::~nsDOMKeyboardEvent() NS_IMPL_ADDREF_INHERITED(nsDOMKeyboardEvent, nsDOMUIEvent) NS_IMPL_RELEASE_INHERITED(nsDOMKeyboardEvent, nsDOMUIEvent) +DOMCI_DATA(KeyboardEvent, nsDOMKeyboardEvent) + NS_INTERFACE_MAP_BEGIN(nsDOMKeyboardEvent) NS_INTERFACE_MAP_ENTRY(nsIDOMKeyEvent) NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(KeyboardEvent) diff --git a/content/events/src/nsDOMMessageEvent.cpp b/content/events/src/nsDOMMessageEvent.cpp index 547f766110a..9dbe4f35c0f 100644 --- a/content/events/src/nsDOMMessageEvent.cpp +++ b/content/events/src/nsDOMMessageEvent.cpp @@ -49,6 +49,8 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN_INHERITED(nsDOMMessageEvent, nsDOMEvent) NS_IMPL_CYCLE_COLLECTION_TRAVERSE_NSCOMPTR(mSource) NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END +DOMCI_DATA(MessageEvent, nsDOMMessageEvent) + NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED(nsDOMMessageEvent) NS_INTERFACE_MAP_ENTRY(nsIDOMMessageEvent) NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(MessageEvent) diff --git a/content/events/src/nsDOMMouseEvent.cpp b/content/events/src/nsDOMMouseEvent.cpp index 46b5952c126..acf2bddde14 100644 --- a/content/events/src/nsDOMMouseEvent.cpp +++ b/content/events/src/nsDOMMouseEvent.cpp @@ -95,6 +95,8 @@ nsDOMMouseEvent::~nsDOMMouseEvent() NS_IMPL_ADDREF_INHERITED(nsDOMMouseEvent, nsDOMUIEvent) NS_IMPL_RELEASE_INHERITED(nsDOMMouseEvent, nsDOMUIEvent) +DOMCI_DATA(MouseEvent, nsDOMMouseEvent) + NS_INTERFACE_MAP_BEGIN(nsDOMMouseEvent) NS_INTERFACE_MAP_ENTRY(nsIDOMMouseEvent) NS_INTERFACE_MAP_ENTRY(nsIDOMNSMouseEvent) diff --git a/content/events/src/nsDOMMouseScrollEvent.cpp b/content/events/src/nsDOMMouseScrollEvent.cpp index e05df1434e0..a9e2bfa9f87 100644 --- a/content/events/src/nsDOMMouseScrollEvent.cpp +++ b/content/events/src/nsDOMMouseScrollEvent.cpp @@ -80,6 +80,8 @@ nsDOMMouseScrollEvent::~nsDOMMouseScrollEvent() NS_IMPL_ADDREF_INHERITED(nsDOMMouseScrollEvent, nsDOMMouseEvent) NS_IMPL_RELEASE_INHERITED(nsDOMMouseScrollEvent, nsDOMMouseEvent) +DOMCI_DATA(MouseScrollEvent, nsDOMMouseScrollEvent) + NS_INTERFACE_MAP_BEGIN(nsDOMMouseScrollEvent) NS_INTERFACE_MAP_ENTRY(nsIDOMMouseScrollEvent) NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(MouseScrollEvent) diff --git a/content/events/src/nsDOMMutationEvent.cpp b/content/events/src/nsDOMMutationEvent.cpp index c6d2323741b..5c73cf446fe 100644 --- a/content/events/src/nsDOMMutationEvent.cpp +++ b/content/events/src/nsDOMMutationEvent.cpp @@ -59,6 +59,8 @@ nsDOMMutationEvent::~nsDOMMutationEvent() } } +DOMCI_DATA(MutationEvent, nsDOMMutationEvent) + NS_INTERFACE_MAP_BEGIN(nsDOMMutationEvent) NS_INTERFACE_MAP_ENTRY(nsIDOMMutationEvent) NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(MutationEvent) diff --git a/content/events/src/nsDOMNotifyPaintEvent.cpp b/content/events/src/nsDOMNotifyPaintEvent.cpp index 0ba2cc8d21b..fd9e064a175 100644 --- a/content/events/src/nsDOMNotifyPaintEvent.cpp +++ b/content/events/src/nsDOMNotifyPaintEvent.cpp @@ -56,6 +56,8 @@ nsDOMNotifyPaintEvent::nsDOMNotifyPaintEvent(nsPresContext* aPresContext, } } +DOMCI_DATA(NotifyPaintEvent, nsDOMNotifyPaintEvent) + NS_INTERFACE_MAP_BEGIN(nsDOMNotifyPaintEvent) NS_INTERFACE_MAP_ENTRY(nsIDOMNotifyPaintEvent) NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(NotifyPaintEvent) diff --git a/content/events/src/nsDOMOrientationEvent.cpp b/content/events/src/nsDOMOrientationEvent.cpp index 1c352fbc796..d07c79a43f0 100644 --- a/content/events/src/nsDOMOrientationEvent.cpp +++ b/content/events/src/nsDOMOrientationEvent.cpp @@ -40,6 +40,8 @@ NS_IMPL_ADDREF_INHERITED(nsDOMOrientationEvent, nsDOMEvent) NS_IMPL_RELEASE_INHERITED(nsDOMOrientationEvent, nsDOMEvent) +DOMCI_DATA(OrientationEvent, nsDOMOrientationEvent) + NS_INTERFACE_MAP_BEGIN(nsDOMOrientationEvent) NS_INTERFACE_MAP_ENTRY(nsIDOMOrientationEvent) NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(OrientationEvent) diff --git a/content/events/src/nsDOMPageTransitionEvent.cpp b/content/events/src/nsDOMPageTransitionEvent.cpp index 5d065081014..c1e404d7de4 100644 --- a/content/events/src/nsDOMPageTransitionEvent.cpp +++ b/content/events/src/nsDOMPageTransitionEvent.cpp @@ -39,6 +39,8 @@ #include "nsDOMPageTransitionEvent.h" #include "nsContentUtils.h" +DOMCI_DATA(PageTransitionEvent, nsDOMPageTransitionEvent) + NS_INTERFACE_MAP_BEGIN(nsDOMPageTransitionEvent) NS_INTERFACE_MAP_ENTRY(nsIDOMPageTransitionEvent) NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(PageTransitionEvent) diff --git a/content/events/src/nsDOMPopStateEvent.cpp b/content/events/src/nsDOMPopStateEvent.cpp index 6d4c0fb0d14..1acb38c130b 100644 --- a/content/events/src/nsDOMPopStateEvent.cpp +++ b/content/events/src/nsDOMPopStateEvent.cpp @@ -48,6 +48,8 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN_INHERITED(nsDOMPopStateEvent, nsDOMEvent NS_IMPL_CYCLE_COLLECTION_TRAVERSE_NSCOMPTR(mState) NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END +DOMCI_DATA(PopStateEvent, nsDOMPopStateEvent) + NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED(nsDOMPopStateEvent) NS_INTERFACE_MAP_ENTRY(nsIDOMPopStateEvent) NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(PopStateEvent) diff --git a/content/events/src/nsDOMPopupBlockedEvent.cpp b/content/events/src/nsDOMPopupBlockedEvent.cpp index cccfc2900b4..92db2c6cb57 100644 --- a/content/events/src/nsDOMPopupBlockedEvent.cpp +++ b/content/events/src/nsDOMPopupBlockedEvent.cpp @@ -44,6 +44,8 @@ NS_IMPL_ADDREF_INHERITED(nsDOMPopupBlockedEvent, nsDOMEvent) NS_IMPL_RELEASE_INHERITED(nsDOMPopupBlockedEvent, nsDOMEvent) +DOMCI_DATA(PopupBlockedEvent, nsDOMPopupBlockedEvent) + NS_INTERFACE_MAP_BEGIN(nsDOMPopupBlockedEvent) NS_INTERFACE_MAP_ENTRY(nsIDOMPopupBlockedEvent) NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(PopupBlockedEvent) diff --git a/content/events/src/nsDOMProgressEvent.cpp b/content/events/src/nsDOMProgressEvent.cpp index 86449b1cfaf..f8f05b55cc7 100644 --- a/content/events/src/nsDOMProgressEvent.cpp +++ b/content/events/src/nsDOMProgressEvent.cpp @@ -40,6 +40,8 @@ #include "nsContentUtils.h" +DOMCI_DATA(ProgressEvent, nsDOMProgressEvent) + NS_INTERFACE_MAP_BEGIN(nsDOMProgressEvent) NS_INTERFACE_MAP_ENTRY(nsIDOMProgressEvent) NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(ProgressEvent) diff --git a/content/events/src/nsDOMScrollAreaEvent.cpp b/content/events/src/nsDOMScrollAreaEvent.cpp index 585d07b5b9b..df2abf94428 100644 --- a/content/events/src/nsDOMScrollAreaEvent.cpp +++ b/content/events/src/nsDOMScrollAreaEvent.cpp @@ -59,6 +59,8 @@ nsDOMScrollAreaEvent::~nsDOMScrollAreaEvent() NS_IMPL_ADDREF_INHERITED(nsDOMScrollAreaEvent, nsDOMUIEvent) NS_IMPL_RELEASE_INHERITED(nsDOMScrollAreaEvent, nsDOMUIEvent) +DOMCI_DATA(ScrollAreaEvent, nsDOMScrollAreaEvent) + NS_INTERFACE_MAP_BEGIN(nsDOMScrollAreaEvent) NS_INTERFACE_MAP_ENTRY(nsIDOMScrollAreaEvent) NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(ScrollAreaEvent) diff --git a/content/events/src/nsDOMSimpleGestureEvent.cpp b/content/events/src/nsDOMSimpleGestureEvent.cpp index 39949fc8eb7..61374c488fa 100644 --- a/content/events/src/nsDOMSimpleGestureEvent.cpp +++ b/content/events/src/nsDOMSimpleGestureEvent.cpp @@ -66,6 +66,8 @@ nsDOMSimpleGestureEvent::~nsDOMSimpleGestureEvent() NS_IMPL_ADDREF_INHERITED(nsDOMSimpleGestureEvent, nsDOMUIEvent) NS_IMPL_RELEASE_INHERITED(nsDOMSimpleGestureEvent, nsDOMUIEvent) +DOMCI_DATA(SimpleGestureEvent, nsDOMSimpleGestureEvent) + NS_INTERFACE_MAP_BEGIN(nsDOMSimpleGestureEvent) NS_INTERFACE_MAP_ENTRY(nsIDOMSimpleGestureEvent) NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(SimpleGestureEvent) diff --git a/content/events/src/nsDOMTransitionEvent.cpp b/content/events/src/nsDOMTransitionEvent.cpp index 426916d4cef..6aa34aacff8 100644 --- a/content/events/src/nsDOMTransitionEvent.cpp +++ b/content/events/src/nsDOMTransitionEvent.cpp @@ -62,6 +62,8 @@ nsDOMTransitionEvent::~nsDOMTransitionEvent() } } +DOMCI_DATA(TransitionEvent, nsDOMTransitionEvent) + NS_INTERFACE_MAP_BEGIN(nsDOMTransitionEvent) NS_INTERFACE_MAP_ENTRY(nsIDOMTransitionEvent) NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(TransitionEvent) diff --git a/content/events/src/nsDOMUIEvent.cpp b/content/events/src/nsDOMUIEvent.cpp index 8e9c299f33b..fa7e5226651 100644 --- a/content/events/src/nsDOMUIEvent.cpp +++ b/content/events/src/nsDOMUIEvent.cpp @@ -114,6 +114,8 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END NS_IMPL_ADDREF_INHERITED(nsDOMUIEvent, nsDOMEvent) NS_IMPL_RELEASE_INHERITED(nsDOMUIEvent, nsDOMEvent) +DOMCI_DATA(UIEvent, nsDOMUIEvent) + NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED(nsDOMUIEvent) NS_INTERFACE_MAP_ENTRY(nsIDOMUIEvent) NS_INTERFACE_MAP_ENTRY(nsIDOMNSUIEvent) diff --git a/content/events/src/nsDOMXULCommandEvent.cpp b/content/events/src/nsDOMXULCommandEvent.cpp index dfa16541c35..1090d318f62 100644 --- a/content/events/src/nsDOMXULCommandEvent.cpp +++ b/content/events/src/nsDOMXULCommandEvent.cpp @@ -68,6 +68,8 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN_INHERITED(nsDOMXULCommandEvent, NS_IMPL_CYCLE_COLLECTION_TRAVERSE_NSCOMPTR(mSourceEvent) NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END +DOMCI_DATA(XULCommandEvent, nsDOMXULCommandEvent) + NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED(nsDOMXULCommandEvent) NS_INTERFACE_MAP_ENTRY(nsIDOMXULCommandEvent) NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(XULCommandEvent) diff --git a/content/events/src/nsEventListenerService.cpp b/content/events/src/nsEventListenerService.cpp index 31f0d8909b1..fda2c5a651a 100644 --- a/content/events/src/nsEventListenerService.cpp +++ b/content/events/src/nsEventListenerService.cpp @@ -57,6 +57,8 @@ NS_IMPL_CYCLE_COLLECTION_1(nsEventListenerInfo, mListener) +DOMCI_DATA(EventListenerInfo, nsEventListenerInfo) + NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsEventListenerInfo) NS_INTERFACE_MAP_ENTRY(nsIEventListenerInfo) NS_INTERFACE_MAP_ENTRY(nsISupports) diff --git a/content/events/src/nsPaintRequest.cpp b/content/events/src/nsPaintRequest.cpp index fa7a02fc4b1..855199e6667 100644 --- a/content/events/src/nsPaintRequest.cpp +++ b/content/events/src/nsPaintRequest.cpp @@ -42,6 +42,8 @@ #include "nsClientRect.h" #include "nsIFrame.h" +DOMCI_DATA(PaintRequest, nsPaintRequest) + NS_INTERFACE_TABLE_HEAD(nsPaintRequest) NS_INTERFACE_TABLE1(nsPaintRequest, nsIDOMPaintRequest) NS_INTERFACE_TABLE_TO_MAP_SEGUE @@ -79,6 +81,8 @@ nsPaintRequest::GetReason(nsAString& aResult) return NS_OK; } +DOMCI_DATA(PaintRequestList, nsPaintRequestList) + NS_INTERFACE_TABLE_HEAD(nsPaintRequestList) NS_INTERFACE_TABLE1(nsPaintRequestList, nsIDOMPaintRequestList) NS_INTERFACE_TABLE_TO_MAP_SEGUE diff --git a/content/html/content/src/nsClientRect.cpp b/content/html/content/src/nsClientRect.cpp index dedb2e4a8a2..dc5f9c485ee 100644 --- a/content/html/content/src/nsClientRect.cpp +++ b/content/html/content/src/nsClientRect.cpp @@ -42,6 +42,8 @@ #include "nsPresContext.h" +DOMCI_DATA(ClientRect, nsClientRect) + NS_INTERFACE_TABLE_HEAD(nsClientRect) NS_INTERFACE_TABLE1(nsClientRect, nsIDOMClientRect) NS_INTERFACE_TABLE_TO_MAP_SEGUE @@ -98,6 +100,8 @@ nsClientRect::GetHeight(float* aResult) return NS_OK; } +DOMCI_DATA(ClientRectList, nsClientRectList) + NS_INTERFACE_TABLE_HEAD(nsClientRectList) NS_INTERFACE_TABLE1(nsClientRectList, nsIDOMClientRectList) NS_INTERFACE_TABLE_TO_MAP_SEGUE diff --git a/content/html/content/src/nsHTMLAnchorElement.cpp b/content/html/content/src/nsHTMLAnchorElement.cpp index 8fbe7669b80..1e6384d992a 100644 --- a/content/html/content/src/nsHTMLAnchorElement.cpp +++ b/content/html/content/src/nsHTMLAnchorElement.cpp @@ -150,6 +150,8 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLAnchorElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLAnchorElement, nsGenericElement) +DOMCI_DATA(HTMLAnchorElement, nsHTMLAnchorElement) + // QueryInterface implementation for nsHTMLAnchorElement NS_INTERFACE_TABLE_HEAD(nsHTMLAnchorElement) NS_HTML_CONTENT_INTERFACE_TABLE5(nsHTMLAnchorElement, diff --git a/content/html/content/src/nsHTMLAreaElement.cpp b/content/html/content/src/nsHTMLAreaElement.cpp index c7a69e94bc2..17288706d11 100644 --- a/content/html/content/src/nsHTMLAreaElement.cpp +++ b/content/html/content/src/nsHTMLAreaElement.cpp @@ -135,6 +135,8 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLAreaElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLAreaElement, nsGenericElement) +DOMCI_DATA(HTMLAreaElement, nsHTMLAreaElement) + // QueryInterface implementation for nsHTMLAreaElement NS_INTERFACE_TABLE_HEAD(nsHTMLAreaElement) NS_HTML_CONTENT_INTERFACE_TABLE5(nsHTMLAreaElement, diff --git a/content/html/content/src/nsHTMLAudioElement.cpp b/content/html/content/src/nsHTMLAudioElement.cpp index 0b888ca6c39..2d701f9aed0 100644 --- a/content/html/content/src/nsHTMLAudioElement.cpp +++ b/content/html/content/src/nsHTMLAudioElement.cpp @@ -94,6 +94,8 @@ NS_NewHTMLAudioElement(nsINodeInfo *aNodeInfo, PRBool aFromParser) NS_IMPL_ADDREF_INHERITED(nsHTMLAudioElement, nsHTMLMediaElement) NS_IMPL_RELEASE_INHERITED(nsHTMLAudioElement, nsHTMLMediaElement) +DOMCI_DATA(HTMLAudioElement, nsHTMLAudioElement) + NS_INTERFACE_TABLE_HEAD(nsHTMLAudioElement) NS_HTML_CONTENT_INTERFACE_TABLE3(nsHTMLAudioElement, nsIDOMHTMLMediaElement, nsIDOMHTMLAudioElement, nsIJSNativeInitializer) diff --git a/content/html/content/src/nsHTMLBRElement.cpp b/content/html/content/src/nsHTMLBRElement.cpp index 2c45e6ccca6..41ed2dc55d7 100644 --- a/content/html/content/src/nsHTMLBRElement.cpp +++ b/content/html/content/src/nsHTMLBRElement.cpp @@ -91,6 +91,8 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLBRElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLBRElement, nsGenericElement) +DOMCI_DATA(HTMLBRElement, nsHTMLBRElement) + // QueryInterface implementation for nsHTMLBRElement NS_INTERFACE_TABLE_HEAD(nsHTMLBRElement) NS_HTML_CONTENT_INTERFACE_TABLE1(nsHTMLBRElement, nsIDOMHTMLBRElement) diff --git a/content/html/content/src/nsHTMLBodyElement.cpp b/content/html/content/src/nsHTMLBodyElement.cpp index b5189c80168..38b42114721 100644 --- a/content/html/content/src/nsHTMLBodyElement.cpp +++ b/content/html/content/src/nsHTMLBodyElement.cpp @@ -296,6 +296,8 @@ nsHTMLBodyElement::~nsHTMLBodyElement() NS_IMPL_ADDREF_INHERITED(nsHTMLBodyElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLBodyElement, nsGenericElement) +DOMCI_DATA(HTMLBodyElement, nsHTMLBodyElement) + // QueryInterface implementation for nsHTMLBodyElement NS_INTERFACE_TABLE_HEAD(nsHTMLBodyElement) NS_HTML_CONTENT_INTERFACE_TABLE1(nsHTMLBodyElement, nsIDOMHTMLBodyElement) diff --git a/content/html/content/src/nsHTMLButtonElement.cpp b/content/html/content/src/nsHTMLButtonElement.cpp index 123112c1bc4..6cd3250cb13 100644 --- a/content/html/content/src/nsHTMLButtonElement.cpp +++ b/content/html/content/src/nsHTMLButtonElement.cpp @@ -161,6 +161,8 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLButtonElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLButtonElement, nsGenericElement) +DOMCI_DATA(HTMLButtonElement, nsHTMLButtonElement) + // QueryInterface implementation for nsHTMLButtonElement NS_INTERFACE_TABLE_HEAD(nsHTMLButtonElement) NS_HTML_CONTENT_INTERFACE_TABLE2(nsHTMLButtonElement, diff --git a/content/html/content/src/nsHTMLCanvasElement.cpp b/content/html/content/src/nsHTMLCanvasElement.cpp index ce00f8f137b..56254af2714 100644 --- a/content/html/content/src/nsHTMLCanvasElement.cpp +++ b/content/html/content/src/nsHTMLCanvasElement.cpp @@ -161,6 +161,8 @@ nsHTMLCanvasElement::~nsHTMLCanvasElement() NS_IMPL_ADDREF_INHERITED(nsHTMLCanvasElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLCanvasElement, nsGenericElement) +DOMCI_DATA(HTMLCanvasElement, nsHTMLCanvasElement) + NS_INTERFACE_TABLE_HEAD(nsHTMLCanvasElement) NS_HTML_CONTENT_INTERFACE_TABLE2(nsHTMLCanvasElement, nsIDOMHTMLCanvasElement, diff --git a/content/html/content/src/nsHTMLDelElement.cpp b/content/html/content/src/nsHTMLDelElement.cpp index 60b676495ce..2fda083f698 100644 --- a/content/html/content/src/nsHTMLDelElement.cpp +++ b/content/html/content/src/nsHTMLDelElement.cpp @@ -83,6 +83,8 @@ nsHTMLModElement::~nsHTMLModElement() NS_IMPL_ADDREF_INHERITED(nsHTMLModElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLModElement, nsGenericElement) +DOMCI_DATA(HTMLDelElement, nsHTMLModElement) +DOMCI_DATA(HTMLInsElement, nsHTMLModElement) // QueryInterface implementation for nsHTMLModElement NS_INTERFACE_TABLE_HEAD(nsHTMLModElement) diff --git a/content/html/content/src/nsHTMLDivElement.cpp b/content/html/content/src/nsHTMLDivElement.cpp index df3437fb880..549a204a4d3 100644 --- a/content/html/content/src/nsHTMLDivElement.cpp +++ b/content/html/content/src/nsHTMLDivElement.cpp @@ -92,6 +92,8 @@ NS_IMPL_RELEASE_INHERITED(nsHTMLDivElement, nsGenericElement) +DOMCI_DATA(HTMLDivElement, nsHTMLDivElement) + // QueryInterface implementation for nsHTMLDivElement NS_INTERFACE_TABLE_HEAD(nsHTMLDivElement) NS_HTML_CONTENT_INTERFACE_TABLE1(nsHTMLDivElement, nsIDOMHTMLDivElement) diff --git a/content/html/content/src/nsHTMLFieldSetElement.cpp b/content/html/content/src/nsHTMLFieldSetElement.cpp index 4d021154748..17a04a1ea61 100644 --- a/content/html/content/src/nsHTMLFieldSetElement.cpp +++ b/content/html/content/src/nsHTMLFieldSetElement.cpp @@ -95,6 +95,8 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLFieldSetElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLFieldSetElement, nsGenericElement) +DOMCI_DATA(HTMLFieldSetElement, nsHTMLFieldSetElement) + // QueryInterface implementation for nsHTMLFieldSetElement NS_INTERFACE_TABLE_HEAD(nsHTMLFieldSetElement) NS_HTML_CONTENT_INTERFACE_TABLE1(nsHTMLFieldSetElement, diff --git a/content/html/content/src/nsHTMLFontElement.cpp b/content/html/content/src/nsHTMLFontElement.cpp index ffc302236e5..06f6a76b1f4 100644 --- a/content/html/content/src/nsHTMLFontElement.cpp +++ b/content/html/content/src/nsHTMLFontElement.cpp @@ -95,6 +95,8 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLFontElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLFontElement, nsGenericElement) +DOMCI_DATA(HTMLFontElement, nsHTMLFontElement) + // QueryInterface implementation for nsHTMLFontElement NS_INTERFACE_TABLE_HEAD(nsHTMLFontElement) NS_HTML_CONTENT_INTERFACE_TABLE1(nsHTMLFontElement, nsIDOMHTMLFontElement) diff --git a/content/html/content/src/nsHTMLFormElement.cpp b/content/html/content/src/nsHTMLFormElement.cpp index 3c04fb18732..816db02bcd6 100644 --- a/content/html/content/src/nsHTMLFormElement.cpp +++ b/content/html/content/src/nsHTMLFormElement.cpp @@ -301,6 +301,8 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLFormElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLFormElement, nsGenericElement) +DOMCI_DATA(HTMLFormElement, nsHTMLFormElement) + // QueryInterface implementation for nsHTMLFormElement NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(nsHTMLFormElement) NS_HTML_CONTENT_INTERFACE_TABLE5(nsHTMLFormElement, @@ -1875,6 +1877,8 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN(nsFormControlList) tmp->mNameLookupTable.EnumerateRead(ControlTraverser, &cb); NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END +DOMCI_DATA(HTMLCollection, nsFormControlList) + // XPConnect interface list for nsFormControlList NS_INTERFACE_TABLE_HEAD(nsFormControlList) NS_INTERFACE_TABLE2(nsFormControlList, diff --git a/content/html/content/src/nsHTMLFrameElement.cpp b/content/html/content/src/nsHTMLFrameElement.cpp index 7c9e51ae911..38218898c31 100644 --- a/content/html/content/src/nsHTMLFrameElement.cpp +++ b/content/html/content/src/nsHTMLFrameElement.cpp @@ -93,6 +93,8 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLFrameElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLFrameElement, nsGenericElement) +DOMCI_DATA(HTMLFrameElement, nsHTMLFrameElement) + // QueryInterface implementation for nsHTMLFrameElement NS_INTERFACE_TABLE_HEAD(nsHTMLFrameElement) NS_HTML_CONTENT_INTERFACE_TABLE1(nsHTMLFrameElement, nsIDOMHTMLFrameElement) diff --git a/content/html/content/src/nsHTMLFrameSetElement.cpp b/content/html/content/src/nsHTMLFrameSetElement.cpp index e209d41dbe3..8f74331168f 100644 --- a/content/html/content/src/nsHTMLFrameSetElement.cpp +++ b/content/html/content/src/nsHTMLFrameSetElement.cpp @@ -137,6 +137,8 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLFrameSetElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLFrameSetElement, nsGenericElement) +DOMCI_DATA(HTMLFrameSetElement, nsHTMLFrameSetElement) + // QueryInterface implementation for nsHTMLFrameSetElement NS_INTERFACE_TABLE_HEAD(nsHTMLFrameSetElement) NS_HTML_CONTENT_INTERFACE_TABLE2(nsHTMLFrameSetElement, diff --git a/content/html/content/src/nsHTMLHRElement.cpp b/content/html/content/src/nsHTMLHRElement.cpp index c30f240a1cf..a36810f8414 100644 --- a/content/html/content/src/nsHTMLHRElement.cpp +++ b/content/html/content/src/nsHTMLHRElement.cpp @@ -97,6 +97,8 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLHRElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLHRElement, nsGenericElement) +DOMCI_DATA(HTMLHRElement, nsHTMLHRElement) + // QueryInterface implementation for nsHTMLHRElement NS_INTERFACE_TABLE_HEAD(nsHTMLHRElement) NS_HTML_CONTENT_INTERFACE_TABLE2(nsHTMLHRElement, diff --git a/content/html/content/src/nsHTMLHeadElement.cpp b/content/html/content/src/nsHTMLHeadElement.cpp index 885575154eb..b197f7a8683 100644 --- a/content/html/content/src/nsHTMLHeadElement.cpp +++ b/content/html/content/src/nsHTMLHeadElement.cpp @@ -85,6 +85,8 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLHeadElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLHeadElement, nsGenericElement) +DOMCI_DATA(HTMLHeadElement, nsHTMLHeadElement) + // QueryInterface implementation for nsHTMLHeadElement NS_INTERFACE_TABLE_HEAD(nsHTMLHeadElement) NS_HTML_CONTENT_INTERFACE_TABLE1(nsHTMLHeadElement, nsIDOMHTMLHeadElement) diff --git a/content/html/content/src/nsHTMLHeadingElement.cpp b/content/html/content/src/nsHTMLHeadingElement.cpp index 2568e7e095e..d6ef8c34098 100644 --- a/content/html/content/src/nsHTMLHeadingElement.cpp +++ b/content/html/content/src/nsHTMLHeadingElement.cpp @@ -93,6 +93,8 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLHeadingElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLHeadingElement, nsGenericElement) +DOMCI_DATA(HTMLHeadingElement, nsHTMLHeadingElement) + // QueryInterface implementation for nsHTMLHeadingElement NS_INTERFACE_TABLE_HEAD(nsHTMLHeadingElement) NS_HTML_CONTENT_INTERFACE_TABLE1(nsHTMLHeadingElement, diff --git a/content/html/content/src/nsHTMLHtmlElement.cpp b/content/html/content/src/nsHTMLHtmlElement.cpp index cb763094e72..68fc782d592 100644 --- a/content/html/content/src/nsHTMLHtmlElement.cpp +++ b/content/html/content/src/nsHTMLHtmlElement.cpp @@ -87,6 +87,8 @@ NS_IMPL_RELEASE_INHERITED(nsHTMLHtmlElement, nsGenericElement) +DOMCI_DATA(HTMLHtmlElement, nsHTMLHtmlElement) + // QueryInterface implementation for nsHTMLHtmlElement NS_INTERFACE_TABLE_HEAD(nsHTMLHtmlElement) NS_HTML_CONTENT_INTERFACE_TABLE1(nsHTMLHtmlElement, nsIDOMHTMLHtmlElement) diff --git a/content/html/content/src/nsHTMLIFrameElement.cpp b/content/html/content/src/nsHTMLIFrameElement.cpp index f54f28f5347..6bbdb8ddfb5 100644 --- a/content/html/content/src/nsHTMLIFrameElement.cpp +++ b/content/html/content/src/nsHTMLIFrameElement.cpp @@ -108,6 +108,8 @@ nsHTMLIFrameElement::~nsHTMLIFrameElement() NS_IMPL_ADDREF_INHERITED(nsHTMLIFrameElement,nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLIFrameElement,nsGenericElement) +DOMCI_DATA(HTMLIFrameElement, nsHTMLIFrameElement) + // QueryInterface implementation for nsHTMLIFrameElement NS_INTERFACE_TABLE_HEAD(nsHTMLIFrameElement) NS_HTML_CONTENT_INTERFACE_TABLE_BEGIN(nsHTMLIFrameElement) diff --git a/content/html/content/src/nsHTMLImageElement.cpp b/content/html/content/src/nsHTMLImageElement.cpp index f3ab6c7f3b2..dae92c73ec2 100644 --- a/content/html/content/src/nsHTMLImageElement.cpp +++ b/content/html/content/src/nsHTMLImageElement.cpp @@ -193,6 +193,8 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLImageElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLImageElement, nsGenericElement) +DOMCI_DATA(HTMLImageElement, nsHTMLImageElement) + // QueryInterface implementation for nsHTMLImageElement NS_INTERFACE_TABLE_HEAD(nsHTMLImageElement) NS_HTML_CONTENT_INTERFACE_TABLE6(nsHTMLImageElement, diff --git a/content/html/content/src/nsHTMLInputElement.cpp b/content/html/content/src/nsHTMLInputElement.cpp index 148cdc4a76f..672725df150 100644 --- a/content/html/content/src/nsHTMLInputElement.cpp +++ b/content/html/content/src/nsHTMLInputElement.cpp @@ -498,6 +498,8 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLInputElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLInputElement, nsGenericElement) +DOMCI_DATA(HTMLInputElement, nsHTMLInputElement) + // QueryInterface implementation for nsHTMLInputElement NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(nsHTMLInputElement) NS_HTML_CONTENT_INTERFACE_TABLE10(nsHTMLInputElement, diff --git a/content/html/content/src/nsHTMLLIElement.cpp b/content/html/content/src/nsHTMLLIElement.cpp index 5fa6cf0e1bf..f1dafb2b00a 100644 --- a/content/html/content/src/nsHTMLLIElement.cpp +++ b/content/html/content/src/nsHTMLLIElement.cpp @@ -92,6 +92,8 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLLIElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLLIElement, nsGenericElement) +DOMCI_DATA(HTMLLIElement, nsHTMLLIElement) + // QueryInterface implementation for nsHTMLLIElement NS_INTERFACE_TABLE_HEAD(nsHTMLLIElement) NS_HTML_CONTENT_INTERFACE_TABLE1(nsHTMLLIElement, nsIDOMHTMLLIElement) diff --git a/content/html/content/src/nsHTMLLabelElement.cpp b/content/html/content/src/nsHTMLLabelElement.cpp index 0fa71aa0605..83f94a3ae5d 100644 --- a/content/html/content/src/nsHTMLLabelElement.cpp +++ b/content/html/content/src/nsHTMLLabelElement.cpp @@ -137,6 +137,8 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLLabelElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLLabelElement, nsGenericElement) +DOMCI_DATA(HTMLLabelElement, nsHTMLLabelElement) + // QueryInterface implementation for nsHTMLLabelElement NS_INTERFACE_TABLE_HEAD(nsHTMLLabelElement) NS_HTML_CONTENT_INTERFACE_TABLE1(nsHTMLLabelElement, nsIDOMHTMLLabelElement) diff --git a/content/html/content/src/nsHTMLLegendElement.cpp b/content/html/content/src/nsHTMLLegendElement.cpp index 530f91ccca2..e3f260e5bb9 100644 --- a/content/html/content/src/nsHTMLLegendElement.cpp +++ b/content/html/content/src/nsHTMLLegendElement.cpp @@ -127,6 +127,8 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLLegendElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLLegendElement, nsGenericElement) +DOMCI_DATA(HTMLLegendElement, nsHTMLLegendElement) + // QueryInterface implementation for nsHTMLLegendElement NS_INTERFACE_TABLE_HEAD(nsHTMLLegendElement) NS_HTML_CONTENT_INTERFACE_TABLE1(nsHTMLLegendElement, nsIDOMHTMLLegendElement) diff --git a/content/html/content/src/nsHTMLLinkElement.cpp b/content/html/content/src/nsHTMLLinkElement.cpp index 0aeb6212ece..2cf7b86cd6c 100644 --- a/content/html/content/src/nsHTMLLinkElement.cpp +++ b/content/html/content/src/nsHTMLLinkElement.cpp @@ -146,6 +146,8 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLLinkElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLLinkElement, nsGenericElement) +DOMCI_DATA(HTMLLinkElement, nsHTMLLinkElement) + // QueryInterface implementation for nsHTMLLinkElement NS_INTERFACE_TABLE_HEAD(nsHTMLLinkElement) NS_HTML_CONTENT_INTERFACE_TABLE5(nsHTMLLinkElement, diff --git a/content/html/content/src/nsHTMLMapElement.cpp b/content/html/content/src/nsHTMLMapElement.cpp index 62b59700cdd..9d0d437c960 100644 --- a/content/html/content/src/nsHTMLMapElement.cpp +++ b/content/html/content/src/nsHTMLMapElement.cpp @@ -101,6 +101,8 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLMapElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLMapElement, nsGenericElement) +DOMCI_DATA(HTMLMapElement, nsHTMLMapElement) + // QueryInterface implementation for nsHTMLMapElement NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(nsHTMLMapElement) NS_HTML_CONTENT_INTERFACE_TABLE1(nsHTMLMapElement, nsIDOMHTMLMapElement) diff --git a/content/html/content/src/nsHTMLMediaError.cpp b/content/html/content/src/nsHTMLMediaError.cpp index 5162d22f601..8195f24068f 100644 --- a/content/html/content/src/nsHTMLMediaError.cpp +++ b/content/html/content/src/nsHTMLMediaError.cpp @@ -41,6 +41,8 @@ NS_IMPL_ADDREF(nsHTMLMediaError) NS_IMPL_RELEASE(nsHTMLMediaError) +DOMCI_DATA(HTMLMediaError, nsHTMLMediaError) + NS_INTERFACE_MAP_BEGIN(nsHTMLMediaError) NS_INTERFACE_MAP_ENTRY(nsISupports) NS_INTERFACE_MAP_ENTRY(nsIDOMHTMLMediaError) diff --git a/content/html/content/src/nsHTMLMetaElement.cpp b/content/html/content/src/nsHTMLMetaElement.cpp index 98c9062c4d0..3312f07cfc8 100644 --- a/content/html/content/src/nsHTMLMetaElement.cpp +++ b/content/html/content/src/nsHTMLMetaElement.cpp @@ -85,6 +85,7 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLMetaElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLMetaElement, nsGenericElement) +DOMCI_DATA(HTMLMetaElement, nsHTMLMetaElement) // QueryInterface implementation for nsHTMLMetaElement NS_INTERFACE_TABLE_HEAD(nsHTMLMetaElement) diff --git a/content/html/content/src/nsHTMLOListElement.cpp b/content/html/content/src/nsHTMLOListElement.cpp index 67e1a3c3546..dd0764ef6b9 100644 --- a/content/html/content/src/nsHTMLOListElement.cpp +++ b/content/html/content/src/nsHTMLOListElement.cpp @@ -102,6 +102,10 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLSharedListElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLSharedListElement, nsGenericElement) +DOMCI_DATA(HTMLOListElement, nsHTMLSharedListElement) +DOMCI_DATA(HTMLDListElement, nsHTMLSharedListElement) +DOMCI_DATA(HTMLUListElement, nsHTMLSharedListElement) + // QueryInterface implementation for nsHTMLSharedListElement NS_INTERFACE_TABLE_HEAD(nsHTMLSharedListElement) NS_HTML_CONTENT_INTERFACE_TABLE_AMBIGUOUS_BEGIN(nsHTMLSharedListElement, diff --git a/content/html/content/src/nsHTMLObjectElement.cpp b/content/html/content/src/nsHTMLObjectElement.cpp index 72c320ea7c1..e77c24648e4 100644 --- a/content/html/content/src/nsHTMLObjectElement.cpp +++ b/content/html/content/src/nsHTMLObjectElement.cpp @@ -185,6 +185,8 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END NS_IMPL_ADDREF_INHERITED(nsHTMLObjectElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLObjectElement, nsGenericElement) +DOMCI_DATA(HTMLObjectElement, nsHTMLObjectElement) + NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(nsHTMLObjectElement) NS_HTML_CONTENT_INTERFACE_TABLE_BEGIN(nsHTMLObjectElement) NS_INTERFACE_TABLE_ENTRY(nsHTMLObjectElement, nsIDOMHTMLObjectElement) diff --git a/content/html/content/src/nsHTMLOptGroupElement.cpp b/content/html/content/src/nsHTMLOptGroupElement.cpp index e2d7e6ab836..585e7621694 100644 --- a/content/html/content/src/nsHTMLOptGroupElement.cpp +++ b/content/html/content/src/nsHTMLOptGroupElement.cpp @@ -114,6 +114,8 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLOptGroupElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLOptGroupElement, nsGenericElement) +DOMCI_DATA(HTMLOptGroupElement, nsHTMLOptGroupElement) + // QueryInterface implementation for nsHTMLOptGroupElement NS_INTERFACE_TABLE_HEAD(nsHTMLOptGroupElement) NS_HTML_CONTENT_INTERFACE_TABLE1(nsHTMLOptGroupElement, diff --git a/content/html/content/src/nsHTMLOptionElement.cpp b/content/html/content/src/nsHTMLOptionElement.cpp index 8a416499303..fa5355830bd 100644 --- a/content/html/content/src/nsHTMLOptionElement.cpp +++ b/content/html/content/src/nsHTMLOptionElement.cpp @@ -180,6 +180,8 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLOptionElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLOptionElement, nsGenericElement) +DOMCI_DATA(HTMLOptionElement, nsHTMLOptionElement) + // QueryInterface implementation for nsHTMLOptionElement NS_INTERFACE_TABLE_HEAD(nsHTMLOptionElement) NS_HTML_CONTENT_INTERFACE_TABLE4(nsHTMLOptionElement, diff --git a/content/html/content/src/nsHTMLParagraphElement.cpp b/content/html/content/src/nsHTMLParagraphElement.cpp index 7bd3d9e72a2..41ce698887d 100644 --- a/content/html/content/src/nsHTMLParagraphElement.cpp +++ b/content/html/content/src/nsHTMLParagraphElement.cpp @@ -95,6 +95,7 @@ nsHTMLParagraphElement::~nsHTMLParagraphElement() NS_IMPL_ADDREF_INHERITED(nsHTMLParagraphElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLParagraphElement, nsGenericElement) +DOMCI_DATA(HTMLParagraphElement, nsHTMLParagraphElement) // QueryInterface implementation for nsHTMLParagraphElement NS_INTERFACE_TABLE_HEAD(nsHTMLParagraphElement) diff --git a/content/html/content/src/nsHTMLPreElement.cpp b/content/html/content/src/nsHTMLPreElement.cpp index 9039b6895c9..7506f17282d 100644 --- a/content/html/content/src/nsHTMLPreElement.cpp +++ b/content/html/content/src/nsHTMLPreElement.cpp @@ -98,6 +98,8 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLPreElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLPreElement, nsGenericElement) +DOMCI_DATA(HTMLPreElement, nsHTMLPreElement) + // QueryInterface implementation for nsHTMLPreElement NS_INTERFACE_TABLE_HEAD(nsHTMLPreElement) NS_HTML_CONTENT_INTERFACE_TABLE1(nsHTMLPreElement, nsIDOMHTMLPreElement) diff --git a/content/html/content/src/nsHTMLScriptElement.cpp b/content/html/content/src/nsHTMLScriptElement.cpp index 4780431c1f8..5fc96b19401 100644 --- a/content/html/content/src/nsHTMLScriptElement.cpp +++ b/content/html/content/src/nsHTMLScriptElement.cpp @@ -377,6 +377,8 @@ nsHTMLScriptElement::~nsHTMLScriptElement() NS_IMPL_ADDREF_INHERITED(nsHTMLScriptElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLScriptElement, nsGenericElement) +DOMCI_DATA(HTMLScriptElement, nsHTMLScriptElement) + // QueryInterface implementation for nsHTMLScriptElement NS_INTERFACE_TABLE_HEAD(nsHTMLScriptElement) NS_HTML_CONTENT_INTERFACE_TABLE5(nsHTMLScriptElement, diff --git a/content/html/content/src/nsHTMLSelectElement.cpp b/content/html/content/src/nsHTMLSelectElement.cpp index 29e71405441..2bc603ce38e 100644 --- a/content/html/content/src/nsHTMLSelectElement.cpp +++ b/content/html/content/src/nsHTMLSelectElement.cpp @@ -173,6 +173,8 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLSelectElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLSelectElement, nsGenericElement) +DOMCI_DATA(HTMLSelectElement, nsHTMLSelectElement) + // QueryInterface implementation for nsHTMLSelectElement NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(nsHTMLSelectElement) NS_HTML_CONTENT_INTERFACE_TABLE3(nsHTMLSelectElement, @@ -1808,6 +1810,8 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END // nsISupports +DOMCI_DATA(HTMLOptionsCollection, nsHTMLOptionCollection) + // QueryInterface implementation for nsHTMLOptionCollection NS_INTERFACE_TABLE_HEAD(nsHTMLOptionCollection) NS_INTERFACE_TABLE4(nsHTMLOptionCollection, diff --git a/content/html/content/src/nsHTMLSharedElement.cpp b/content/html/content/src/nsHTMLSharedElement.cpp index cafb0180bd7..5f892c9a45b 100644 --- a/content/html/content/src/nsHTMLSharedElement.cpp +++ b/content/html/content/src/nsHTMLSharedElement.cpp @@ -146,6 +146,16 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLSharedElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLSharedElement, nsGenericElement) +DOMCI_DATA(HTMLParamElement, nsHTMLSharedElement) +DOMCI_DATA(HTMLWBRElement, nsHTMLSharedElement) +DOMCI_DATA(HTMLIsIndexElement, nsHTMLSharedElement) +DOMCI_DATA(HTMLBaseElement, nsHTMLSharedElement) +DOMCI_DATA(HTMLSpacerElement, nsHTMLSharedElement) +DOMCI_DATA(HTMLDirectoryElement, nsHTMLSharedElement) +DOMCI_DATA(HTMLMenuElement, nsHTMLSharedElement) +DOMCI_DATA(HTMLQuoteElement, nsHTMLSharedElement) +DOMCI_DATA(HTMLBaseFontElement, nsHTMLSharedElement) + // QueryInterface implementation for nsHTMLSharedElement NS_INTERFACE_TABLE_HEAD(nsHTMLSharedElement) NS_HTML_CONTENT_INTERFACE_TABLE_AMBIGUOUS_BEGIN(nsHTMLSharedElement, diff --git a/content/html/content/src/nsHTMLSharedObjectElement.cpp b/content/html/content/src/nsHTMLSharedObjectElement.cpp index e41133f6a44..80dd5bcf124 100644 --- a/content/html/content/src/nsHTMLSharedObjectElement.cpp +++ b/content/html/content/src/nsHTMLSharedObjectElement.cpp @@ -217,6 +217,9 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END NS_IMPL_ADDREF_INHERITED(nsHTMLSharedObjectElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLSharedObjectElement, nsGenericElement) +DOMCI_DATA(HTMLAppletElement, nsHTMLSharedObjectElement) +DOMCI_DATA(HTMLEmbedElement, nsHTMLSharedObjectElement) + NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(nsHTMLSharedObjectElement) NS_HTML_CONTENT_INTERFACE_TABLE_AMBIGUOUS_BEGIN(nsHTMLSharedObjectElement, nsIDOMHTMLAppletElement) diff --git a/content/html/content/src/nsHTMLSourceElement.cpp b/content/html/content/src/nsHTMLSourceElement.cpp index 4a553017aaf..f7d3f1e2187 100644 --- a/content/html/content/src/nsHTMLSourceElement.cpp +++ b/content/html/content/src/nsHTMLSourceElement.cpp @@ -100,6 +100,8 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLSourceElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLSourceElement, nsGenericElement) +DOMCI_DATA(HTMLSourceElement, nsHTMLSourceElement) + // QueryInterface implementation for nsHTMLSourceElement NS_INTERFACE_TABLE_HEAD(nsHTMLSourceElement) NS_HTML_CONTENT_INTERFACE_TABLE1(nsHTMLSourceElement, nsIDOMHTMLSourceElement) diff --git a/content/html/content/src/nsHTMLSpanElement.cpp b/content/html/content/src/nsHTMLSpanElement.cpp index 3e223d3ca24..7b19cce99f6 100644 --- a/content/html/content/src/nsHTMLSpanElement.cpp +++ b/content/html/content/src/nsHTMLSpanElement.cpp @@ -86,6 +86,8 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLSpanElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLSpanElement, nsGenericElement) +DOMCI_DATA(HTMLSpanElement, nsHTMLSpanElement) + // QueryInterface implementation for nsHTMLSpanElement NS_INTERFACE_TABLE_HEAD(nsHTMLSpanElement) NS_HTML_CONTENT_INTERFACE_TABLE0(nsHTMLSpanElement) @@ -131,6 +133,8 @@ public: nsresult Clone(nsINodeInfo *aNodeInfo, nsINode **aResult) const; }; +DOMCI_DATA(HTMLUnknownElement, nsHTMLUnknownElement) + NS_INTERFACE_MAP_BEGIN(nsHTMLUnknownElement) NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(HTMLUnknownElement) NS_INTERFACE_MAP_END_INHERITING(nsHTMLSpanElement) diff --git a/content/html/content/src/nsHTMLStyleElement.cpp b/content/html/content/src/nsHTMLStyleElement.cpp index 74afdb57175..1c0d532ff29 100644 --- a/content/html/content/src/nsHTMLStyleElement.cpp +++ b/content/html/content/src/nsHTMLStyleElement.cpp @@ -135,6 +135,8 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLStyleElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLStyleElement, nsGenericElement) +DOMCI_DATA(HTMLStyleElement, nsHTMLStyleElement) + // QueryInterface implementation for nsHTMLStyleElement NS_INTERFACE_TABLE_HEAD(nsHTMLStyleElement) NS_HTML_CONTENT_INTERFACE_TABLE4(nsHTMLStyleElement, diff --git a/content/html/content/src/nsHTMLTableCaptionElement.cpp b/content/html/content/src/nsHTMLTableCaptionElement.cpp index 131a82e943b..a21c02fd6fb 100644 --- a/content/html/content/src/nsHTMLTableCaptionElement.cpp +++ b/content/html/content/src/nsHTMLTableCaptionElement.cpp @@ -93,6 +93,8 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLTableCaptionElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLTableCaptionElement, nsGenericElement) +DOMCI_DATA(HTMLTableCaptionElement, nsHTMLTableCaptionElement) + // QueryInterface implementation for nsHTMLTableCaptionElement NS_INTERFACE_TABLE_HEAD(nsHTMLTableCaptionElement) NS_HTML_CONTENT_INTERFACE_TABLE1(nsHTMLTableCaptionElement, diff --git a/content/html/content/src/nsHTMLTableCellElement.cpp b/content/html/content/src/nsHTMLTableCellElement.cpp index b2ee2a8dcf6..7d506a33e34 100644 --- a/content/html/content/src/nsHTMLTableCellElement.cpp +++ b/content/html/content/src/nsHTMLTableCellElement.cpp @@ -104,6 +104,8 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLTableCellElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLTableCellElement, nsGenericElement) +DOMCI_DATA(HTMLTableCellElement, nsHTMLTableCellElement) + // QueryInterface implementation for nsHTMLTableCellElement NS_INTERFACE_TABLE_HEAD(nsHTMLTableCellElement) NS_HTML_CONTENT_INTERFACE_TABLE1(nsHTMLTableCellElement, diff --git a/content/html/content/src/nsHTMLTableColElement.cpp b/content/html/content/src/nsHTMLTableColElement.cpp index 63c4ecf39e7..c991beb221a 100644 --- a/content/html/content/src/nsHTMLTableColElement.cpp +++ b/content/html/content/src/nsHTMLTableColElement.cpp @@ -97,6 +97,8 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLTableColElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLTableColElement, nsGenericElement) +DOMCI_DATA(HTMLTableColElement, nsHTMLTableColElement) + // QueryInterface implementation for nsHTMLTableColElement NS_INTERFACE_TABLE_HEAD(nsHTMLTableColElement) NS_HTML_CONTENT_INTERFACE_TABLE1(nsHTMLTableColElement, diff --git a/content/html/content/src/nsHTMLTableElement.cpp b/content/html/content/src/nsHTMLTableElement.cpp index 292e7550142..e8b0185244a 100644 --- a/content/html/content/src/nsHTMLTableElement.cpp +++ b/content/html/content/src/nsHTMLTableElement.cpp @@ -408,6 +408,8 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLTableElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLTableElement, nsGenericElement) +DOMCI_DATA(HTMLTableElement, nsHTMLTableElement) + // QueryInterface implementation for nsHTMLTableElement NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(nsHTMLTableElement) NS_HTML_CONTENT_INTERFACE_TABLE1(nsHTMLTableElement, nsIDOMHTMLTableElement) diff --git a/content/html/content/src/nsHTMLTableRowElement.cpp b/content/html/content/src/nsHTMLTableRowElement.cpp index e7843148c66..cc1d0526e51 100644 --- a/content/html/content/src/nsHTMLTableRowElement.cpp +++ b/content/html/content/src/nsHTMLTableRowElement.cpp @@ -108,6 +108,8 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLTableRowElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLTableRowElement, nsGenericElement) +DOMCI_DATA(HTMLTableRowElement, nsHTMLTableRowElement) + // QueryInterface implementation for nsHTMLTableRowElement NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(nsHTMLTableRowElement) NS_HTML_CONTENT_INTERFACE_TABLE1(nsHTMLTableRowElement, diff --git a/content/html/content/src/nsHTMLTableSectionElement.cpp b/content/html/content/src/nsHTMLTableSectionElement.cpp index e191f3563f4..4fab8c4ebe8 100644 --- a/content/html/content/src/nsHTMLTableSectionElement.cpp +++ b/content/html/content/src/nsHTMLTableSectionElement.cpp @@ -106,6 +106,8 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLTableSectionElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLTableSectionElement, nsGenericElement) +DOMCI_DATA(HTMLTableSectionElement, nsHTMLTableSectionElement) + // QueryInterface implementation for nsHTMLTableSectionElement NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(nsHTMLTableSectionElement) NS_HTML_CONTENT_INTERFACE_TABLE1(nsHTMLTableSectionElement, diff --git a/content/html/content/src/nsHTMLTextAreaElement.cpp b/content/html/content/src/nsHTMLTextAreaElement.cpp index 4c70af33dc4..737a0820bb4 100644 --- a/content/html/content/src/nsHTMLTextAreaElement.cpp +++ b/content/html/content/src/nsHTMLTextAreaElement.cpp @@ -260,6 +260,8 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLTextAreaElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLTextAreaElement, nsGenericElement) +DOMCI_DATA(HTMLTextAreaElement, nsHTMLTextAreaElement) + // QueryInterface implementation for nsHTMLTextAreaElement NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(nsHTMLTextAreaElement) NS_HTML_CONTENT_INTERFACE_TABLE5(nsHTMLTextAreaElement, diff --git a/content/html/content/src/nsHTMLTitleElement.cpp b/content/html/content/src/nsHTMLTitleElement.cpp index eb2d98f6618..d762c1e7b9e 100644 --- a/content/html/content/src/nsHTMLTitleElement.cpp +++ b/content/html/content/src/nsHTMLTitleElement.cpp @@ -108,6 +108,8 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLTitleElement, nsGenericElement) NS_IMPL_RELEASE_INHERITED(nsHTMLTitleElement, nsGenericElement) +DOMCI_DATA(HTMLTitleElement, nsHTMLTitleElement) + // QueryInterface implementation for nsHTMLTitleElement NS_INTERFACE_TABLE_HEAD(nsHTMLTitleElement) NS_HTML_CONTENT_INTERFACE_TABLE2(nsHTMLTitleElement, diff --git a/content/html/content/src/nsHTMLVideoElement.cpp b/content/html/content/src/nsHTMLVideoElement.cpp index 93337548790..e477946903f 100644 --- a/content/html/content/src/nsHTMLVideoElement.cpp +++ b/content/html/content/src/nsHTMLVideoElement.cpp @@ -73,6 +73,8 @@ NS_IMPL_NS_NEW_HTML_ELEMENT_CHECK_PARSER(Video) NS_IMPL_ADDREF_INHERITED(nsHTMLVideoElement, nsHTMLMediaElement) NS_IMPL_RELEASE_INHERITED(nsHTMLVideoElement, nsHTMLMediaElement) +DOMCI_DATA(HTMLVideoElement, nsHTMLVideoElement) + NS_INTERFACE_TABLE_HEAD(nsHTMLVideoElement) NS_HTML_CONTENT_INTERFACE_TABLE2(nsHTMLVideoElement, nsIDOMHTMLMediaElement, nsIDOMHTMLVideoElement) NS_HTML_CONTENT_INTERFACE_TABLE_TO_MAP_SEGUE(nsHTMLVideoElement, diff --git a/content/html/document/src/nsHTMLDocument.cpp b/content/html/document/src/nsHTMLDocument.cpp index 5a78fd11259..d5d68e9e8d1 100644 --- a/content/html/document/src/nsHTMLDocument.cpp +++ b/content/html/document/src/nsHTMLDocument.cpp @@ -272,6 +272,8 @@ NS_IMPL_ADDREF_INHERITED(nsHTMLDocument, nsDocument) NS_IMPL_RELEASE_INHERITED(nsHTMLDocument, nsDocument) +DOMCI_DATA(HTMLDocument, nsHTMLDocument) + // QueryInterface implementation for nsHTMLDocument NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(nsHTMLDocument) NS_DOCUMENT_INTERFACE_TABLE_BEGIN(nsHTMLDocument) diff --git a/content/html/document/src/nsImageDocument.cpp b/content/html/document/src/nsImageDocument.cpp index 930b07a9cea..15853fa3999 100644 --- a/content/html/document/src/nsImageDocument.cpp +++ b/content/html/document/src/nsImageDocument.cpp @@ -299,6 +299,8 @@ NS_IMPL_CYCLE_COLLECTION_UNLINK_END NS_IMPL_ADDREF_INHERITED(nsImageDocument, nsMediaDocument) NS_IMPL_RELEASE_INHERITED(nsImageDocument, nsMediaDocument) +DOMCI_DATA(ImageDocument, nsImageDocument) + NS_INTERFACE_TABLE_HEAD(nsImageDocument) NS_HTML_DOCUMENT_INTERFACE_TABLE_BEGIN(nsImageDocument) NS_INTERFACE_TABLE_ENTRY(nsImageDocument, nsIImageDocument) diff --git a/content/mathml/content/src/nsMathMLElement.cpp b/content/mathml/content/src/nsMathMLElement.cpp index 62754a81e2f..35d0ae4ec5c 100644 --- a/content/mathml/content/src/nsMathMLElement.cpp +++ b/content/mathml/content/src/nsMathMLElement.cpp @@ -55,6 +55,8 @@ //---------------------------------------------------------------------- // nsISupports methods: +DOMCI_DATA(MathMLElement, nsMathMLElement) + NS_INTERFACE_TABLE_HEAD(nsMathMLElement) NS_NODE_OFFSET_AND_INTERFACE_TABLE_BEGIN(nsMathMLElement) NS_INTERFACE_TABLE_ENTRY(nsMathMLElement, nsIDOMNode) diff --git a/content/svg/content/src/nsDOMSVGEvent.cpp b/content/svg/content/src/nsDOMSVGEvent.cpp index 2f4ed5f3957..a34e10c1083 100644 --- a/content/svg/content/src/nsDOMSVGEvent.cpp +++ b/content/svg/content/src/nsDOMSVGEvent.cpp @@ -67,6 +67,8 @@ nsDOMSVGEvent::nsDOMSVGEvent(nsPresContext* aPresContext, NS_IMPL_ADDREF_INHERITED(nsDOMSVGEvent, nsDOMEvent) NS_IMPL_RELEASE_INHERITED(nsDOMSVGEvent, nsDOMEvent) +DOMCI_DATA(SVGEvent, nsDOMSVGEvent) + NS_INTERFACE_MAP_BEGIN(nsDOMSVGEvent) NS_INTERFACE_MAP_ENTRY(nsIDOMSVGEvent) NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(SVGEvent) diff --git a/content/svg/content/src/nsDOMSVGZoomEvent.cpp b/content/svg/content/src/nsDOMSVGZoomEvent.cpp index 402f24f0dd7..d7c37ab7b85 100644 --- a/content/svg/content/src/nsDOMSVGZoomEvent.cpp +++ b/content/svg/content/src/nsDOMSVGZoomEvent.cpp @@ -108,6 +108,8 @@ nsDOMSVGZoomEvent::nsDOMSVGZoomEvent(nsPresContext* aPresContext, NS_IMPL_ADDREF_INHERITED(nsDOMSVGZoomEvent, nsDOMUIEvent) NS_IMPL_RELEASE_INHERITED(nsDOMSVGZoomEvent, nsDOMUIEvent) +DOMCI_DATA(SVGZoomEvent, nsDOMSVGZoomEvent) + NS_INTERFACE_MAP_BEGIN(nsDOMSVGZoomEvent) NS_INTERFACE_MAP_ENTRY(nsIDOMSVGZoomEvent) NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(SVGZoomEvent) diff --git a/content/svg/content/src/nsSVGAElement.cpp b/content/svg/content/src/nsSVGAElement.cpp index 5aa338b672e..477f224ba33 100644 --- a/content/svg/content/src/nsSVGAElement.cpp +++ b/content/svg/content/src/nsSVGAElement.cpp @@ -60,6 +60,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(A) NS_IMPL_ADDREF_INHERITED(nsSVGAElement, nsSVGAElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGAElement, nsSVGAElementBase) +DOMCI_DATA(SVGAElement, nsSVGAElement) + NS_INTERFACE_TABLE_HEAD(nsSVGAElement) NS_NODE_INTERFACE_TABLE6(nsSVGAElement, nsIDOMNode, diff --git a/content/svg/content/src/nsSVGAngle.cpp b/content/svg/content/src/nsSVGAngle.cpp index a40284ece71..b9994d5c433 100644 --- a/content/svg/content/src/nsSVGAngle.cpp +++ b/content/svg/content/src/nsSVGAngle.cpp @@ -119,6 +119,9 @@ NS_IMPL_CYCLE_COLLECTING_RELEASE(nsSVGAngle::DOMAnimatedAngle) NS_IMPL_ADDREF(DOMSVGAngle) NS_IMPL_RELEASE(DOMSVGAngle) +DOMCI_DATA(SVGAngle, nsSVGAngle::DOMBaseVal) +DOMCI_DATA(SVGAnimatedAngle, nsSVGAngle::DOMAnimatedAngle) + NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsSVGAngle::DOMBaseVal) NS_INTERFACE_MAP_ENTRY(nsIDOMSVGAngle) NS_INTERFACE_MAP_ENTRY(nsISupports) diff --git a/content/svg/content/src/nsSVGAngle.h b/content/svg/content/src/nsSVGAngle.h index 451295e9a59..0210919673b 100644 --- a/content/svg/content/src/nsSVGAngle.h +++ b/content/svg/content/src/nsSVGAngle.h @@ -103,6 +103,7 @@ private: nsresult ToDOMBaseVal(nsIDOMSVGAngle **aResult, nsSVGElement* aSVGElement); nsresult ToDOMAnimVal(nsIDOMSVGAngle **aResult, nsSVGElement* aSVGElement); +public: struct DOMBaseVal : public nsIDOMSVGAngle { NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/content/svg/content/src/nsSVGAnimateElement.cpp b/content/svg/content/src/nsSVGAnimateElement.cpp index a8fcc537afd..7d6635a6e61 100644 --- a/content/svg/content/src/nsSVGAnimateElement.cpp +++ b/content/svg/content/src/nsSVGAnimateElement.cpp @@ -76,6 +76,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(Animate) NS_IMPL_ADDREF_INHERITED(nsSVGAnimateElement,nsSVGAnimateElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGAnimateElement,nsSVGAnimateElementBase) +DOMCI_DATA(SVGAnimateElement, nsSVGAnimateElement) + NS_INTERFACE_TABLE_HEAD(nsSVGAnimateElement) NS_NODE_INTERFACE_TABLE5(nsSVGAnimateElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, nsIDOMSVGAnimationElement, diff --git a/content/svg/content/src/nsSVGAnimateTransformElement.cpp b/content/svg/content/src/nsSVGAnimateTransformElement.cpp index 34cf3041593..f75473a2326 100644 --- a/content/svg/content/src/nsSVGAnimateTransformElement.cpp +++ b/content/svg/content/src/nsSVGAnimateTransformElement.cpp @@ -89,6 +89,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(AnimateTransform) NS_IMPL_ADDREF_INHERITED(nsSVGAnimateTransformElement,nsSVGAnimateTransformElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGAnimateTransformElement,nsSVGAnimateTransformElementBase) +DOMCI_DATA(SVGAnimateTransformElement, nsSVGAnimateTransformElement) + NS_INTERFACE_TABLE_HEAD(nsSVGAnimateTransformElement) NS_NODE_INTERFACE_TABLE5(nsSVGAnimateTransformElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, diff --git a/content/svg/content/src/nsSVGAnimatedLengthList.cpp b/content/svg/content/src/nsSVGAnimatedLengthList.cpp index 97328ab4300..5e284a59727 100644 --- a/content/svg/content/src/nsSVGAnimatedLengthList.cpp +++ b/content/svg/content/src/nsSVGAnimatedLengthList.cpp @@ -114,6 +114,8 @@ nsSVGAnimatedLengthList::Init(nsIDOMSVGLengthList* baseVal) NS_IMPL_ADDREF(nsSVGAnimatedLengthList) NS_IMPL_RELEASE(nsSVGAnimatedLengthList) +DOMCI_DATA(SVGAnimatedLengthList, nsSVGAnimatedLengthList) + NS_INTERFACE_MAP_BEGIN(nsSVGAnimatedLengthList) NS_INTERFACE_MAP_ENTRY(nsISVGValue) NS_INTERFACE_MAP_ENTRY(nsIDOMSVGAnimatedLengthList) diff --git a/content/svg/content/src/nsSVGAnimatedNumberList.cpp b/content/svg/content/src/nsSVGAnimatedNumberList.cpp index e3791586b81..79deafd0dcc 100644 --- a/content/svg/content/src/nsSVGAnimatedNumberList.cpp +++ b/content/svg/content/src/nsSVGAnimatedNumberList.cpp @@ -114,6 +114,8 @@ nsSVGAnimatedNumberList::Init(nsIDOMSVGNumberList* aBaseVal) NS_IMPL_ADDREF(nsSVGAnimatedNumberList) NS_IMPL_RELEASE(nsSVGAnimatedNumberList) +DOMCI_DATA(SVGAnimatedNumberList, nsSVGAnimatedNumberList) + NS_INTERFACE_MAP_BEGIN(nsSVGAnimatedNumberList) NS_INTERFACE_MAP_ENTRY(nsISVGValue) NS_INTERFACE_MAP_ENTRY(nsIDOMSVGAnimatedNumberList) diff --git a/content/svg/content/src/nsSVGAnimatedTransformList.cpp b/content/svg/content/src/nsSVGAnimatedTransformList.cpp index c341a6a29c1..4cfa10bac6b 100644 --- a/content/svg/content/src/nsSVGAnimatedTransformList.cpp +++ b/content/svg/content/src/nsSVGAnimatedTransformList.cpp @@ -67,6 +67,8 @@ nsSVGAnimatedTransformList::Init(nsIDOMSVGTransformList* baseVal) NS_IMPL_ADDREF(nsSVGAnimatedTransformList) NS_IMPL_RELEASE(nsSVGAnimatedTransformList) +DOMCI_DATA(SVGAnimatedTransformList, nsSVGAnimatedTransformList) + NS_INTERFACE_MAP_BEGIN(nsSVGAnimatedTransformList) NS_INTERFACE_MAP_ENTRY(nsISVGValue) NS_INTERFACE_MAP_ENTRY(nsIDOMSVGAnimatedTransformList) diff --git a/content/svg/content/src/nsSVGBoolean.cpp b/content/svg/content/src/nsSVGBoolean.cpp index fb57ee75de6..7371fb8b454 100644 --- a/content/svg/content/src/nsSVGBoolean.cpp +++ b/content/svg/content/src/nsSVGBoolean.cpp @@ -47,6 +47,8 @@ NS_SVG_VAL_IMPL_CYCLE_COLLECTION(nsSVGBoolean::DOMAnimatedBoolean, mSVGElement) NS_IMPL_CYCLE_COLLECTING_ADDREF(nsSVGBoolean::DOMAnimatedBoolean) NS_IMPL_CYCLE_COLLECTING_RELEASE(nsSVGBoolean::DOMAnimatedBoolean) +DOMCI_DATA(SVGAnimatedBoolean, nsSVGBoolean::DOMAnimatedBoolean) + NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsSVGBoolean::DOMAnimatedBoolean) NS_INTERFACE_MAP_ENTRY(nsIDOMSVGAnimatedBoolean) NS_INTERFACE_MAP_ENTRY(nsISupports) diff --git a/content/svg/content/src/nsSVGBoolean.h b/content/svg/content/src/nsSVGBoolean.h index 3a2de29f7a6..f34174c6d23 100644 --- a/content/svg/content/src/nsSVGBoolean.h +++ b/content/svg/content/src/nsSVGBoolean.h @@ -78,6 +78,7 @@ private: PRPackedBool mIsAnimated; PRUint8 mAttrEnum; // element specified tracking for attribute +public: struct DOMAnimatedBoolean : public nsIDOMSVGAnimatedBoolean { NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/content/svg/content/src/nsSVGCircleElement.cpp b/content/svg/content/src/nsSVGCircleElement.cpp index fb7690782b7..f6087299669 100644 --- a/content/svg/content/src/nsSVGCircleElement.cpp +++ b/content/svg/content/src/nsSVGCircleElement.cpp @@ -92,6 +92,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(Circle) NS_IMPL_ADDREF_INHERITED(nsSVGCircleElement,nsSVGCircleElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGCircleElement,nsSVGCircleElementBase) +DOMCI_DATA(SVGCircleElement, nsSVGCircleElement) + NS_INTERFACE_TABLE_HEAD(nsSVGCircleElement) NS_NODE_INTERFACE_TABLE4(nsSVGCircleElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, nsIDOMSVGCircleElement) diff --git a/content/svg/content/src/nsSVGClipPathElement.cpp b/content/svg/content/src/nsSVGClipPathElement.cpp index 3f30fb47050..4d16c683526 100644 --- a/content/svg/content/src/nsSVGClipPathElement.cpp +++ b/content/svg/content/src/nsSVGClipPathElement.cpp @@ -53,6 +53,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(ClipPath) NS_IMPL_ADDREF_INHERITED(nsSVGClipPathElement,nsSVGClipPathElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGClipPathElement,nsSVGClipPathElementBase) +DOMCI_DATA(SVGClipPathElement, nsSVGClipPathElement) + NS_INTERFACE_TABLE_HEAD(nsSVGClipPathElement) NS_NODE_INTERFACE_TABLE5(nsSVGClipPathElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, nsIDOMSVGClipPathElement, diff --git a/content/svg/content/src/nsSVGDefsElement.cpp b/content/svg/content/src/nsSVGDefsElement.cpp index 9833310bb72..09d2a0cdd87 100644 --- a/content/svg/content/src/nsSVGDefsElement.cpp +++ b/content/svg/content/src/nsSVGDefsElement.cpp @@ -79,6 +79,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(Defs) NS_IMPL_ADDREF_INHERITED(nsSVGDefsElement,nsSVGDefsElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGDefsElement,nsSVGDefsElementBase) +DOMCI_DATA(SVGDefsElement, nsSVGDefsElement) + NS_INTERFACE_TABLE_HEAD(nsSVGDefsElement) NS_NODE_INTERFACE_TABLE4(nsSVGDefsElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, nsIDOMSVGDefsElement) diff --git a/content/svg/content/src/nsSVGDescElement.cpp b/content/svg/content/src/nsSVGDescElement.cpp index 7397d46edd2..a7e441ea7ce 100644 --- a/content/svg/content/src/nsSVGDescElement.cpp +++ b/content/svg/content/src/nsSVGDescElement.cpp @@ -73,6 +73,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(Desc) NS_IMPL_ADDREF_INHERITED(nsSVGDescElement, nsSVGDescElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGDescElement, nsSVGDescElementBase) +DOMCI_DATA(SVGDescElement, nsSVGDescElement) + NS_INTERFACE_TABLE_HEAD(nsSVGDescElement) NS_NODE_INTERFACE_TABLE4(nsSVGDescElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, nsIDOMSVGDescElement) diff --git a/content/svg/content/src/nsSVGEllipseElement.cpp b/content/svg/content/src/nsSVGEllipseElement.cpp index 14217f17975..9fc3f000257 100644 --- a/content/svg/content/src/nsSVGEllipseElement.cpp +++ b/content/svg/content/src/nsSVGEllipseElement.cpp @@ -94,6 +94,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(Ellipse) NS_IMPL_ADDREF_INHERITED(nsSVGEllipseElement,nsSVGEllipseElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGEllipseElement,nsSVGEllipseElementBase) +DOMCI_DATA(SVGEllipseElement, nsSVGEllipseElement) + NS_INTERFACE_TABLE_HEAD(nsSVGEllipseElement) NS_NODE_INTERFACE_TABLE4(nsSVGEllipseElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, nsIDOMSVGEllipseElement) diff --git a/content/svg/content/src/nsSVGEnum.cpp b/content/svg/content/src/nsSVGEnum.cpp index 1afa7fa64fe..3625e208fd4 100644 --- a/content/svg/content/src/nsSVGEnum.cpp +++ b/content/svg/content/src/nsSVGEnum.cpp @@ -49,6 +49,8 @@ NS_SVG_VAL_IMPL_CYCLE_COLLECTION(nsSVGEnum::DOMAnimatedEnum, mSVGElement) NS_IMPL_CYCLE_COLLECTING_ADDREF(nsSVGEnum::DOMAnimatedEnum) NS_IMPL_CYCLE_COLLECTING_RELEASE(nsSVGEnum::DOMAnimatedEnum) +DOMCI_DATA(SVGAnimatedEnumeration, nsSVGEnum::DOMAnimatedEnum) + NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsSVGEnum::DOMAnimatedEnum) NS_INTERFACE_MAP_ENTRY(nsIDOMSVGAnimatedEnumeration) NS_INTERFACE_MAP_ENTRY(nsISupports) diff --git a/content/svg/content/src/nsSVGEnum.h b/content/svg/content/src/nsSVGEnum.h index 55d9e54bd9a..a408c77087f 100644 --- a/content/svg/content/src/nsSVGEnum.h +++ b/content/svg/content/src/nsSVGEnum.h @@ -88,6 +88,7 @@ private: nsSVGEnumMapping *GetMapping(nsSVGElement *aSVGElement); +public: struct DOMAnimatedEnum : public nsIDOMSVGAnimatedEnumeration { NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/content/svg/content/src/nsSVGFilterElement.cpp b/content/svg/content/src/nsSVGFilterElement.cpp index 19e5189796f..51d8039a051 100644 --- a/content/svg/content/src/nsSVGFilterElement.cpp +++ b/content/svg/content/src/nsSVGFilterElement.cpp @@ -78,6 +78,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(Filter) NS_IMPL_ADDREF_INHERITED(nsSVGFilterElement,nsSVGFilterElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGFilterElement,nsSVGFilterElementBase) +DOMCI_DATA(SVGFilterElement, nsSVGFilterElement) + NS_INTERFACE_TABLE_HEAD(nsSVGFilterElement) NS_NODE_INTERFACE_TABLE5(nsSVGFilterElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, nsIDOMSVGFilterElement, diff --git a/content/svg/content/src/nsSVGFilters.cpp b/content/svg/content/src/nsSVGFilters.cpp index 1a0de510edd..516a3170b25 100644 --- a/content/svg/content/src/nsSVGFilters.cpp +++ b/content/svg/content/src/nsSVGFilters.cpp @@ -430,6 +430,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(FEGaussianBlur) NS_IMPL_ADDREF_INHERITED(nsSVGFEGaussianBlurElement,nsSVGFEGaussianBlurElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGFEGaussianBlurElement,nsSVGFEGaussianBlurElementBase) +DOMCI_DATA(SVGFEGaussianBlurElement, nsSVGFEGaussianBlurElement) + NS_INTERFACE_TABLE_HEAD(nsSVGFEGaussianBlurElement) NS_NODE_INTERFACE_TABLE5(nsSVGFEGaussianBlurElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, @@ -904,6 +906,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(FEBlend) NS_IMPL_ADDREF_INHERITED(nsSVGFEBlendElement,nsSVGFEBlendElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGFEBlendElement,nsSVGFEBlendElementBase) +DOMCI_DATA(SVGFEBlendElement, nsSVGFEBlendElement) + NS_INTERFACE_TABLE_HEAD(nsSVGFEBlendElement) NS_NODE_INTERFACE_TABLE5(nsSVGFEBlendElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, @@ -1105,6 +1109,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(FEColorMatrix) NS_IMPL_ADDREF_INHERITED(nsSVGFEColorMatrixElement,nsSVGFEColorMatrixElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGFEColorMatrixElement,nsSVGFEColorMatrixElementBase) +DOMCI_DATA(SVGFEColorMatrixElement, nsSVGFEColorMatrixElement) + NS_INTERFACE_TABLE_HEAD(nsSVGFEColorMatrixElement) NS_NODE_INTERFACE_TABLE5(nsSVGFEColorMatrixElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, @@ -1443,6 +1449,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(FEComposite) NS_IMPL_ADDREF_INHERITED(nsSVGFECompositeElement,nsSVGFECompositeElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGFECompositeElement,nsSVGFECompositeElementBase) +DOMCI_DATA(SVGFECompositeElement, nsSVGFECompositeElement) + NS_INTERFACE_TABLE_HEAD(nsSVGFECompositeElement) NS_NODE_INTERFACE_TABLE5(nsSVGFECompositeElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, @@ -1702,6 +1710,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(FEComponentTransfer) NS_IMPL_ADDREF_INHERITED(nsSVGFEComponentTransferElement,nsSVGFEComponentTransferElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGFEComponentTransferElement,nsSVGFEComponentTransferElementBase) +DOMCI_DATA(SVGFEComponentTransferElement, nsSVGFEComponentTransferElement) + NS_INTERFACE_TABLE_HEAD(nsSVGFEComponentTransferElement) NS_NODE_INTERFACE_TABLE5(nsSVGFEComponentTransferElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, @@ -2087,6 +2097,8 @@ public: NS_IMPL_ADDREF_INHERITED(nsSVGFEFuncRElement,nsSVGComponentTransferFunctionElement) NS_IMPL_RELEASE_INHERITED(nsSVGFEFuncRElement,nsSVGComponentTransferFunctionElement) +DOMCI_DATA(SVGFEFuncRElement, nsSVGFEFuncRElement) + NS_INTERFACE_TABLE_HEAD(nsSVGFEFuncRElement) NS_NODE_INTERFACE_TABLE5(nsSVGFEFuncRElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, @@ -2128,6 +2140,8 @@ public: NS_IMPL_ADDREF_INHERITED(nsSVGFEFuncGElement,nsSVGComponentTransferFunctionElement) NS_IMPL_RELEASE_INHERITED(nsSVGFEFuncGElement,nsSVGComponentTransferFunctionElement) +DOMCI_DATA(SVGFEFuncGElement, nsSVGFEFuncGElement) + NS_INTERFACE_TABLE_HEAD(nsSVGFEFuncGElement) NS_NODE_INTERFACE_TABLE5(nsSVGFEFuncGElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, @@ -2169,6 +2183,8 @@ public: NS_IMPL_ADDREF_INHERITED(nsSVGFEFuncBElement,nsSVGComponentTransferFunctionElement) NS_IMPL_RELEASE_INHERITED(nsSVGFEFuncBElement,nsSVGComponentTransferFunctionElement) +DOMCI_DATA(SVGFEFuncBElement, nsSVGFEFuncBElement) + NS_INTERFACE_TABLE_HEAD(nsSVGFEFuncBElement) NS_NODE_INTERFACE_TABLE5(nsSVGFEFuncBElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, @@ -2210,6 +2226,8 @@ public: NS_IMPL_ADDREF_INHERITED(nsSVGFEFuncAElement,nsSVGComponentTransferFunctionElement) NS_IMPL_RELEASE_INHERITED(nsSVGFEFuncAElement,nsSVGComponentTransferFunctionElement) +DOMCI_DATA(SVGFEFuncAElement, nsSVGFEFuncAElement) + NS_INTERFACE_TABLE_HEAD(nsSVGFEFuncAElement) NS_NODE_INTERFACE_TABLE5(nsSVGFEFuncAElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, @@ -2322,6 +2340,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(FEMerge) NS_IMPL_ADDREF_INHERITED(nsSVGFEMergeElement,nsSVGFEMergeElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGFEMergeElement,nsSVGFEMergeElementBase) +DOMCI_DATA(SVGFEMergeElement, nsSVGFEMergeElement) + NS_INTERFACE_TABLE_HEAD(nsSVGFEMergeElement) NS_NODE_INTERFACE_TABLE5(nsSVGFEMergeElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, @@ -2392,6 +2412,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(FEMergeNode) NS_IMPL_ADDREF_INHERITED(nsSVGFEMergeNodeElement,nsSVGFEMergeNodeElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGFEMergeNodeElement,nsSVGFEMergeNodeElementBase) +DOMCI_DATA(SVGFEMergeNodeElement, nsSVGFEMergeNodeElement) + NS_INTERFACE_TABLE_HEAD(nsSVGFEMergeNodeElement) NS_NODE_INTERFACE_TABLE4(nsSVGFEMergeNodeElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, nsIDOMSVGFEMergeNodeElement) @@ -2505,6 +2527,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(FEOffset) NS_IMPL_ADDREF_INHERITED(nsSVGFEOffsetElement,nsSVGFEOffsetElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGFEOffsetElement,nsSVGFEOffsetElementBase) +DOMCI_DATA(SVGFEOffsetElement, nsSVGFEOffsetElement) + NS_INTERFACE_TABLE_HEAD(nsSVGFEOffsetElement) NS_NODE_INTERFACE_TABLE5(nsSVGFEOffsetElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, @@ -2693,6 +2717,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(FEFlood) NS_IMPL_ADDREF_INHERITED(nsSVGFEFloodElement,nsSVGFEFloodElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGFEFloodElement,nsSVGFEFloodElementBase) +DOMCI_DATA(SVGFEFloodElement, nsSVGFEFloodElement) + NS_INTERFACE_TABLE_HEAD(nsSVGFEFloodElement) NS_NODE_INTERFACE_TABLE5(nsSVGFEFloodElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, @@ -2832,6 +2858,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(FETile) NS_IMPL_ADDREF_INHERITED(nsSVGFETileElement,nsSVGFETileElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGFETileElement,nsSVGFETileElementBase) +DOMCI_DATA(SVGFETileElement, nsSVGFETileElement) + NS_INTERFACE_TABLE_HEAD(nsSVGFETileElement) NS_NODE_INTERFACE_TABLE5(nsSVGFETileElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, @@ -3136,6 +3164,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(FETurbulence) NS_IMPL_ADDREF_INHERITED(nsSVGFETurbulenceElement,nsSVGFETurbulenceElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGFETurbulenceElement,nsSVGFETurbulenceElementBase) +DOMCI_DATA(SVGFETurbulenceElement, nsSVGFETurbulenceElement) + NS_INTERFACE_TABLE_HEAD(nsSVGFETurbulenceElement) NS_NODE_INTERFACE_TABLE5(nsSVGFETurbulenceElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, @@ -3572,6 +3602,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(FEMorphology) NS_IMPL_ADDREF_INHERITED(nsSVGFEMorphologyElement,nsSVGFEMorphologyElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGFEMorphologyElement,nsSVGFEMorphologyElementBase) +DOMCI_DATA(SVGFEMorphologyElement, nsSVGFEMorphologyElement) + NS_INTERFACE_TABLE_HEAD(nsSVGFEMorphologyElement) NS_NODE_INTERFACE_TABLE5(nsSVGFEMorphologyElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, @@ -3926,6 +3958,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(FEConvolveMatrix) NS_IMPL_ADDREF_INHERITED(nsSVGFEConvolveMatrixElement,nsSVGFEConvolveMatrixElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGFEConvolveMatrixElement,nsSVGFEConvolveMatrixElementBase) +DOMCI_DATA(SVGFEConvolveMatrixElement, nsSVGFEConvolveMatrixElement) + NS_INTERFACE_TABLE_HEAD(nsSVGFEConvolveMatrixElement) NS_NODE_INTERFACE_TABLE5(nsSVGFEConvolveMatrixElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, @@ -4319,6 +4353,8 @@ nsSVGElement::NumberInfo nsSVGFEDistantLightElement::sNumberInfo[2] = NS_IMPL_ADDREF_INHERITED(nsSVGFEDistantLightElement,nsSVGFEDistantLightElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGFEDistantLightElement,nsSVGFEDistantLightElementBase) +DOMCI_DATA(SVGFEDistantLightElement, nsSVGFEDistantLightElementBase) + NS_INTERFACE_TABLE_HEAD(nsSVGFEDistantLightElement) NS_NODE_INTERFACE_TABLE4(nsSVGFEDistantLightElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, @@ -4405,6 +4441,8 @@ nsSVGElement::NumberInfo nsSVGFEPointLightElement::sNumberInfo[3] = NS_IMPL_ADDREF_INHERITED(nsSVGFEPointLightElement,nsSVGFEPointLightElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGFEPointLightElement,nsSVGFEPointLightElementBase) +DOMCI_DATA(SVGFEPointLightElement, nsSVGFEPointLightElement) + NS_INTERFACE_TABLE_HEAD(nsSVGFEPointLightElement) NS_NODE_INTERFACE_TABLE4(nsSVGFEPointLightElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, @@ -4501,6 +4539,8 @@ nsSVGElement::NumberInfo nsSVGFESpotLightElement::sNumberInfo[8] = NS_IMPL_ADDREF_INHERITED(nsSVGFESpotLightElement,nsSVGFESpotLightElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGFESpotLightElement,nsSVGFESpotLightElementBase) +DOMCI_DATA(SVGFESpotLightElement, nsSVGFESpotLightElement) + NS_INTERFACE_TABLE_HEAD(nsSVGFESpotLightElement) NS_NODE_INTERFACE_TABLE4(nsSVGFESpotLightElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, @@ -4974,6 +5014,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(FEDiffuseLighting) NS_IMPL_ADDREF_INHERITED(nsSVGFEDiffuseLightingElement,nsSVGFEDiffuseLightingElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGFEDiffuseLightingElement,nsSVGFEDiffuseLightingElementBase) +DOMCI_DATA(SVGFEDiffuseLightingElement, nsSVGFEDiffuseLightingElement) + NS_INTERFACE_TABLE_HEAD(nsSVGFEDiffuseLightingElement) NS_NODE_INTERFACE_TABLE5(nsSVGFEDiffuseLightingElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, @@ -5096,6 +5138,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(FESpecularLighting) NS_IMPL_ADDREF_INHERITED(nsSVGFESpecularLightingElement,nsSVGFESpecularLightingElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGFESpecularLightingElement,nsSVGFESpecularLightingElementBase) +DOMCI_DATA(SVGFESpecularLightingElement, nsSVGFESpecularLightingElement) + NS_INTERFACE_TABLE_HEAD(nsSVGFESpecularLightingElement) NS_NODE_INTERFACE_TABLE5(nsSVGFESpecularLightingElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, @@ -5304,6 +5348,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(FEImage) NS_IMPL_ADDREF_INHERITED(nsSVGFEImageElement,nsSVGFEImageElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGFEImageElement,nsSVGFEImageElementBase) +DOMCI_DATA(SVGFEImageElement, nsSVGFEImageElement) + NS_INTERFACE_TABLE_HEAD(nsSVGFEImageElement) NS_NODE_INTERFACE_TABLE8(nsSVGFEImageElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, @@ -5677,6 +5723,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(FEDisplacementMap) NS_IMPL_ADDREF_INHERITED(nsSVGFEDisplacementMapElement,nsSVGFEDisplacementMapElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGFEDisplacementMapElement,nsSVGFEDisplacementMapElementBase) +DOMCI_DATA(SVGFEDisplacementMapElement, nsSVGFEDisplacementMapElement) + NS_INTERFACE_TABLE_HEAD(nsSVGFEDisplacementMapElement) NS_NODE_INTERFACE_TABLE5(nsSVGFEDisplacementMapElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, diff --git a/content/svg/content/src/nsSVGForeignObjectElement.cpp b/content/svg/content/src/nsSVGForeignObjectElement.cpp index ecc06897278..6b89b63b7e0 100644 --- a/content/svg/content/src/nsSVGForeignObjectElement.cpp +++ b/content/svg/content/src/nsSVGForeignObjectElement.cpp @@ -56,6 +56,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(ForeignObject) NS_IMPL_ADDREF_INHERITED(nsSVGForeignObjectElement,nsSVGForeignObjectElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGForeignObjectElement,nsSVGForeignObjectElementBase) +DOMCI_DATA(SVGForeignObjectElement, nsSVGForeignObjectElement) + NS_INTERFACE_TABLE_HEAD(nsSVGForeignObjectElement) NS_NODE_INTERFACE_TABLE4(nsSVGForeignObjectElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, nsIDOMSVGForeignObjectElement) diff --git a/content/svg/content/src/nsSVGGElement.cpp b/content/svg/content/src/nsSVGGElement.cpp index f8609d46a9d..b5c3dc17fcb 100644 --- a/content/svg/content/src/nsSVGGElement.cpp +++ b/content/svg/content/src/nsSVGGElement.cpp @@ -79,6 +79,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(G) NS_IMPL_ADDREF_INHERITED(nsSVGGElement,nsSVGGElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGGElement,nsSVGGElementBase) +DOMCI_DATA(SVGGElement, nsSVGGElement) + NS_INTERFACE_TABLE_HEAD(nsSVGGElement) NS_NODE_INTERFACE_TABLE4(nsSVGGElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, nsIDOMSVGGElement) diff --git a/content/svg/content/src/nsSVGGradientElement.cpp b/content/svg/content/src/nsSVGGradientElement.cpp index 0a5694e573b..e3f075e6c57 100644 --- a/content/svg/content/src/nsSVGGradientElement.cpp +++ b/content/svg/content/src/nsSVGGradientElement.cpp @@ -197,6 +197,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(LinearGradient) NS_IMPL_ADDREF_INHERITED(nsSVGLinearGradientElement,nsSVGLinearGradientElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGLinearGradientElement,nsSVGLinearGradientElementBase) +DOMCI_DATA(SVGLinearGradientElement, nsSVGLinearGradientElement) + NS_INTERFACE_TABLE_HEAD(nsSVGLinearGradientElement) NS_NODE_INTERFACE_TABLE5(nsSVGLinearGradientElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, @@ -275,6 +277,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(RadialGradient) NS_IMPL_ADDREF_INHERITED(nsSVGRadialGradientElement,nsSVGRadialGradientElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGRadialGradientElement,nsSVGRadialGradientElementBase) +DOMCI_DATA(SVGRadialGradientElement, nsSVGRadialGradientElement) + NS_INTERFACE_TABLE_HEAD(nsSVGRadialGradientElement) NS_NODE_INTERFACE_TABLE5(nsSVGRadialGradientElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, diff --git a/content/svg/content/src/nsSVGImageElement.cpp b/content/svg/content/src/nsSVGImageElement.cpp index a600870036f..3184ed0f831 100644 --- a/content/svg/content/src/nsSVGImageElement.cpp +++ b/content/svg/content/src/nsSVGImageElement.cpp @@ -65,6 +65,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(Image) NS_IMPL_ADDREF_INHERITED(nsSVGImageElement,nsSVGImageElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGImageElement,nsSVGImageElementBase) +DOMCI_DATA(SVGImageElement, nsSVGImageElement) + NS_INTERFACE_TABLE_HEAD(nsSVGImageElement) NS_NODE_INTERFACE_TABLE7(nsSVGImageElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, nsIDOMSVGImageElement, diff --git a/content/svg/content/src/nsSVGInteger.cpp b/content/svg/content/src/nsSVGInteger.cpp index 6455b6ad1a7..9f0b154ab07 100644 --- a/content/svg/content/src/nsSVGInteger.cpp +++ b/content/svg/content/src/nsSVGInteger.cpp @@ -47,6 +47,8 @@ NS_SVG_VAL_IMPL_CYCLE_COLLECTION(nsSVGInteger::DOMAnimatedInteger, mSVGElement) NS_IMPL_CYCLE_COLLECTING_ADDREF(nsSVGInteger::DOMAnimatedInteger) NS_IMPL_CYCLE_COLLECTING_RELEASE(nsSVGInteger::DOMAnimatedInteger) +DOMCI_DATA(SVGAnimatedInteger, nsSVGInteger::DOMAnimatedInteger) + NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsSVGInteger::DOMAnimatedInteger) NS_INTERFACE_MAP_ENTRY(nsIDOMSVGAnimatedInteger) NS_INTERFACE_MAP_ENTRY(nsISupports) diff --git a/content/svg/content/src/nsSVGInteger.h b/content/svg/content/src/nsSVGInteger.h index e19e69f0d8b..165a23fdaf9 100644 --- a/content/svg/content/src/nsSVGInteger.h +++ b/content/svg/content/src/nsSVGInteger.h @@ -78,6 +78,7 @@ private: PRUint8 mAttrEnum; // element specified tracking for attribute PRPackedBool mIsAnimated; +public: struct DOMAnimatedInteger : public nsIDOMSVGAnimatedInteger { NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/content/svg/content/src/nsSVGLength.cpp b/content/svg/content/src/nsSVGLength.cpp index cda21c8da05..7ca9c699731 100644 --- a/content/svg/content/src/nsSVGLength.cpp +++ b/content/svg/content/src/nsSVGLength.cpp @@ -151,6 +151,8 @@ nsSVGLength::nsSVGLength() NS_IMPL_ADDREF(nsSVGLength) NS_IMPL_RELEASE(nsSVGLength) +DOMCI_DATA(SVGLength, nsSVGLength) + NS_INTERFACE_MAP_BEGIN(nsSVGLength) NS_INTERFACE_MAP_ENTRY(nsISVGValue) NS_INTERFACE_MAP_ENTRY(nsISVGLength) diff --git a/content/svg/content/src/nsSVGLength2.cpp b/content/svg/content/src/nsSVGLength2.cpp index 7bf3f7aa9c8..9760dc8d556 100644 --- a/content/svg/content/src/nsSVGLength2.cpp +++ b/content/svg/content/src/nsSVGLength2.cpp @@ -76,6 +76,8 @@ NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsSVGLength2::DOMAnimVal) NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(SVGLength) NS_INTERFACE_MAP_END +DOMCI_DATA(SVGAnimatedLength, nsSVGLength2::DOMAnimatedLength) + NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsSVGLength2::DOMAnimatedLength) NS_INTERFACE_MAP_ENTRY(nsIDOMSVGAnimatedLength) NS_INTERFACE_MAP_ENTRY(nsISupports) diff --git a/content/svg/content/src/nsSVGLength2.h b/content/svg/content/src/nsSVGLength2.h index 7aaf797f19d..24f233b3da8 100644 --- a/content/svg/content/src/nsSVGLength2.h +++ b/content/svg/content/src/nsSVGLength2.h @@ -245,6 +245,7 @@ private: { return NS_ERROR_DOM_NO_MODIFICATION_ALLOWED_ERR; } }; +public: struct DOMAnimatedLength : public nsIDOMSVGAnimatedLength { NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/content/svg/content/src/nsSVGLengthList.cpp b/content/svg/content/src/nsSVGLengthList.cpp index bb6bccf443c..a084ea39658 100644 --- a/content/svg/content/src/nsSVGLengthList.cpp +++ b/content/svg/content/src/nsSVGLengthList.cpp @@ -119,6 +119,8 @@ nsSVGLengthList::~nsSVGLengthList() NS_IMPL_ADDREF(nsSVGLengthList) NS_IMPL_RELEASE(nsSVGLengthList) +DOMCI_DATA(SVGLengthList, nsSVGLengthList) + NS_INTERFACE_MAP_BEGIN(nsSVGLengthList) NS_INTERFACE_MAP_ENTRY(nsISVGValue) NS_INTERFACE_MAP_ENTRY(nsIDOMSVGLengthList) diff --git a/content/svg/content/src/nsSVGLineElement.cpp b/content/svg/content/src/nsSVGLineElement.cpp index 06b2a362024..2225832cef6 100644 --- a/content/svg/content/src/nsSVGLineElement.cpp +++ b/content/svg/content/src/nsSVGLineElement.cpp @@ -98,6 +98,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(Line) NS_IMPL_ADDREF_INHERITED(nsSVGLineElement,nsSVGLineElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGLineElement,nsSVGLineElementBase) +DOMCI_DATA(SVGLineElement, nsSVGLineElement) + NS_INTERFACE_TABLE_HEAD(nsSVGLineElement) NS_NODE_INTERFACE_TABLE4(nsSVGLineElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, nsIDOMSVGLineElement) diff --git a/content/svg/content/src/nsSVGMarkerElement.cpp b/content/svg/content/src/nsSVGMarkerElement.cpp index 049d528518d..eeb1abfe1be 100644 --- a/content/svg/content/src/nsSVGMarkerElement.cpp +++ b/content/svg/content/src/nsSVGMarkerElement.cpp @@ -90,6 +90,8 @@ NS_INTERFACE_MAP_END NS_IMPL_ADDREF_INHERITED(nsSVGMarkerElement,nsSVGMarkerElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGMarkerElement,nsSVGMarkerElementBase) +DOMCI_DATA(SVGMarkerElement, nsSVGMarkerElement) + NS_INTERFACE_TABLE_HEAD(nsSVGMarkerElement) NS_NODE_INTERFACE_TABLE5(nsSVGMarkerElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, nsIDOMSVGFitToViewBox, diff --git a/content/svg/content/src/nsSVGMaskElement.cpp b/content/svg/content/src/nsSVGMaskElement.cpp index 0052eccfb73..2d11ab440c7 100644 --- a/content/svg/content/src/nsSVGMaskElement.cpp +++ b/content/svg/content/src/nsSVGMaskElement.cpp @@ -68,6 +68,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(Mask) NS_IMPL_ADDREF_INHERITED(nsSVGMaskElement,nsSVGMaskElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGMaskElement,nsSVGMaskElementBase) +DOMCI_DATA(SVGMaskElement, nsSVGMaskElement) + NS_INTERFACE_TABLE_HEAD(nsSVGMaskElement) NS_NODE_INTERFACE_TABLE5(nsSVGMaskElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, nsIDOMSVGMaskElement, diff --git a/content/svg/content/src/nsSVGMatrix.cpp b/content/svg/content/src/nsSVGMatrix.cpp index c7e7d75612d..da7a64f2ac5 100644 --- a/content/svg/content/src/nsSVGMatrix.cpp +++ b/content/svg/content/src/nsSVGMatrix.cpp @@ -104,6 +104,8 @@ nsSVGMatrix::nsSVGMatrix(float a, float b, float c, NS_IMPL_ADDREF(nsSVGMatrix) NS_IMPL_RELEASE(nsSVGMatrix) +DOMCI_DATA(SVGMatrix, nsSVGMatrix) + NS_INTERFACE_MAP_BEGIN(nsSVGMatrix) NS_INTERFACE_MAP_ENTRY(nsISVGValue) NS_INTERFACE_MAP_ENTRY(nsIDOMSVGMatrix) diff --git a/content/svg/content/src/nsSVGMetadataElement.cpp b/content/svg/content/src/nsSVGMetadataElement.cpp index 241edbc3ee2..56996bf19a5 100644 --- a/content/svg/content/src/nsSVGMetadataElement.cpp +++ b/content/svg/content/src/nsSVGMetadataElement.cpp @@ -73,6 +73,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(Metadata) NS_IMPL_ADDREF_INHERITED(nsSVGMetadataElement, nsSVGMetadataElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGMetadataElement, nsSVGMetadataElementBase) +DOMCI_DATA(SVGMetadataElement, nsSVGMetadataElement) + NS_INTERFACE_TABLE_HEAD(nsSVGMetadataElement) NS_NODE_INTERFACE_TABLE4(nsSVGMetadataElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, nsIDOMSVGMetadataElement) diff --git a/content/svg/content/src/nsSVGNumber.cpp b/content/svg/content/src/nsSVGNumber.cpp index 6f2967af8f8..c95d217b4c5 100644 --- a/content/svg/content/src/nsSVGNumber.cpp +++ b/content/svg/content/src/nsSVGNumber.cpp @@ -93,6 +93,8 @@ nsSVGNumber::nsSVGNumber(float val) NS_IMPL_ADDREF(nsSVGNumber) NS_IMPL_RELEASE(nsSVGNumber) +DOMCI_DATA(SVGNumber, nsSVGNumber) + NS_INTERFACE_MAP_BEGIN(nsSVGNumber) NS_INTERFACE_MAP_ENTRY(nsISVGValue) NS_INTERFACE_MAP_ENTRY(nsIDOMSVGNumber) diff --git a/content/svg/content/src/nsSVGNumber2.cpp b/content/svg/content/src/nsSVGNumber2.cpp index d472ab97527..bc2fbdaae13 100644 --- a/content/svg/content/src/nsSVGNumber2.cpp +++ b/content/svg/content/src/nsSVGNumber2.cpp @@ -70,6 +70,8 @@ NS_IMPL_CYCLE_COLLECTING_RELEASE(nsSVGNumber2::DOMAnimatedNumber) NS_IMPL_ADDREF(DOMSVGNumber) NS_IMPL_RELEASE(DOMSVGNumber) +DOMCI_DATA(SVGAnimatedNumber, nsSVGNumber2::DOMAnimatedNumber) + NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsSVGNumber2::DOMAnimatedNumber) NS_INTERFACE_MAP_ENTRY(nsIDOMSVGAnimatedNumber) NS_INTERFACE_MAP_ENTRY(nsISupports) diff --git a/content/svg/content/src/nsSVGNumber2.h b/content/svg/content/src/nsSVGNumber2.h index 695417d5e6a..21bd7e8e38b 100644 --- a/content/svg/content/src/nsSVGNumber2.h +++ b/content/svg/content/src/nsSVGNumber2.h @@ -84,6 +84,7 @@ private: PRUint8 mAttrEnum; // element specified tracking for attribute PRPackedBool mIsAnimated; +public: struct DOMAnimatedNumber : public nsIDOMSVGAnimatedNumber { NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/content/svg/content/src/nsSVGNumberList.cpp b/content/svg/content/src/nsSVGNumberList.cpp index 794bce4c994..5efd447d724 100644 --- a/content/svg/content/src/nsSVGNumberList.cpp +++ b/content/svg/content/src/nsSVGNumberList.cpp @@ -112,6 +112,8 @@ nsSVGNumberList::~nsSVGNumberList() NS_IMPL_ADDREF(nsSVGNumberList) NS_IMPL_RELEASE(nsSVGNumberList) +DOMCI_DATA(SVGNumberList, nsSVGNumberList) + NS_INTERFACE_MAP_BEGIN(nsSVGNumberList) NS_INTERFACE_MAP_ENTRY(nsISVGValue) NS_INTERFACE_MAP_ENTRY(nsIDOMSVGNumberList) diff --git a/content/svg/content/src/nsSVGPathElement.cpp b/content/svg/content/src/nsSVGPathElement.cpp index a22c00a18ff..8612d74a942 100644 --- a/content/svg/content/src/nsSVGPathElement.cpp +++ b/content/svg/content/src/nsSVGPathElement.cpp @@ -60,6 +60,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(Path) NS_IMPL_ADDREF_INHERITED(nsSVGPathElement,nsSVGPathElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGPathElement,nsSVGPathElementBase) +DOMCI_DATA(SVGPathElement, nsSVGPathElement) + NS_INTERFACE_TABLE_HEAD(nsSVGPathElement) NS_NODE_INTERFACE_TABLE5(nsSVGPathElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, nsIDOMSVGPathElement, diff --git a/content/svg/content/src/nsSVGPathSeg.cpp b/content/svg/content/src/nsSVGPathSeg.cpp index 98cfc02840c..b599fde27a8 100644 --- a/content/svg/content/src/nsSVGPathSeg.cpp +++ b/content/svg/content/src/nsSVGPathSeg.cpp @@ -68,6 +68,8 @@ GetPathSegTypeAsLetter(nsAString & aPathSegTypeAsLetter) { \ NS_IMPL_ADDREF(ns##basename) \ NS_IMPL_RELEASE(ns##basename) \ \ +DOMCI_DATA(basename, ns##basename) \ + \ NS_INTERFACE_MAP_BEGIN(ns##basename) \ NS_INTERFACE_MAP_ENTRY(nsIDOM##basename) \ NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(basename) \ diff --git a/content/svg/content/src/nsSVGPathSegList.cpp b/content/svg/content/src/nsSVGPathSegList.cpp index b878764244a..922323143b7 100644 --- a/content/svg/content/src/nsSVGPathSegList.cpp +++ b/content/svg/content/src/nsSVGPathSegList.cpp @@ -115,6 +115,8 @@ nsSVGPathSegList::~nsSVGPathSegList() NS_IMPL_ADDREF(nsSVGPathSegList) NS_IMPL_RELEASE(nsSVGPathSegList) +DOMCI_DATA(SVGPathSegList, nsSVGPathSegList) + NS_INTERFACE_MAP_BEGIN(nsSVGPathSegList) NS_INTERFACE_MAP_ENTRY(nsISVGValue) NS_INTERFACE_MAP_ENTRY(nsIDOMSVGPathSegList) diff --git a/content/svg/content/src/nsSVGPatternElement.cpp b/content/svg/content/src/nsSVGPatternElement.cpp index 88a593000d4..7a5b2c96259 100644 --- a/content/svg/content/src/nsSVGPatternElement.cpp +++ b/content/svg/content/src/nsSVGPatternElement.cpp @@ -78,6 +78,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(Pattern) NS_IMPL_ADDREF_INHERITED(nsSVGPatternElement,nsSVGPatternElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGPatternElement,nsSVGPatternElementBase) +DOMCI_DATA(SVGPatternElement, nsSVGPatternElement) + NS_INTERFACE_TABLE_HEAD(nsSVGPatternElement) NS_NODE_INTERFACE_TABLE7(nsSVGPatternElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, nsIDOMSVGFitToViewBox, diff --git a/content/svg/content/src/nsSVGPoint.cpp b/content/svg/content/src/nsSVGPoint.cpp index c29cbd68f7f..21b94977975 100644 --- a/content/svg/content/src/nsSVGPoint.cpp +++ b/content/svg/content/src/nsSVGPoint.cpp @@ -95,6 +95,8 @@ nsSVGPoint::nsSVGPoint(float x, float y) NS_IMPL_ADDREF(nsSVGPoint) NS_IMPL_RELEASE(nsSVGPoint) +DOMCI_DATA(SVGPoint, nsSVGPoint) + NS_INTERFACE_MAP_BEGIN(nsSVGPoint) NS_INTERFACE_MAP_ENTRY(nsISVGValue) NS_INTERFACE_MAP_ENTRY(nsIDOMSVGPoint) diff --git a/content/svg/content/src/nsSVGPointList.cpp b/content/svg/content/src/nsSVGPointList.cpp index 4b252a05ba9..b040f51f663 100644 --- a/content/svg/content/src/nsSVGPointList.cpp +++ b/content/svg/content/src/nsSVGPointList.cpp @@ -145,6 +145,8 @@ nsSVGPointList::InsertElementAt(nsIDOMSVGPoint* aElement, PRInt32 index) NS_IMPL_ADDREF(nsSVGPointList) NS_IMPL_RELEASE(nsSVGPointList) +DOMCI_DATA(SVGPointList, nsSVGPointList) + NS_INTERFACE_MAP_BEGIN(nsSVGPointList) NS_INTERFACE_MAP_ENTRY(nsISVGValue) NS_INTERFACE_MAP_ENTRY(nsIDOMSVGPointList) diff --git a/content/svg/content/src/nsSVGPolygonElement.cpp b/content/svg/content/src/nsSVGPolygonElement.cpp index 1ac7e44df96..61bcf1c21f3 100644 --- a/content/svg/content/src/nsSVGPolygonElement.cpp +++ b/content/svg/content/src/nsSVGPolygonElement.cpp @@ -76,6 +76,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(Polygon) NS_IMPL_ADDREF_INHERITED(nsSVGPolygonElement,nsSVGPolygonElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGPolygonElement,nsSVGPolygonElementBase) +DOMCI_DATA(SVGPolygonElement, nsSVGPolygonElement) + NS_INTERFACE_TABLE_HEAD(nsSVGPolygonElement) NS_NODE_INTERFACE_TABLE4(nsSVGPolygonElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, nsIDOMSVGPolygonElement) diff --git a/content/svg/content/src/nsSVGPolylineElement.cpp b/content/svg/content/src/nsSVGPolylineElement.cpp index 8c4a49f63b3..bac83e87c1c 100644 --- a/content/svg/content/src/nsSVGPolylineElement.cpp +++ b/content/svg/content/src/nsSVGPolylineElement.cpp @@ -72,6 +72,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(Polyline) NS_IMPL_ADDREF_INHERITED(nsSVGPolylineElement,nsSVGPolylineElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGPolylineElement,nsSVGPolylineElementBase) +DOMCI_DATA(SVGPolylineElement, nsSVGPolylineElement) + NS_INTERFACE_TABLE_HEAD(nsSVGPolylineElement) NS_NODE_INTERFACE_TABLE4(nsSVGPolylineElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, nsIDOMSVGPolylineElement) diff --git a/content/svg/content/src/nsSVGPreserveAspectRatio.cpp b/content/svg/content/src/nsSVGPreserveAspectRatio.cpp index 41f1253a1a7..61666bdf1a0 100644 --- a/content/svg/content/src/nsSVGPreserveAspectRatio.cpp +++ b/content/svg/content/src/nsSVGPreserveAspectRatio.cpp @@ -64,6 +64,10 @@ NS_IMPL_CYCLE_COLLECTING_RELEASE(nsSVGPreserveAspectRatio::DOMAnimVal) NS_IMPL_CYCLE_COLLECTING_ADDREF(nsSVGPreserveAspectRatio::DOMAnimPAspectRatio) NS_IMPL_CYCLE_COLLECTING_RELEASE(nsSVGPreserveAspectRatio::DOMAnimPAspectRatio) +DOMCI_DATA(SVGPreserveAspectRatio, nsSVGPreserveAspectRatio::DOMBaseVal) +DOMCI_DATA(SVGAnimatedPreserveAspectRatio, + nsSVGPreserveAspectRatio::DOMAnimPAspectRatio) + NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsSVGPreserveAspectRatio::DOMBaseVal) NS_INTERFACE_MAP_ENTRY(nsIDOMSVGPreserveAspectRatio) NS_INTERFACE_MAP_ENTRY(nsISupports) diff --git a/content/svg/content/src/nsSVGPreserveAspectRatio.h b/content/svg/content/src/nsSVGPreserveAspectRatio.h index 535459d37ac..72dbab8d9e8 100644 --- a/content/svg/content/src/nsSVGPreserveAspectRatio.h +++ b/content/svg/content/src/nsSVGPreserveAspectRatio.h @@ -131,6 +131,7 @@ private: nsresult ToDOMAnimVal(nsIDOMSVGPreserveAspectRatio **aResult, nsSVGElement* aSVGElement); +public: struct DOMBaseVal : public nsIDOMSVGPreserveAspectRatio { NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/content/svg/content/src/nsSVGRect.cpp b/content/svg/content/src/nsSVGRect.cpp index 08ac386588c..acf2ebeb817 100644 --- a/content/svg/content/src/nsSVGRect.cpp +++ b/content/svg/content/src/nsSVGRect.cpp @@ -62,6 +62,8 @@ nsSVGRect::nsSVGRect(float x, float y, float w, float h) NS_IMPL_ADDREF(nsSVGRect) NS_IMPL_RELEASE(nsSVGRect) +DOMCI_DATA(SVGRect, nsSVGRect) + NS_INTERFACE_MAP_BEGIN(nsSVGRect) NS_INTERFACE_MAP_ENTRY(nsIDOMSVGRect) NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(SVGRect) diff --git a/content/svg/content/src/nsSVGRectElement.cpp b/content/svg/content/src/nsSVGRectElement.cpp index 2aef2b2f8b6..5fc1e5d6cd0 100644 --- a/content/svg/content/src/nsSVGRectElement.cpp +++ b/content/svg/content/src/nsSVGRectElement.cpp @@ -95,6 +95,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(Rect) NS_IMPL_ADDREF_INHERITED(nsSVGRectElement,nsSVGRectElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGRectElement,nsSVGRectElementBase) +DOMCI_DATA(SVGRectElement, nsSVGRectElement) + NS_INTERFACE_TABLE_HEAD(nsSVGRectElement) NS_NODE_INTERFACE_TABLE4(nsSVGRectElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, nsIDOMSVGRectElement) diff --git a/content/svg/content/src/nsSVGSVGElement.cpp b/content/svg/content/src/nsSVGSVGElement.cpp index 56b8070e378..4aee4b49b49 100644 --- a/content/svg/content/src/nsSVGSVGElement.cpp +++ b/content/svg/content/src/nsSVGSVGElement.cpp @@ -176,6 +176,8 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END NS_IMPL_ADDREF_INHERITED(nsSVGSVGElement,nsSVGSVGElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGSVGElement,nsSVGSVGElementBase) +DOMCI_DATA(SVGSVGElement, nsSVGSVGElement) + #ifdef MOZ_SMIL NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(nsSVGSVGElement) #else diff --git a/content/svg/content/src/nsSVGScriptElement.cpp b/content/svg/content/src/nsSVGScriptElement.cpp index b69c478f264..10ca7639cd2 100644 --- a/content/svg/content/src/nsSVGScriptElement.cpp +++ b/content/svg/content/src/nsSVGScriptElement.cpp @@ -117,6 +117,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT_CHECK_PARSER(Script) NS_IMPL_ADDREF_INHERITED(nsSVGScriptElement,nsSVGScriptElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGScriptElement,nsSVGScriptElementBase) +DOMCI_DATA(SVGScriptElement, nsSVGScriptElement) + NS_INTERFACE_TABLE_HEAD(nsSVGScriptElement) NS_NODE_INTERFACE_TABLE8(nsSVGScriptElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, nsIDOMSVGScriptElement, diff --git a/content/svg/content/src/nsSVGSetElement.cpp b/content/svg/content/src/nsSVGSetElement.cpp index b864c620d14..8102986a66b 100644 --- a/content/svg/content/src/nsSVGSetElement.cpp +++ b/content/svg/content/src/nsSVGSetElement.cpp @@ -77,6 +77,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(Set) NS_IMPL_ADDREF_INHERITED(nsSVGSetElement,nsSVGSetElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGSetElement,nsSVGSetElementBase) +DOMCI_DATA(SVGSetElement, nsSVGSetElement) + NS_INTERFACE_TABLE_HEAD(nsSVGSetElement) NS_NODE_INTERFACE_TABLE5(nsSVGSetElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, nsIDOMSVGAnimationElement, diff --git a/content/svg/content/src/nsSVGStopElement.cpp b/content/svg/content/src/nsSVGStopElement.cpp index 956b0008fac..e2b8df06ec8 100644 --- a/content/svg/content/src/nsSVGStopElement.cpp +++ b/content/svg/content/src/nsSVGStopElement.cpp @@ -90,6 +90,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(Stop) NS_IMPL_ADDREF_INHERITED(nsSVGStopElement,nsSVGStopElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGStopElement,nsSVGStopElementBase) +DOMCI_DATA(SVGStopElement, nsSVGStopElement) + NS_INTERFACE_TABLE_HEAD(nsSVGStopElement) NS_NODE_INTERFACE_TABLE4(nsSVGStopElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, nsIDOMSVGStopElement) diff --git a/content/svg/content/src/nsSVGString.cpp b/content/svg/content/src/nsSVGString.cpp index 79004833b36..819bacdbfd9 100644 --- a/content/svg/content/src/nsSVGString.cpp +++ b/content/svg/content/src/nsSVGString.cpp @@ -41,6 +41,8 @@ NS_SVG_VAL_IMPL_CYCLE_COLLECTION(nsSVGString::DOMAnimatedString, mSVGElement) NS_IMPL_CYCLE_COLLECTING_ADDREF(nsSVGString::DOMAnimatedString) NS_IMPL_CYCLE_COLLECTING_RELEASE(nsSVGString::DOMAnimatedString) +DOMCI_DATA(SVGAnimatedString, nsSVGString::DOMAnimatedString) + NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsSVGString::DOMAnimatedString) NS_INTERFACE_MAP_ENTRY(nsIDOMSVGAnimatedString) NS_INTERFACE_MAP_ENTRY(nsISupports) diff --git a/content/svg/content/src/nsSVGString.h b/content/svg/content/src/nsSVGString.h index 19fa98a3df9..8fd8c8d32cc 100644 --- a/content/svg/content/src/nsSVGString.h +++ b/content/svg/content/src/nsSVGString.h @@ -66,6 +66,7 @@ private: nsAutoPtr mAnimVal; PRUint8 mAttrEnum; // element specified tracking for attribute +public: struct DOMAnimatedString : public nsIDOMSVGAnimatedString { NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/content/svg/content/src/nsSVGStyleElement.cpp b/content/svg/content/src/nsSVGStyleElement.cpp index 4d37d9ce89d..399f1897c9a 100644 --- a/content/svg/content/src/nsSVGStyleElement.cpp +++ b/content/svg/content/src/nsSVGStyleElement.cpp @@ -123,6 +123,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(Style) NS_IMPL_ADDREF_INHERITED(nsSVGStyleElement,nsSVGStyleElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGStyleElement,nsSVGStyleElementBase) +DOMCI_DATA(SVGStyleElement, nsSVGStyleElement) + NS_INTERFACE_TABLE_HEAD(nsSVGStyleElement) NS_NODE_INTERFACE_TABLE7(nsSVGStyleElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, nsIDOMSVGStyleElement, diff --git a/content/svg/content/src/nsSVGSwitchElement.cpp b/content/svg/content/src/nsSVGSwitchElement.cpp index 1d159f9a85a..3be867ed410 100644 --- a/content/svg/content/src/nsSVGSwitchElement.cpp +++ b/content/svg/content/src/nsSVGSwitchElement.cpp @@ -63,6 +63,8 @@ NS_IMPL_CYCLE_COLLECTION_UNLINK_END NS_IMPL_ADDREF_INHERITED(nsSVGSwitchElement,nsSVGSwitchElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGSwitchElement,nsSVGSwitchElementBase) +DOMCI_DATA(SVGSwitchElement, nsSVGSwitchElement) + NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(nsSVGSwitchElement) NS_NODE_INTERFACE_TABLE4(nsSVGSwitchElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, nsIDOMSVGSwitchElement) diff --git a/content/svg/content/src/nsSVGSymbolElement.cpp b/content/svg/content/src/nsSVGSymbolElement.cpp index a70e29541fd..722f9c628cc 100644 --- a/content/svg/content/src/nsSVGSymbolElement.cpp +++ b/content/svg/content/src/nsSVGSymbolElement.cpp @@ -85,6 +85,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(Symbol) NS_IMPL_ADDREF_INHERITED(nsSVGSymbolElement,nsSVGSymbolElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGSymbolElement,nsSVGSymbolElementBase) +DOMCI_DATA(SVGSymbolElement, nsSVGSymbolElement) + NS_INTERFACE_TABLE_HEAD(nsSVGSymbolElement) NS_NODE_INTERFACE_TABLE5(nsSVGSymbolElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, nsIDOMSVGFitToViewBox, diff --git a/content/svg/content/src/nsSVGTSpanElement.cpp b/content/svg/content/src/nsSVGTSpanElement.cpp index 93948f55c12..2e34fcd6e26 100644 --- a/content/svg/content/src/nsSVGTSpanElement.cpp +++ b/content/svg/content/src/nsSVGTSpanElement.cpp @@ -107,6 +107,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(TSpan) NS_IMPL_ADDREF_INHERITED(nsSVGTSpanElement,nsSVGTSpanElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGTSpanElement,nsSVGTSpanElementBase) +DOMCI_DATA(SVGTSpanElement, nsSVGTSpanElement) + NS_INTERFACE_TABLE_HEAD(nsSVGTSpanElement) NS_NODE_INTERFACE_TABLE6(nsSVGTSpanElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, nsIDOMSVGTSpanElement, diff --git a/content/svg/content/src/nsSVGTextElement.cpp b/content/svg/content/src/nsSVGTextElement.cpp index 8e65e8a762e..92c8c727e5d 100644 --- a/content/svg/content/src/nsSVGTextElement.cpp +++ b/content/svg/content/src/nsSVGTextElement.cpp @@ -104,6 +104,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(Text) NS_IMPL_ADDREF_INHERITED(nsSVGTextElement,nsSVGTextElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGTextElement,nsSVGTextElementBase) +DOMCI_DATA(SVGTextElement, nsSVGTextElement) + NS_INTERFACE_TABLE_HEAD(nsSVGTextElement) NS_NODE_INTERFACE_TABLE6(nsSVGTextElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, nsIDOMSVGTextElement, diff --git a/content/svg/content/src/nsSVGTextPathElement.cpp b/content/svg/content/src/nsSVGTextPathElement.cpp index f1718adb4dd..3c1ec06d26f 100644 --- a/content/svg/content/src/nsSVGTextPathElement.cpp +++ b/content/svg/content/src/nsSVGTextPathElement.cpp @@ -85,6 +85,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(TextPath) NS_IMPL_ADDREF_INHERITED(nsSVGTextPathElement,nsSVGTextPathElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGTextPathElement,nsSVGTextPathElementBase) +DOMCI_DATA(SVGTextPathElement, nsSVGTextPathElement) + NS_INTERFACE_TABLE_HEAD(nsSVGTextPathElement) NS_NODE_INTERFACE_TABLE6(nsSVGTextPathElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, nsIDOMSVGTextPathElement, diff --git a/content/svg/content/src/nsSVGTitleElement.cpp b/content/svg/content/src/nsSVGTitleElement.cpp index 3ffe919a8af..7cdc7a9d65d 100644 --- a/content/svg/content/src/nsSVGTitleElement.cpp +++ b/content/svg/content/src/nsSVGTitleElement.cpp @@ -92,6 +92,8 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(Title) NS_IMPL_ADDREF_INHERITED(nsSVGTitleElement, nsSVGTitleElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGTitleElement, nsSVGTitleElementBase) +DOMCI_DATA(SVGTitleElement, nsSVGTitleElement) + NS_INTERFACE_TABLE_HEAD(nsSVGTitleElement) NS_NODE_INTERFACE_TABLE5(nsSVGTitleElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, nsIDOMSVGTitleElement, diff --git a/content/svg/content/src/nsSVGTransform.cpp b/content/svg/content/src/nsSVGTransform.cpp index 26691f3bc1c..228cd906443 100644 --- a/content/svg/content/src/nsSVGTransform.cpp +++ b/content/svg/content/src/nsSVGTransform.cpp @@ -93,6 +93,8 @@ nsresult nsSVGTransform::Init() NS_IMPL_ADDREF(nsSVGTransform) NS_IMPL_RELEASE(nsSVGTransform) +DOMCI_DATA(SVGTransform, nsSVGTransform) + NS_INTERFACE_MAP_BEGIN(nsSVGTransform) NS_INTERFACE_MAP_ENTRY(nsISVGValue) NS_INTERFACE_MAP_ENTRY(nsIDOMSVGTransform) diff --git a/content/svg/content/src/nsSVGTransformList.cpp b/content/svg/content/src/nsSVGTransformList.cpp index 458fe7e9890..b19c0220ac4 100644 --- a/content/svg/content/src/nsSVGTransformList.cpp +++ b/content/svg/content/src/nsSVGTransformList.cpp @@ -152,6 +152,8 @@ nsSVGTransformList::GetConsolidationMatrix(nsIDOMSVGTransformList *transforms) NS_IMPL_ADDREF(nsSVGTransformList) NS_IMPL_RELEASE(nsSVGTransformList) +DOMCI_DATA(SVGTransformList, nsSVGTransformList) + NS_INTERFACE_MAP_BEGIN(nsSVGTransformList) NS_INTERFACE_MAP_ENTRY(nsISVGValue) NS_INTERFACE_MAP_ENTRY(nsIDOMSVGTransformList) diff --git a/content/svg/content/src/nsSVGUseElement.cpp b/content/svg/content/src/nsSVGUseElement.cpp index bdc294fb804..61cd5c6eb9e 100644 --- a/content/svg/content/src/nsSVGUseElement.cpp +++ b/content/svg/content/src/nsSVGUseElement.cpp @@ -82,6 +82,8 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END NS_IMPL_ADDREF_INHERITED(nsSVGUseElement,nsSVGUseElementBase) NS_IMPL_RELEASE_INHERITED(nsSVGUseElement,nsSVGUseElementBase) +DOMCI_DATA(SVGUseElement, nsSVGUseElement) + NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(nsSVGUseElement) NS_NODE_INTERFACE_TABLE6(nsSVGUseElement, nsIDOMNode, nsIDOMElement, nsIDOMSVGElement, nsIDOMSVGURIReference, diff --git a/content/svg/content/src/nsSVGViewBox.cpp b/content/svg/content/src/nsSVGViewBox.cpp index 3721f08990c..271eaa877f7 100644 --- a/content/svg/content/src/nsSVGViewBox.cpp +++ b/content/svg/content/src/nsSVGViewBox.cpp @@ -88,6 +88,8 @@ NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsSVGViewBox::DOMAnimVal) NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(SVGRect) NS_INTERFACE_MAP_END +DOMCI_DATA(SVGAnimatedRect, nsSVGViewBox::DOMAnimatedRect) + NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsSVGViewBox::DOMAnimatedRect) NS_INTERFACE_MAP_ENTRY(nsIDOMSVGAnimatedRect) NS_INTERFACE_MAP_ENTRY(nsISupports) diff --git a/content/svg/content/src/nsSVGViewBox.h b/content/svg/content/src/nsSVGViewBox.h index ee89d62e8f0..05c328f741a 100644 --- a/content/svg/content/src/nsSVGViewBox.h +++ b/content/svg/content/src/nsSVGViewBox.h @@ -178,6 +178,7 @@ private: { return NS_ERROR_DOM_NO_MODIFICATION_ALLOWED_ERR; } }; +public: struct DOMAnimatedRect : public nsIDOMSVGAnimatedRect { NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/content/svg/document/src/nsSVGDocument.cpp b/content/svg/document/src/nsSVGDocument.cpp index 4e18139d097..d6707dce1c2 100644 --- a/content/svg/document/src/nsSVGDocument.cpp +++ b/content/svg/document/src/nsSVGDocument.cpp @@ -57,6 +57,8 @@ nsSVGDocument::~nsSVGDocument() //---------------------------------------------------------------------- // nsISupports methods: +DOMCI_DATA(SVGDocument, nsSVGDocument) + NS_INTERFACE_TABLE_HEAD(nsSVGDocument) NS_INTERFACE_TABLE_INHERITED2(nsSVGDocument, nsIDOMSVGDocument, diff --git a/content/xml/content/src/nsXMLCDATASection.cpp b/content/xml/content/src/nsXMLCDATASection.cpp index 3e0bb793b76..dd2efad6618 100644 --- a/content/xml/content/src/nsXMLCDATASection.cpp +++ b/content/xml/content/src/nsXMLCDATASection.cpp @@ -106,6 +106,8 @@ nsXMLCDATASection::~nsXMLCDATASection() } +DOMCI_DATA(CDATASection, nsXMLCDATASection) + // QueryInterface implementation for nsXMLCDATASection NS_INTERFACE_TABLE_HEAD(nsXMLCDATASection) NS_NODE_INTERFACE_TABLE4(nsXMLCDATASection, nsIDOMNode, nsIDOMCharacterData, diff --git a/content/xml/content/src/nsXMLElement.cpp b/content/xml/content/src/nsXMLElement.cpp index b4a598280f2..7685aeb917f 100644 --- a/content/xml/content/src/nsXMLElement.cpp +++ b/content/xml/content/src/nsXMLElement.cpp @@ -51,6 +51,8 @@ NS_NewXMLElement(nsIContent** aInstancePtrResult, nsINodeInfo *aNodeInfo) return NS_OK; } +DOMCI_DATA(Element, nsXMLElement) + // QueryInterface implementation for nsXMLElement NS_INTERFACE_TABLE_HEAD(nsXMLElement) NS_NODE_OFFSET_AND_INTERFACE_TABLE_BEGIN(nsXMLElement) diff --git a/content/xml/content/src/nsXMLProcessingInstruction.cpp b/content/xml/content/src/nsXMLProcessingInstruction.cpp index 53ae40dda93..5effd21f2b1 100644 --- a/content/xml/content/src/nsXMLProcessingInstruction.cpp +++ b/content/xml/content/src/nsXMLProcessingInstruction.cpp @@ -89,6 +89,8 @@ nsXMLProcessingInstruction::~nsXMLProcessingInstruction() } +DOMCI_DATA(ProcessingInstruction, nsXMLProcessingInstruction) + // QueryInterface implementation for nsXMLProcessingInstruction NS_INTERFACE_TABLE_HEAD(nsXMLProcessingInstruction) NS_NODE_OFFSET_AND_INTERFACE_TABLE_BEGIN(nsXMLProcessingInstruction) diff --git a/content/xml/content/src/nsXMLStylesheetPI.cpp b/content/xml/content/src/nsXMLStylesheetPI.cpp index bbee50c3d52..46c3708adb0 100644 --- a/content/xml/content/src/nsXMLStylesheetPI.cpp +++ b/content/xml/content/src/nsXMLStylesheetPI.cpp @@ -89,6 +89,8 @@ protected: // nsISupports implementation +DOMCI_DATA(XMLStylesheetProcessingInstruction, nsXMLStylesheetPI) + NS_INTERFACE_TABLE_HEAD(nsXMLStylesheetPI) NS_NODE_INTERFACE_TABLE4(nsXMLStylesheetPI, nsIDOMNode, nsIDOMProcessingInstruction, nsIDOMLinkStyle, diff --git a/content/xml/document/src/nsXMLDocument.cpp b/content/xml/document/src/nsXMLDocument.cpp index 87037aed5c2..1a8bb189ebf 100644 --- a/content/xml/document/src/nsXMLDocument.cpp +++ b/content/xml/document/src/nsXMLDocument.cpp @@ -233,6 +233,8 @@ nsXMLDocument::~nsXMLDocument() mLoopingForSyncLoad = PR_FALSE; } +DOMCI_DATA(XMLDocument, nsXMLDocument) + // QueryInterface implementation for nsXMLDocument NS_INTERFACE_TABLE_HEAD(nsXMLDocument) NS_DOCUMENT_INTERFACE_TABLE_BEGIN(nsXMLDocument) diff --git a/content/xslt/src/xpath/nsXPathEvaluator.cpp b/content/xslt/src/xpath/nsXPathEvaluator.cpp index d4271e4ed42..b7aecf321b1 100644 --- a/content/xslt/src/xpath/nsXPathEvaluator.cpp +++ b/content/xslt/src/xpath/nsXPathEvaluator.cpp @@ -99,6 +99,8 @@ private: PRBool mIsCaseSensitive; }; +DOMCI_DATA(XPathEvaluator, nsXPathEvaluator) + NS_IMPL_AGGREGATED(nsXPathEvaluator) NS_INTERFACE_MAP_BEGIN_AGGREGATED(nsXPathEvaluator) NS_INTERFACE_MAP_ENTRY(nsIDOMXPathEvaluator) diff --git a/content/xslt/src/xpath/nsXPathExpression.cpp b/content/xslt/src/xpath/nsXPathExpression.cpp index aaf0508a086..dddf8bf6229 100644 --- a/content/xslt/src/xpath/nsXPathExpression.cpp +++ b/content/xslt/src/xpath/nsXPathExpression.cpp @@ -55,6 +55,9 @@ NS_IMPL_CYCLE_COLLECTING_ADDREF_AMBIGUOUS(nsXPathExpression, nsIDOMXPathExpression) NS_IMPL_CYCLE_COLLECTING_RELEASE_AMBIGUOUS(nsXPathExpression, nsIDOMXPathExpression) + +DOMCI_DATA(XPathExpression, nsXPathExpression) + NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsXPathExpression) NS_INTERFACE_MAP_ENTRY(nsIDOMXPathExpression) NS_INTERFACE_MAP_ENTRY(nsIDOMNSXPathExpression) diff --git a/content/xslt/src/xpath/nsXPathNSResolver.cpp b/content/xslt/src/xpath/nsXPathNSResolver.cpp index 7f4dccabbf9..fb6dc13e306 100644 --- a/content/xslt/src/xpath/nsXPathNSResolver.cpp +++ b/content/xslt/src/xpath/nsXPathNSResolver.cpp @@ -45,6 +45,9 @@ NS_IMPL_CYCLE_COLLECTION_1(nsXPathNSResolver, mNode) NS_IMPL_CYCLE_COLLECTING_ADDREF(nsXPathNSResolver) NS_IMPL_CYCLE_COLLECTING_RELEASE(nsXPathNSResolver) + +DOMCI_DATA(XPathNSResolver, nsXPathNSResolver) + NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsXPathNSResolver) NS_INTERFACE_MAP_ENTRY(nsIDOMXPathNSResolver) NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIDOMXPathNSResolver) diff --git a/content/xslt/src/xpath/nsXPathNamespace.cpp b/content/xslt/src/xpath/nsXPathNamespace.cpp index ad368b5b977..066cfd7b3d8 100644 --- a/content/xslt/src/xpath/nsXPathNamespace.cpp +++ b/content/xslt/src/xpath/nsXPathNamespace.cpp @@ -41,6 +41,9 @@ NS_IMPL_ADDREF(nsXPathNamespace) NS_IMPL_RELEASE(nsXPathNamespace) + +DOMCI_DATA(XPathNamespace, nsXPathNamespace) + NS_INTERFACE_MAP_BEGIN(nsXPathNamespace) NS_INTERFACE_MAP_ENTRY(nsIDOMXPathNamespace) NS_INTERFACE_MAP_ENTRY(nsIDOMNode) diff --git a/content/xslt/src/xpath/nsXPathResult.cpp b/content/xslt/src/xpath/nsXPathResult.cpp index 02c9204c23c..328b31a2b80 100644 --- a/content/xslt/src/xpath/nsXPathResult.cpp +++ b/content/xslt/src/xpath/nsXPathResult.cpp @@ -91,6 +91,9 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END NS_IMPL_CYCLE_COLLECTING_ADDREF_AMBIGUOUS(nsXPathResult, nsIDOMXPathResult) NS_IMPL_CYCLE_COLLECTING_RELEASE_AMBIGUOUS(nsXPathResult, nsIDOMXPathResult) + +DOMCI_DATA(XPathResult, nsXPathResult) + NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsXPathResult) NS_INTERFACE_MAP_ENTRY(nsIDOMXPathResult) NS_INTERFACE_MAP_ENTRY(nsIMutationObserver) diff --git a/content/xslt/src/xslt/txMozillaXSLTProcessor.cpp b/content/xslt/src/xslt/txMozillaXSLTProcessor.cpp index 4b0562819c6..f54493c9176 100644 --- a/content/xslt/src/xslt/txMozillaXSLTProcessor.cpp +++ b/content/xslt/src/xslt/txMozillaXSLTProcessor.cpp @@ -311,6 +311,9 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END NS_IMPL_CYCLE_COLLECTING_ADDREF(txMozillaXSLTProcessor) NS_IMPL_CYCLE_COLLECTING_RELEASE(txMozillaXSLTProcessor) + +DOMCI_DATA(XSLTProcessor, txMozillaXSLTProcessor) + NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(txMozillaXSLTProcessor) NS_INTERFACE_MAP_ENTRY(nsIXSLTProcessor) NS_INTERFACE_MAP_ENTRY(nsIXSLTProcessorObsolete) diff --git a/content/xul/content/src/nsXULElement.cpp b/content/xul/content/src/nsXULElement.cpp index 1e96fa41756..ea1eef01f1d 100644 --- a/content/xul/content/src/nsXULElement.cpp +++ b/content/xul/content/src/nsXULElement.cpp @@ -366,6 +366,8 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END NS_IMPL_ADDREF_INHERITED(nsXULElement, nsStyledElement) NS_IMPL_RELEASE_INHERITED(nsXULElement, nsStyledElement) +DOMCI_DATA(XULElement, nsXULElement) + NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(nsXULElement) NS_NODE_OFFSET_AND_INTERFACE_TABLE_BEGIN(nsXULElement) NS_INTERFACE_TABLE_ENTRY(nsXULElement, nsIDOMNode) diff --git a/content/xul/document/src/nsXULCommandDispatcher.cpp b/content/xul/document/src/nsXULCommandDispatcher.cpp index 988e2903d9e..9b4b50dd7fa 100644 --- a/content/xul/document/src/nsXULCommandDispatcher.cpp +++ b/content/xul/document/src/nsXULCommandDispatcher.cpp @@ -95,6 +95,9 @@ nsXULCommandDispatcher::~nsXULCommandDispatcher() NS_IMPL_CYCLE_COLLECTION_CLASS(nsXULCommandDispatcher) // QueryInterface implementation for nsXULCommandDispatcher + +DOMCI_DATA(XULCommandDispatcher, nsXULCommandDispatcher) + NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsXULCommandDispatcher) NS_INTERFACE_MAP_ENTRY(nsIDOMXULCommandDispatcher) NS_INTERFACE_MAP_ENTRY(nsISupportsWeakReference) diff --git a/content/xul/document/src/nsXULControllers.cpp b/content/xul/document/src/nsXULControllers.cpp index d6c17678a79..8451fefe50e 100644 --- a/content/xul/document/src/nsXULControllers.cpp +++ b/content/xul/document/src/nsXULControllers.cpp @@ -113,6 +113,8 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN(nsXULControllers) } NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END +DOMCI_DATA(XULControllers, nsXULControllers) + NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsXULControllers) NS_INTERFACE_MAP_ENTRY(nsIControllers) NS_INTERFACE_MAP_ENTRY(nsISecurityCheckedComponent) diff --git a/content/xul/document/src/nsXULDocument.cpp b/content/xul/document/src/nsXULDocument.cpp index ad208e62a43..e5d8bfb2e61 100644 --- a/content/xul/document/src/nsXULDocument.cpp +++ b/content/xul/document/src/nsXULDocument.cpp @@ -380,6 +380,8 @@ NS_IMPL_ADDREF_INHERITED(nsXULDocument, nsXMLDocument) NS_IMPL_RELEASE_INHERITED(nsXULDocument, nsXMLDocument) +DOMCI_DATA(XULDocument, nsXULDocument) + // QueryInterface implementation for nsXULDocument NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(nsXULDocument) NS_DOCUMENT_INTERFACE_TABLE_BEGIN(nsXULDocument) diff --git a/content/xul/templates/src/nsXULTemplateBuilder.cpp b/content/xul/templates/src/nsXULTemplateBuilder.cpp index 241cc537e60..0a0d5a1d8fb 100644 --- a/content/xul/templates/src/nsXULTemplateBuilder.cpp +++ b/content/xul/templates/src/nsXULTemplateBuilder.cpp @@ -299,6 +299,8 @@ NS_IMPL_CYCLE_COLLECTING_ADDREF_AMBIGUOUS(nsXULTemplateBuilder, NS_IMPL_CYCLE_COLLECTING_RELEASE_AMBIGUOUS(nsXULTemplateBuilder, nsIXULTemplateBuilder) +DOMCI_DATA(XULTemplateBuilder, nsXULTemplateBuilder) + NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsXULTemplateBuilder) NS_INTERFACE_MAP_ENTRY(nsIXULTemplateBuilder) NS_INTERFACE_MAP_ENTRY(nsIDocumentObserver) diff --git a/content/xul/templates/src/nsXULTreeBuilder.cpp b/content/xul/templates/src/nsXULTreeBuilder.cpp index db9467c204b..e38e865217e 100644 --- a/content/xul/templates/src/nsXULTreeBuilder.cpp +++ b/content/xul/templates/src/nsXULTreeBuilder.cpp @@ -298,6 +298,8 @@ NS_NewXULTreeBuilder(nsISupports* aOuter, REFNSIID aIID, void** aResult) NS_IMPL_ADDREF_INHERITED(nsXULTreeBuilder, nsXULTemplateBuilder) NS_IMPL_RELEASE_INHERITED(nsXULTreeBuilder, nsXULTemplateBuilder) +DOMCI_DATA(XULTreeBuilder, nsXULTreeBuilder) + NS_INTERFACE_MAP_BEGIN(nsXULTreeBuilder) NS_INTERFACE_MAP_ENTRY(nsIXULTreeBuilder) NS_INTERFACE_MAP_ENTRY(nsITreeView) diff --git a/dom/base/Makefile.in b/dom/base/Makefile.in index ff6b843c5e5..5e6db6f4dce 100644 --- a/dom/base/Makefile.in +++ b/dom/base/Makefile.in @@ -54,6 +54,7 @@ XPIDLSRCS = \ EXPORTS = \ nsDOMCID.h \ + nsDOMClassInfoClasses.h \ nsDOMClassInfoID.h \ nsDOMError.h \ nsDOMJSUtils.h \ diff --git a/dom/base/nsBarProps.cpp b/dom/base/nsBarProps.cpp index c794e25c54d..74e62181ab9 100644 --- a/dom/base/nsBarProps.cpp +++ b/dom/base/nsBarProps.cpp @@ -60,6 +60,8 @@ nsBarProp::~nsBarProp() } +DOMCI_DATA(BarProp, nsBarProp) + // QueryInterface implementation for BarProp NS_INTERFACE_MAP_BEGIN(nsBarProp) NS_INTERFACE_MAP_ENTRY(nsIDOMBarProp) diff --git a/dom/base/nsDOMClassInfo.cpp b/dom/base/nsDOMClassInfo.cpp index a50087241c2..3a8d1defbaa 100644 --- a/dom/base/nsDOMClassInfo.cpp +++ b/dom/base/nsDOMClassInfo.cpp @@ -540,6 +540,16 @@ static const char kDOMStringBundleURL[] = // nothing #endif +DOMCI_DATA(Crypto, void) +DOMCI_DATA(CRMFObject, void) +DOMCI_DATA(SmartCardEvent, void) + +DOMCI_DATA(DOMPrototype, void) +DOMCI_DATA(DOMConstructor, void) + +DOMCI_DATA(Worker, void) + +DOMCI_DATA(Notation, void) #define NS_DEFINE_CLASSINFO_DATA_WITH_NAME(_class, _name, _helper, \ _flags) \ diff --git a/dom/base/nsDOMClassInfoClasses.h b/dom/base/nsDOMClassInfoClasses.h new file mode 100644 index 00000000000..813318df165 --- /dev/null +++ b/dom/base/nsDOMClassInfoClasses.h @@ -0,0 +1,472 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 2000 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Johnny Stenback (original author) + * + * Alternatively, the contents of this file may be used under the terms of + * either of the GNU General Public License Version 2 or later (the "GPL"), + * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +DOMCI_CLASS(Window) +DOMCI_CLASS(Location) +DOMCI_CLASS(Navigator) +DOMCI_CLASS(Plugin) +DOMCI_CLASS(PluginArray) +DOMCI_CLASS(MimeType) +DOMCI_CLASS(MimeTypeArray) +DOMCI_CLASS(BarProp) +DOMCI_CLASS(History) +DOMCI_CLASS(Screen) +DOMCI_CLASS(DOMPrototype) +DOMCI_CLASS(DOMConstructor) + +// Core classes +DOMCI_CLASS(XMLDocument) +DOMCI_CLASS(DocumentType) +DOMCI_CLASS(DOMImplementation) +DOMCI_CLASS(DOMException) +DOMCI_CLASS(DOMTokenList) +DOMCI_CLASS(DocumentFragment) +DOMCI_CLASS(Element) +DOMCI_CLASS(Attr) +DOMCI_CLASS(Text) +DOMCI_CLASS(Comment) +DOMCI_CLASS(CDATASection) +DOMCI_CLASS(ProcessingInstruction) +DOMCI_CLASS(Notation) +DOMCI_CLASS(NodeList) +DOMCI_CLASS(NamedNodeMap) + +// Event classes +DOMCI_CLASS(Event) +DOMCI_CLASS(MutationEvent) +DOMCI_CLASS(UIEvent) +DOMCI_CLASS(MouseEvent) +DOMCI_CLASS(MouseScrollEvent) +DOMCI_CLASS(DragEvent) +DOMCI_CLASS(KeyboardEvent) +DOMCI_CLASS(PopupBlockedEvent) +DOMCI_CLASS(OrientationEvent) + +// HTML classes +DOMCI_CLASS(HTMLDocument) +DOMCI_CLASS(HTMLOptionsCollection) +DOMCI_CLASS(HTMLCollection) + +// HTML element classes +DOMCI_CLASS(HTMLAnchorElement) +DOMCI_CLASS(HTMLAppletElement) +DOMCI_CLASS(HTMLAreaElement) +DOMCI_CLASS(HTMLBRElement) +DOMCI_CLASS(HTMLBaseElement) +DOMCI_CLASS(HTMLBaseFontElement) +DOMCI_CLASS(HTMLBodyElement) +DOMCI_CLASS(HTMLButtonElement) +DOMCI_CLASS(HTMLDListElement) +DOMCI_CLASS(HTMLDelElement) +DOMCI_CLASS(HTMLDirectoryElement) +DOMCI_CLASS(HTMLDivElement) +DOMCI_CLASS(HTMLEmbedElement) +DOMCI_CLASS(HTMLFieldSetElement) +DOMCI_CLASS(HTMLFontElement) +DOMCI_CLASS(HTMLFormElement) +DOMCI_CLASS(HTMLFrameElement) +DOMCI_CLASS(HTMLFrameSetElement) +DOMCI_CLASS(HTMLHRElement) +DOMCI_CLASS(HTMLHeadElement) +DOMCI_CLASS(HTMLHeadingElement) +DOMCI_CLASS(HTMLHtmlElement) +DOMCI_CLASS(HTMLIFrameElement) +DOMCI_CLASS(HTMLImageElement) +DOMCI_CLASS(HTMLInputElement) +DOMCI_CLASS(HTMLInsElement) +DOMCI_CLASS(HTMLIsIndexElement) +DOMCI_CLASS(HTMLLIElement) +DOMCI_CLASS(HTMLLabelElement) +DOMCI_CLASS(HTMLLegendElement) +DOMCI_CLASS(HTMLLinkElement) +DOMCI_CLASS(HTMLMapElement) +DOMCI_CLASS(HTMLMenuElement) +DOMCI_CLASS(HTMLMetaElement) +DOMCI_CLASS(HTMLOListElement) +DOMCI_CLASS(HTMLObjectElement) +DOMCI_CLASS(HTMLOptGroupElement) +DOMCI_CLASS(HTMLOptionElement) +DOMCI_CLASS(HTMLParagraphElement) +DOMCI_CLASS(HTMLParamElement) +DOMCI_CLASS(HTMLPreElement) +DOMCI_CLASS(HTMLQuoteElement) +DOMCI_CLASS(HTMLScriptElement) +DOMCI_CLASS(HTMLSelectElement) +DOMCI_CLASS(HTMLSpacerElement) +DOMCI_CLASS(HTMLSpanElement) +DOMCI_CLASS(HTMLStyleElement) +DOMCI_CLASS(HTMLTableCaptionElement) +DOMCI_CLASS(HTMLTableCellElement) +DOMCI_CLASS(HTMLTableColElement) +DOMCI_CLASS(HTMLTableElement) +DOMCI_CLASS(HTMLTableRowElement) +DOMCI_CLASS(HTMLTableSectionElement) +DOMCI_CLASS(HTMLTextAreaElement) +DOMCI_CLASS(HTMLTitleElement) +DOMCI_CLASS(HTMLUListElement) +DOMCI_CLASS(HTMLUnknownElement) +DOMCI_CLASS(HTMLWBRElement) + +// CSS classes +DOMCI_CLASS(CSSStyleRule) +DOMCI_CLASS(CSSCharsetRule) +DOMCI_CLASS(CSSImportRule) +DOMCI_CLASS(CSSMediaRule) +DOMCI_CLASS(CSSNameSpaceRule) +DOMCI_CLASS(CSSRuleList) +DOMCI_CLASS(CSSGroupRuleRuleList) +DOMCI_CLASS(MediaList) +DOMCI_CLASS(StyleSheetList) +DOMCI_CLASS(CSSStyleSheet) +DOMCI_CLASS(CSSStyleDeclaration) +DOMCI_CLASS(ComputedCSSStyleDeclaration) +DOMCI_CLASS(ROCSSPrimitiveValue) + +// Range classes +DOMCI_CLASS(Range) +DOMCI_CLASS(Selection) + +// XUL classes +#ifdef MOZ_XUL +DOMCI_CLASS(XULDocument) +DOMCI_CLASS(XULElement) +DOMCI_CLASS(XULCommandDispatcher) +#endif +DOMCI_CLASS(XULControllers) +DOMCI_CLASS(BoxObject) +#ifdef MOZ_XUL +DOMCI_CLASS(TreeSelection) +DOMCI_CLASS(TreeContentView) +#endif + +// Crypto classes +DOMCI_CLASS(Crypto) +DOMCI_CLASS(CRMFObject) + +// DOM Traversal classes +DOMCI_CLASS(TreeWalker) + +// Rect object used by getComputedStyle +DOMCI_CLASS(CSSRect) + +// DOM Chrome Window class, almost identical to Window +DOMCI_CLASS(ChromeWindow) + +// RGBColor object used by getComputedStyle +DOMCI_CLASS(CSSRGBColor) + +DOMCI_CLASS(RangeException) + +// CSSValueList object that represents an nsIDOMCSSValueList, used +// by DOM CSS +DOMCI_CLASS(CSSValueList) + +// ContentList object used for various live NodeLists +DOMCI_CLASS(ContentList) + +// Processing-instruction with target "xml-stylesheet" +DOMCI_CLASS(XMLStylesheetProcessingInstruction) + +DOMCI_CLASS(ImageDocument) + +#ifdef MOZ_XUL +DOMCI_CLASS(XULTemplateBuilder) +DOMCI_CLASS(XULTreeBuilder) +#endif + +// DOMStringList object +DOMCI_CLASS(DOMStringList) + +// NameList object used by the DOM +DOMCI_CLASS(NameList) + +#ifdef MOZ_XUL +DOMCI_CLASS(TreeColumn) +DOMCI_CLASS(TreeColumns) +#endif + +DOMCI_CLASS(CSSMozDocumentRule) + +DOMCI_CLASS(BeforeUnloadEvent) + +#ifdef MOZ_SVG +// The SVG document +DOMCI_CLASS(SVGDocument) + +// SVG element classes +DOMCI_CLASS(SVGAElement) +#ifdef MOZ_SMIL +DOMCI_CLASS(SVGAnimateElement) +DOMCI_CLASS(SVGAnimateTransformElement) +DOMCI_CLASS(SVGSetElement) +#endif // MOZ_SMIL +DOMCI_CLASS(SVGCircleElement) +DOMCI_CLASS(SVGClipPathElement) +DOMCI_CLASS(SVGDefsElement) +DOMCI_CLASS(SVGDescElement) +DOMCI_CLASS(SVGEllipseElement) +DOMCI_CLASS(SVGFEBlendElement) +DOMCI_CLASS(SVGFEColorMatrixElement) +DOMCI_CLASS(SVGFEComponentTransferElement) +DOMCI_CLASS(SVGFECompositeElement) +DOMCI_CLASS(SVGFEConvolveMatrixElement) +DOMCI_CLASS(SVGFEDiffuseLightingElement) +DOMCI_CLASS(SVGFEDisplacementMapElement) +DOMCI_CLASS(SVGFEDistantLightElement) +DOMCI_CLASS(SVGFEFloodElement) +DOMCI_CLASS(SVGFEFuncAElement) +DOMCI_CLASS(SVGFEFuncBElement) +DOMCI_CLASS(SVGFEFuncGElement) +DOMCI_CLASS(SVGFEFuncRElement) +DOMCI_CLASS(SVGFEGaussianBlurElement) +DOMCI_CLASS(SVGFEImageElement) +DOMCI_CLASS(SVGFEMergeElement) +DOMCI_CLASS(SVGFEMergeNodeElement) +DOMCI_CLASS(SVGFEMorphologyElement) +DOMCI_CLASS(SVGFEOffsetElement) +DOMCI_CLASS(SVGFEPointLightElement) +DOMCI_CLASS(SVGFESpecularLightingElement) +DOMCI_CLASS(SVGFESpotLightElement) +DOMCI_CLASS(SVGFETileElement) +DOMCI_CLASS(SVGFETurbulenceElement) +DOMCI_CLASS(SVGFilterElement) +DOMCI_CLASS(SVGGElement) +DOMCI_CLASS(SVGImageElement) +DOMCI_CLASS(SVGLinearGradientElement) +DOMCI_CLASS(SVGLineElement) +DOMCI_CLASS(SVGMarkerElement) +DOMCI_CLASS(SVGMaskElement) +DOMCI_CLASS(SVGMetadataElement) +DOMCI_CLASS(SVGPathElement) +DOMCI_CLASS(SVGPatternElement) +DOMCI_CLASS(SVGPolygonElement) +DOMCI_CLASS(SVGPolylineElement) +DOMCI_CLASS(SVGRadialGradientElement) +DOMCI_CLASS(SVGRectElement) +DOMCI_CLASS(SVGScriptElement) +DOMCI_CLASS(SVGStopElement) +DOMCI_CLASS(SVGStyleElement) +DOMCI_CLASS(SVGSVGElement) +DOMCI_CLASS(SVGSwitchElement) +DOMCI_CLASS(SVGSymbolElement) +DOMCI_CLASS(SVGTextElement) +DOMCI_CLASS(SVGTextPathElement) +DOMCI_CLASS(SVGTitleElement) +DOMCI_CLASS(SVGTSpanElement) +DOMCI_CLASS(SVGUseElement) + +// other SVG classes +DOMCI_CLASS(SVGAngle) +DOMCI_CLASS(SVGAnimatedAngle) +DOMCI_CLASS(SVGAnimatedBoolean) +DOMCI_CLASS(SVGAnimatedEnumeration) +DOMCI_CLASS(SVGAnimatedInteger) +DOMCI_CLASS(SVGAnimatedLength) +DOMCI_CLASS(SVGAnimatedLengthList) +DOMCI_CLASS(SVGAnimatedNumber) +DOMCI_CLASS(SVGAnimatedNumberList) +DOMCI_CLASS(SVGAnimatedPreserveAspectRatio) +DOMCI_CLASS(SVGAnimatedRect) +DOMCI_CLASS(SVGAnimatedString) +DOMCI_CLASS(SVGAnimatedTransformList) +DOMCI_CLASS(SVGEvent) +DOMCI_CLASS(SVGException) +DOMCI_CLASS(SVGLength) +DOMCI_CLASS(SVGLengthList) +DOMCI_CLASS(SVGMatrix) +DOMCI_CLASS(SVGNumber) +DOMCI_CLASS(SVGNumberList) +DOMCI_CLASS(SVGPathSegArcAbs) +DOMCI_CLASS(SVGPathSegArcRel) +DOMCI_CLASS(SVGPathSegClosePath) +DOMCI_CLASS(SVGPathSegCurvetoCubicAbs) +DOMCI_CLASS(SVGPathSegCurvetoCubicRel) +DOMCI_CLASS(SVGPathSegCurvetoCubicSmoothAbs) +DOMCI_CLASS(SVGPathSegCurvetoCubicSmoothRel) +DOMCI_CLASS(SVGPathSegCurvetoQuadraticAbs) +DOMCI_CLASS(SVGPathSegCurvetoQuadraticRel) +DOMCI_CLASS(SVGPathSegCurvetoQuadraticSmoothAbs) +DOMCI_CLASS(SVGPathSegCurvetoQuadraticSmoothRel) +DOMCI_CLASS(SVGPathSegLinetoAbs) +DOMCI_CLASS(SVGPathSegLinetoHorizontalAbs) +DOMCI_CLASS(SVGPathSegLinetoHorizontalRel) +DOMCI_CLASS(SVGPathSegLinetoRel) +DOMCI_CLASS(SVGPathSegLinetoVerticalAbs) +DOMCI_CLASS(SVGPathSegLinetoVerticalRel) +DOMCI_CLASS(SVGPathSegList) +DOMCI_CLASS(SVGPathSegMovetoAbs) +DOMCI_CLASS(SVGPathSegMovetoRel) +DOMCI_CLASS(SVGPoint) +DOMCI_CLASS(SVGPointList) +DOMCI_CLASS(SVGPreserveAspectRatio) +DOMCI_CLASS(SVGRect) +DOMCI_CLASS(SVGTransform) +DOMCI_CLASS(SVGTransformList) +DOMCI_CLASS(SVGZoomEvent) +#endif // MOZ_SVG + +// Canvas +DOMCI_CLASS(HTMLCanvasElement) +DOMCI_CLASS(CanvasRenderingContext2D) +DOMCI_CLASS(CanvasGradient) +DOMCI_CLASS(CanvasPattern) +DOMCI_CLASS(TextMetrics) + +// SmartCard Events +DOMCI_CLASS(SmartCardEvent) + +// PageTransition Events +DOMCI_CLASS(PageTransitionEvent) + +// WindowUtils +DOMCI_CLASS(WindowUtils) + +// XSLTProcessor +DOMCI_CLASS(XSLTProcessor) + +// DOM Level 3 XPath objects +DOMCI_CLASS(XPathEvaluator) +DOMCI_CLASS(XPathException) +DOMCI_CLASS(XPathExpression) +DOMCI_CLASS(XPathNSResolver) +DOMCI_CLASS(XPathResult) + +// WhatWG WebApps Objects +DOMCI_CLASS(StorageObsolete) +DOMCI_CLASS(Storage) +DOMCI_CLASS(StorageList) +DOMCI_CLASS(StorageItem) +DOMCI_CLASS(StorageEvent) +DOMCI_CLASS(StorageEventObsolete) + +// DOMParser, XMLSerializer +DOMCI_CLASS(DOMParser) +DOMCI_CLASS(XMLSerializer) + +// XMLHttpRequest +DOMCI_CLASS(XMLHttpProgressEvent) +DOMCI_CLASS(XMLHttpRequest) + +DOMCI_CLASS(ClientRect) +DOMCI_CLASS(ClientRectList) + +// We are now trying to preserve binary compat in classinfo. No more +// putting things in those categories up there. New entries are to be +// added here, which is the end of the things that are currently on by +// default. + +#ifdef MOZ_SVG +DOMCI_CLASS(SVGForeignObjectElement) +#endif + +DOMCI_CLASS(XULCommandEvent) +DOMCI_CLASS(CommandEvent) +DOMCI_CLASS(OfflineResourceList) + +DOMCI_CLASS(FileList) +DOMCI_CLASS(File) +DOMCI_CLASS(FileException) +DOMCI_CLASS(FileError) +DOMCI_CLASS(FileReader) + +// DOM modal content window class, almost identical to Window +DOMCI_CLASS(ModalContentWindow) + +// Data Events +DOMCI_CLASS(DataContainerEvent) + +// event used for cross-domain message-passing and for server-sent events in +// HTML5 +DOMCI_CLASS(MessageEvent) + +// Geolocation +DOMCI_CLASS(GeoGeolocation) +DOMCI_CLASS(GeoPosition) +DOMCI_CLASS(GeoPositionCoords) +DOMCI_CLASS(GeoPositionError) + +// @font-face in CSS +DOMCI_CLASS(CSSFontFaceRule) +DOMCI_CLASS(CSSFontFaceStyleDecl) + +// WhatWG Video Element +DOMCI_CLASS(HTMLVideoElement) +DOMCI_CLASS(HTMLSourceElement) +DOMCI_CLASS(HTMLMediaError) +DOMCI_CLASS(HTMLAudioElement) + +DOMCI_CLASS(ProgressEvent) + +DOMCI_CLASS(XMLHttpRequestUpload) + +// DOM Traversal NodeIterator class +DOMCI_CLASS(NodeIterator) + +DOMCI_CLASS(DataTransfer) + +DOMCI_CLASS(NotifyPaintEvent) + +DOMCI_CLASS(SimpleGestureEvent) + +#ifdef MOZ_MATHML +DOMCI_CLASS(MathMLElement) +#endif + +DOMCI_CLASS(Worker) + +// WebGL +DOMCI_CLASS(CanvasRenderingContextWebGL) +DOMCI_CLASS(WebGLBuffer) +DOMCI_CLASS(WebGLTexture) +DOMCI_CLASS(WebGLProgram) +DOMCI_CLASS(WebGLShader) +DOMCI_CLASS(WebGLFramebuffer) +DOMCI_CLASS(WebGLRenderbuffer) + +// WebGL Buffers +DOMCI_CLASS(PaintRequest) +DOMCI_CLASS(PaintRequestList) + +DOMCI_CLASS(ScrollAreaEvent) +DOMCI_CLASS(PopStateEvent) + +DOMCI_CLASS(EventListenerInfo) + +DOMCI_CLASS(TransitionEvent) + +DOMCI_CLASS(FormData) diff --git a/dom/base/nsDOMClassInfoID.h b/dom/base/nsDOMClassInfoID.h index fed0b75eb56..6bfadff980e 100644 --- a/dom/base/nsDOMClassInfoID.h +++ b/dom/base/nsDOMClassInfoID.h @@ -44,452 +44,27 @@ #ifndef nsDOMClassInfoID_h__ #define nsDOMClassInfoID_h__ +#define DOMCI_CLASS(_dom_class) \ + eDOMClassInfo_##_dom_class##_id, + enum nsDOMClassInfoID { - // Base classes - eDOMClassInfo_Window_id, - eDOMClassInfo_Location_id, - eDOMClassInfo_Navigator_id, - eDOMClassInfo_Plugin_id, - eDOMClassInfo_PluginArray_id, - eDOMClassInfo_MimeType_id, - eDOMClassInfo_MimeTypeArray_id, - eDOMClassInfo_BarProp_id, - eDOMClassInfo_History_id, - eDOMClassInfo_Screen_id, - eDOMClassInfo_DOMPrototype_id, - eDOMClassInfo_DOMConstructor_id, - // Core classes - eDOMClassInfo_XMLDocument_id, - eDOMClassInfo_DocumentType_id, - eDOMClassInfo_DOMImplementation_id, - eDOMClassInfo_DOMException_id, - eDOMClassInfo_DOMTokenList_id, - eDOMClassInfo_DocumentFragment_id, - eDOMClassInfo_Element_id, - eDOMClassInfo_Attr_id, - eDOMClassInfo_Text_id, - eDOMClassInfo_Comment_id, - eDOMClassInfo_CDATASection_id, - eDOMClassInfo_ProcessingInstruction_id, - eDOMClassInfo_Notation_id, - eDOMClassInfo_NodeList_id, - eDOMClassInfo_NamedNodeMap_id, - - // Event classes - eDOMClassInfo_Event_id, - eDOMClassInfo_MutationEvent_id, - eDOMClassInfo_UIEvent_id, - eDOMClassInfo_MouseEvent_id, - eDOMClassInfo_MouseScrollEvent_id, - eDOMClassInfo_DragEvent_id, - eDOMClassInfo_KeyboardEvent_id, - eDOMClassInfo_PopupBlockedEvent_id, - eDOMClassInfo_OrientationEvent_id, - - // HTML classes - eDOMClassInfo_HTMLDocument_id, - eDOMClassInfo_HTMLOptionsCollection_id, - eDOMClassInfo_HTMLCollection_id, - - // HTML element classes - eDOMClassInfo_HTMLAnchorElement_id, - eDOMClassInfo_HTMLAppletElement_id, - eDOMClassInfo_HTMLAreaElement_id, - eDOMClassInfo_HTMLBRElement_id, - eDOMClassInfo_HTMLBaseElement_id, - eDOMClassInfo_HTMLBaseFontElement_id, - eDOMClassInfo_HTMLBodyElement_id, - eDOMClassInfo_HTMLButtonElement_id, - eDOMClassInfo_HTMLDListElement_id, - eDOMClassInfo_HTMLDelElement_id, - eDOMClassInfo_HTMLDirectoryElement_id, - eDOMClassInfo_HTMLDivElement_id, - eDOMClassInfo_HTMLEmbedElement_id, - eDOMClassInfo_HTMLFieldSetElement_id, - eDOMClassInfo_HTMLFontElement_id, - eDOMClassInfo_HTMLFormElement_id, - eDOMClassInfo_HTMLFrameElement_id, - eDOMClassInfo_HTMLFrameSetElement_id, - eDOMClassInfo_HTMLHRElement_id, - eDOMClassInfo_HTMLHeadElement_id, - eDOMClassInfo_HTMLHeadingElement_id, - eDOMClassInfo_HTMLHtmlElement_id, - eDOMClassInfo_HTMLIFrameElement_id, - eDOMClassInfo_HTMLImageElement_id, - eDOMClassInfo_HTMLInputElement_id, - eDOMClassInfo_HTMLInsElement_id, - eDOMClassInfo_HTMLIsIndexElement_id, - eDOMClassInfo_HTMLLIElement_id, - eDOMClassInfo_HTMLLabelElement_id, - eDOMClassInfo_HTMLLegendElement_id, - eDOMClassInfo_HTMLLinkElement_id, - eDOMClassInfo_HTMLMapElement_id, - eDOMClassInfo_HTMLMenuElement_id, - eDOMClassInfo_HTMLMetaElement_id, - eDOMClassInfo_HTMLOListElement_id, - eDOMClassInfo_HTMLObjectElement_id, - eDOMClassInfo_HTMLOptGroupElement_id, - eDOMClassInfo_HTMLOptionElement_id, - eDOMClassInfo_HTMLParagraphElement_id, - eDOMClassInfo_HTMLParamElement_id, - eDOMClassInfo_HTMLPreElement_id, - eDOMClassInfo_HTMLQuoteElement_id, - eDOMClassInfo_HTMLScriptElement_id, - eDOMClassInfo_HTMLSelectElement_id, - eDOMClassInfo_HTMLSpacerElement_id, - eDOMClassInfo_HTMLSpanElement_id, - eDOMClassInfo_HTMLStyleElement_id, - eDOMClassInfo_HTMLTableCaptionElement_id, - eDOMClassInfo_HTMLTableCellElement_id, - eDOMClassInfo_HTMLTableColElement_id, - eDOMClassInfo_HTMLTableElement_id, - eDOMClassInfo_HTMLTableRowElement_id, - eDOMClassInfo_HTMLTableSectionElement_id, - eDOMClassInfo_HTMLTextAreaElement_id, - eDOMClassInfo_HTMLTitleElement_id, - eDOMClassInfo_HTMLUListElement_id, - eDOMClassInfo_HTMLUnknownElement_id, - eDOMClassInfo_HTMLWBRElement_id, - - // CSS classes - eDOMClassInfo_CSSStyleRule_id, - eDOMClassInfo_CSSCharsetRule_id, - eDOMClassInfo_CSSImportRule_id, - eDOMClassInfo_CSSMediaRule_id, - eDOMClassInfo_CSSNameSpaceRule_id, - eDOMClassInfo_CSSRuleList_id, - eDOMClassInfo_CSSGroupRuleRuleList_id, - eDOMClassInfo_MediaList_id, - eDOMClassInfo_StyleSheetList_id, - eDOMClassInfo_CSSStyleSheet_id, - eDOMClassInfo_CSSStyleDeclaration_id, - eDOMClassInfo_ComputedCSSStyleDeclaration_id, - eDOMClassInfo_ROCSSPrimitiveValue_id, - - // Range classes - eDOMClassInfo_Range_id, - eDOMClassInfo_Selection_id, - - // XUL classes -#ifdef MOZ_XUL - eDOMClassInfo_XULDocument_id, - eDOMClassInfo_XULElement_id, - eDOMClassInfo_XULCommandDispatcher_id, -#endif - eDOMClassInfo_XULControllers_id, - eDOMClassInfo_BoxObject_id, -#ifdef MOZ_XUL - eDOMClassInfo_TreeSelection_id, - eDOMClassInfo_TreeContentView_id, -#endif - - // Crypto classes - eDOMClassInfo_Crypto_id, - eDOMClassInfo_CRMFObject_id, - - // DOM Traversal classes - eDOMClassInfo_TreeWalker_id, - - // Rect object used by getComputedStyle - eDOMClassInfo_CSSRect_id, - - // DOM Chrome Window class, almost identical to Window - eDOMClassInfo_ChromeWindow_id, - - // RGBColor object used by getComputedStyle - eDOMClassInfo_CSSRGBColor_id, - - eDOMClassInfo_RangeException_id, - - // CSSValueList object that represents an nsIDOMCSSValueList, used - // by DOM CSS - eDOMClassInfo_CSSValueList_id, - - // ContentList object used for various live NodeLists - eDOMClassInfo_ContentList_id, - - // Processing-instruction with target "xml-stylesheet" - eDOMClassInfo_XMLStylesheetProcessingInstruction_id, - - eDOMClassInfo_ImageDocument_id, - -#ifdef MOZ_XUL - eDOMClassInfo_XULTemplateBuilder_id, - eDOMClassInfo_XULTreeBuilder_id, -#endif - - // DOMStringList object - eDOMClassInfo_DOMStringList_id, - - // NameList object used by the DOM - eDOMClassInfo_NameList_id, - -#ifdef MOZ_XUL - eDOMClassInfo_TreeColumn_id, - eDOMClassInfo_TreeColumns_id, -#endif - - eDOMClassInfo_CSSMozDocumentRule_id, - - eDOMClassInfo_BeforeUnloadEvent_id, - -#ifdef MOZ_SVG - // The SVG document - eDOMClassInfo_SVGDocument_id, - - // SVG element classes - eDOMClassInfo_SVGAElement_id, -#ifdef MOZ_SMIL - eDOMClassInfo_SVGAnimateElement_id, - eDOMClassInfo_SVGAnimateTransformElement_id, - eDOMClassInfo_SVGSetElement_id, -#endif // MOZ_SMIL - eDOMClassInfo_SVGCircleElement_id, - eDOMClassInfo_SVGClipPathElement_id, - eDOMClassInfo_SVGDefsElement_id, - eDOMClassInfo_SVGDescElement_id, - eDOMClassInfo_SVGEllipseElement_id, - eDOMClassInfo_SVGFEBlendElement_id, - eDOMClassInfo_SVGFEColorMatrixElement_id, - eDOMClassInfo_SVGFEComponentTransferElement_id, - eDOMClassInfo_SVGFECompositeElement_id, - eDOMClassInfo_SVGFEConvolveMatrixElement_id, - eDOMClassInfo_SVGFEDiffuseLightingElement_id, - eDOMClassInfo_SVGFEDisplacementMapElement_id, - eDOMClassInfo_SVGFEDistantLightElement_id, - eDOMClassInfo_SVGFEFloodElement_id, - eDOMClassInfo_SVGFEFuncAElement_id, - eDOMClassInfo_SVGFEFuncBElement_id, - eDOMClassInfo_SVGFEFuncGElement_id, - eDOMClassInfo_SVGFEFuncRElement_id, - eDOMClassInfo_SVGFEGaussianBlurElement_id, - eDOMClassInfo_SVGFEImageElement_id, - eDOMClassInfo_SVGFEMergeElement_id, - eDOMClassInfo_SVGFEMergeNodeElement_id, - eDOMClassInfo_SVGFEMorphologyElement_id, - eDOMClassInfo_SVGFEOffsetElement_id, - eDOMClassInfo_SVGFEPointLightElement_id, - eDOMClassInfo_SVGFESpecularLightingElement_id, - eDOMClassInfo_SVGFESpotLightElement_id, - eDOMClassInfo_SVGFETileElement_id, - eDOMClassInfo_SVGFETurbulenceElement_id, - eDOMClassInfo_SVGFilterElement_id, - eDOMClassInfo_SVGGElement_id, - eDOMClassInfo_SVGImageElement_id, - eDOMClassInfo_SVGLinearGradientElement_id, - eDOMClassInfo_SVGLineElement_id, - eDOMClassInfo_SVGMarkerElement_id, - eDOMClassInfo_SVGMaskElement_id, - eDOMClassInfo_SVGMetadataElement_id, - eDOMClassInfo_SVGPathElement_id, - eDOMClassInfo_SVGPatternElement_id, - eDOMClassInfo_SVGPolygonElement_id, - eDOMClassInfo_SVGPolylineElement_id, - eDOMClassInfo_SVGRadialGradientElement_id, - eDOMClassInfo_SVGRectElement_id, - eDOMClassInfo_SVGScriptElement_id, - eDOMClassInfo_SVGStopElement_id, - eDOMClassInfo_SVGStyleElement_id, - eDOMClassInfo_SVGSVGElement_id, - eDOMClassInfo_SVGSwitchElement_id, - eDOMClassInfo_SVGSymbolElement_id, - eDOMClassInfo_SVGTextElement_id, - eDOMClassInfo_SVGTextPathElement_id, - eDOMClassInfo_SVGTitleElement_id, - eDOMClassInfo_SVGTSpanElement_id, - eDOMClassInfo_SVGUseElement_id, - - // other SVG classes - eDOMClassInfo_SVGAngle_id, - eDOMClassInfo_SVGAnimatedAngle_id, - eDOMClassInfo_SVGAnimatedBoolean_id, - eDOMClassInfo_SVGAnimatedEnumeration_id, - eDOMClassInfo_SVGAnimatedInteger_id, - eDOMClassInfo_SVGAnimatedLength_id, - eDOMClassInfo_SVGAnimatedLengthList_id, - eDOMClassInfo_SVGAnimatedNumber_id, - eDOMClassInfo_SVGAnimatedNumberList_id, - eDOMClassInfo_SVGAnimatedPreserveAspectRatio_id, - eDOMClassInfo_SVGAnimatedRect_id, - eDOMClassInfo_SVGAnimatedString_id, - eDOMClassInfo_SVGAnimatedTransformList_id, - eDOMClassInfo_SVGEvent_id, - eDOMClassInfo_SVGException_id, - eDOMClassInfo_SVGLength_id, - eDOMClassInfo_SVGLengthList_id, - eDOMClassInfo_SVGMatrix_id, - eDOMClassInfo_SVGNumber_id, - eDOMClassInfo_SVGNumberList_id, - eDOMClassInfo_SVGPathSegArcAbs_id, - eDOMClassInfo_SVGPathSegArcRel_id, - eDOMClassInfo_SVGPathSegClosePath_id, - eDOMClassInfo_SVGPathSegCurvetoCubicAbs_id, - eDOMClassInfo_SVGPathSegCurvetoCubicRel_id, - eDOMClassInfo_SVGPathSegCurvetoCubicSmoothAbs_id, - eDOMClassInfo_SVGPathSegCurvetoCubicSmoothRel_id, - eDOMClassInfo_SVGPathSegCurvetoQuadraticAbs_id, - eDOMClassInfo_SVGPathSegCurvetoQuadraticRel_id, - eDOMClassInfo_SVGPathSegCurvetoQuadraticSmoothAbs_id, - eDOMClassInfo_SVGPathSegCurvetoQuadraticSmoothRel_id, - eDOMClassInfo_SVGPathSegLinetoAbs_id, - eDOMClassInfo_SVGPathSegLinetoHorizontalAbs_id, - eDOMClassInfo_SVGPathSegLinetoHorizontalRel_id, - eDOMClassInfo_SVGPathSegLinetoRel_id, - eDOMClassInfo_SVGPathSegLinetoVerticalAbs_id, - eDOMClassInfo_SVGPathSegLinetoVerticalRel_id, - eDOMClassInfo_SVGPathSegList_id, - eDOMClassInfo_SVGPathSegMovetoAbs_id, - eDOMClassInfo_SVGPathSegMovetoRel_id, - eDOMClassInfo_SVGPoint_id, - eDOMClassInfo_SVGPointList_id, - eDOMClassInfo_SVGPreserveAspectRatio_id, - eDOMClassInfo_SVGRect_id, - eDOMClassInfo_SVGTransform_id, - eDOMClassInfo_SVGTransformList_id, - eDOMClassInfo_SVGZoomEvent_id, -#endif // MOZ_SVG - - // Canvas - eDOMClassInfo_HTMLCanvasElement_id, - eDOMClassInfo_CanvasRenderingContext2D_id, - eDOMClassInfo_CanvasGradient_id, - eDOMClassInfo_CanvasPattern_id, - eDOMClassInfo_TextMetrics_id, - - // SmartCard Events - eDOMClassInfo_SmartCardEvent_id, - - // PageTransition Events - eDOMClassInfo_PageTransitionEvent_id, - - // WindowUtils - eDOMClassInfo_WindowUtils_id, - - // XSLTProcessor - eDOMClassInfo_XSLTProcessor_id, - - // DOM Level 3 XPath objects - eDOMClassInfo_XPathEvaluator_id, - eDOMClassInfo_XPathException_id, - eDOMClassInfo_XPathExpression_id, - eDOMClassInfo_XPathNSResolver_id, - eDOMClassInfo_XPathResult_id, - - // WhatWG WebApps Objects - eDOMClassInfo_StorageObsolete_id, - eDOMClassInfo_Storage_id, - eDOMClassInfo_StorageList_id, - eDOMClassInfo_StorageItem_id, - eDOMClassInfo_StorageEvent_id, - eDOMClassInfo_StorageEventObsolete_id, - - // DOMParser, XMLSerializer - eDOMClassInfo_DOMParser_id, - eDOMClassInfo_XMLSerializer_id, - - // XMLHttpRequest - eDOMClassInfo_XMLHttpProgressEvent_id, - eDOMClassInfo_XMLHttpRequest_id, - - eDOMClassInfo_ClientRect_id, - eDOMClassInfo_ClientRectList_id, - - // We are now trying to preserve binary compat in classinfo. No more - // putting things in those categories up there. New entries are to be - // added here, which is the end of the things that are currently on by - // default. - -#ifdef MOZ_SVG - eDOMClassInfo_SVGForeignObjectElement_id, -#endif - - eDOMClassInfo_XULCommandEvent_id, - eDOMClassInfo_CommandEvent_id, - eDOMClassInfo_OfflineResourceList_id, - - eDOMClassInfo_FileList_id, - eDOMClassInfo_File_id, - eDOMClassInfo_FileException_id, - eDOMClassInfo_FileError_id, - eDOMClassInfo_FileReader_id, - - // DOM modal content window class, almost identical to Window - eDOMClassInfo_ModalContentWindow_id, - - // Data Events - eDOMClassInfo_DataContainerEvent_id, - - // event used for cross-domain message-passing and for server-sent events in - // HTML5 - eDOMClassInfo_MessageEvent_id, - - // Geolocation - eDOMClassInfo_GeoGeolocation_id, - eDOMClassInfo_GeoPosition_id, - eDOMClassInfo_GeoPositionCoords_id, - eDOMClassInfo_GeoPositionError_id, - - // @font-face in CSS - eDOMClassInfo_CSSFontFaceRule_id, - eDOMClassInfo_CSSFontFaceStyleDecl_id, - - // WhatWG Video Element - eDOMClassInfo_HTMLVideoElement_id, - eDOMClassInfo_HTMLSourceElement_id, - eDOMClassInfo_HTMLMediaError_id, - eDOMClassInfo_HTMLAudioElement_id, - - eDOMClassInfo_ProgressEvent_id, - - eDOMClassInfo_XMLHttpRequestUpload_id, - - // DOM Traversal NodeIterator class - eDOMClassInfo_NodeIterator_id, - - eDOMClassInfo_DataTransfer_id, - - eDOMClassInfo_NotifyPaintEvent_id, - - eDOMClassInfo_SimpleGestureEvent_id, - -#ifdef MOZ_MATHML - eDOMClassInfo_MathMLElement_id, -#endif - - eDOMClassInfo_Worker_id, - - // WebGL - eDOMClassInfo_CanvasRenderingContextWebGL_id, - eDOMClassInfo_WebGLBuffer_id, - eDOMClassInfo_WebGLTexture_id, - eDOMClassInfo_WebGLProgram_id, - eDOMClassInfo_WebGLShader_id, - eDOMClassInfo_WebGLFramebuffer_id, - eDOMClassInfo_WebGLRenderbuffer_id, - - eDOMClassInfo_PaintRequest_id, - eDOMClassInfo_PaintRequestList_id, - - eDOMClassInfo_ScrollAreaEvent_id, - eDOMClassInfo_PopStateEvent_id, - - eDOMClassInfo_EventListenerInfo_id, - - eDOMClassInfo_TransitionEvent_id, - - eDOMClassInfo_FormData_id, +#include "nsDOMClassInfoClasses.h" // This one better be the last one in this list eDOMClassInfoIDCount }; +#undef DOMCI_CLASS + /** * nsIClassInfo helper macros */ #ifdef _IMPL_NS_LAYOUT +#define DOMCI_DATA(_dom_class, _class) + class nsIClassInfo; class nsXPCClassInfo; diff --git a/dom/base/nsDOMException.cpp b/dom/base/nsDOMException.cpp index a0648192350..d0322bb8b18 100644 --- a/dom/base/nsDOMException.cpp +++ b/dom/base/nsDOMException.cpp @@ -70,6 +70,8 @@ public: \ classname::classname() {} \ classname::~classname() {} \ \ +DOMCI_DATA(domname, classname) \ + \ NS_IMPL_ADDREF_INHERITED(classname, nsBaseDOMException) \ NS_IMPL_RELEASE_INHERITED(classname, nsBaseDOMException) \ NS_INTERFACE_MAP_BEGIN(classname) \ diff --git a/dom/base/nsDOMWindowUtils.cpp b/dom/base/nsDOMWindowUtils.cpp index dd3c1e48d18..98636d35164 100644 --- a/dom/base/nsDOMWindowUtils.cpp +++ b/dom/base/nsDOMWindowUtils.cpp @@ -82,6 +82,8 @@ static PRBool IsUniversalXPConnectCapable() return hasCap; } +DOMCI_DATA(WindowUtils, nsDOMWindowUtils) + NS_INTERFACE_MAP_BEGIN(nsDOMWindowUtils) NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIDOMWindowUtils) NS_INTERFACE_MAP_ENTRY(nsIDOMWindowUtils) diff --git a/dom/base/nsGlobalWindow.cpp b/dom/base/nsGlobalWindow.cpp index 6fb4dd48c16..2cf23597617 100644 --- a/dom/base/nsGlobalWindow.cpp +++ b/dom/base/nsGlobalWindow.cpp @@ -1084,6 +1084,8 @@ nsGlobalWindow::FreeInnerObjects(PRBool aClearScope) NS_IMPL_CYCLE_COLLECTION_CLASS(nsGlobalWindow) +DOMCI_DATA(Window, nsGlobalWindow) + // QueryInterface implementation for nsGlobalWindow NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsGlobalWindow) // Make sure this matches the cast in nsGlobalWindow::FromWrapper() @@ -9210,6 +9212,8 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN_INHERITED(nsGlobalChromeWindow, NS_IMPL_CYCLE_COLLECTION_TRAVERSE_NSCOMPTR(mBrowserDOMWindow) NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END +DOMCI_DATA(ChromeWindow, nsGlobalChromeWindow) + // QueryInterface implementation for nsGlobalChromeWindow NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED(nsGlobalChromeWindow) NS_INTERFACE_MAP_ENTRY(nsIDOMChromeWindow) @@ -9447,6 +9451,8 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN_INHERITED(nsGlobalModalWindow, NS_IMPL_CYCLE_COLLECTION_TRAVERSE_NSCOMPTR(mReturnValue) NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END +DOMCI_DATA(ModalContentWindow, nsGlobalModalWindow) + NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED(nsGlobalModalWindow) NS_INTERFACE_MAP_ENTRY(nsIDOMModalContentWindow) NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(ModalContentWindow) @@ -9559,6 +9565,8 @@ nsNavigator::~nsNavigator() //***************************************************************************** +DOMCI_DATA(Navigator, nsNavigator) + // QueryInterface implementation for nsNavigator NS_INTERFACE_MAP_BEGIN(nsNavigator) NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIDOMNavigator) diff --git a/dom/base/nsHistory.cpp b/dom/base/nsHistory.cpp index 5c2f23ff153..699ef686620 100644 --- a/dom/base/nsHistory.cpp +++ b/dom/base/nsHistory.cpp @@ -77,6 +77,8 @@ nsHistory::~nsHistory() } +DOMCI_DATA(History, nsHistory) + // QueryInterface implementation for nsHistory NS_INTERFACE_MAP_BEGIN(nsHistory) NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIDOMHistory) diff --git a/dom/base/nsLocation.cpp b/dom/base/nsLocation.cpp index 946dc369576..a8a5a146d5b 100644 --- a/dom/base/nsLocation.cpp +++ b/dom/base/nsLocation.cpp @@ -145,6 +145,7 @@ nsLocation::~nsLocation() { } +DOMCI_DATA(Location, nsLocation) // QueryInterface implementation for nsLocation NS_INTERFACE_MAP_BEGIN(nsLocation) diff --git a/dom/base/nsMimeTypeArray.cpp b/dom/base/nsMimeTypeArray.cpp index f5f94062578..1e64c830d74 100644 --- a/dom/base/nsMimeTypeArray.cpp +++ b/dom/base/nsMimeTypeArray.cpp @@ -61,6 +61,8 @@ nsMimeTypeArray::~nsMimeTypeArray() } +DOMCI_DATA(MimeTypeArray, nsMimeTypeArray) + // QueryInterface implementation for nsMimeTypeArray NS_INTERFACE_MAP_BEGIN(nsMimeTypeArray) NS_INTERFACE_MAP_ENTRY(nsISupports) @@ -283,6 +285,8 @@ nsMimeType::~nsMimeType() } +DOMCI_DATA(MimeType, nsMimeType) + // QueryInterface implementation for nsMimeType NS_INTERFACE_MAP_BEGIN(nsMimeType) NS_INTERFACE_MAP_ENTRY(nsISupports) diff --git a/dom/base/nsPluginArray.cpp b/dom/base/nsPluginArray.cpp index 7c2e597980c..9871865d568 100644 --- a/dom/base/nsPluginArray.cpp +++ b/dom/base/nsPluginArray.cpp @@ -70,6 +70,8 @@ nsPluginArray::~nsPluginArray() } } +DOMCI_DATA(PluginArray, nsPluginArray) + // QueryInterface implementation for nsPluginArray NS_INTERFACE_MAP_BEGIN(nsPluginArray) NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIDOMPluginArray) @@ -297,6 +299,8 @@ nsPluginElement::~nsPluginElement() } +DOMCI_DATA(Plugin, nsPluginElement) + // QueryInterface implementation for nsPluginElement NS_INTERFACE_MAP_BEGIN(nsPluginElement) NS_INTERFACE_MAP_ENTRY(nsISupports) diff --git a/dom/base/nsScreen.cpp b/dom/base/nsScreen.cpp index e79d15d7dad..f73239734e2 100644 --- a/dom/base/nsScreen.cpp +++ b/dom/base/nsScreen.cpp @@ -59,6 +59,8 @@ nsScreen::~nsScreen() } +DOMCI_DATA(Screen, nsScreen) + // QueryInterface implementation for nsScreen NS_INTERFACE_MAP_BEGIN(nsScreen) NS_INTERFACE_MAP_ENTRY(nsISupports) diff --git a/dom/src/geolocation/WinMobileLocationProvider.cpp b/dom/src/geolocation/WinMobileLocationProvider.cpp index c1b943ed1d3..7defe039b23 100644 --- a/dom/src/geolocation/WinMobileLocationProvider.cpp +++ b/dom/src/geolocation/WinMobileLocationProvider.cpp @@ -70,6 +70,8 @@ private: double mLat, mLong, mAlt, mHError, mVError, mHeading, mSpeed; }; +DOMCI_DATA(GeoPositionCoords, nsGeoPositionCoords) + NS_INTERFACE_MAP_BEGIN(nsGeoPositionCoords) NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIDOMGeoPositionCoords) NS_INTERFACE_MAP_ENTRY(nsIDOMGeoPositionCoords) @@ -156,6 +158,8 @@ private: nsRefPtr mCoords; }; +DOMCI_DATA(GeoPosition, nsGeoPosition) + NS_INTERFACE_MAP_BEGIN(nsGeoPosition) NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIDOMGeoPosition) NS_INTERFACE_MAP_ENTRY(nsIDOMGeoPosition) diff --git a/dom/src/geolocation/nsGeolocation.cpp b/dom/src/geolocation/nsGeolocation.cpp index 59ab79a3a4c..07cb03914fc 100644 --- a/dom/src/geolocation/nsGeolocation.cpp +++ b/dom/src/geolocation/nsGeolocation.cpp @@ -86,6 +86,8 @@ private: PRInt16 mCode; }; +DOMCI_DATA(GeoPositionError, nsDOMGeoPositionError) + NS_INTERFACE_MAP_BEGIN(nsDOMGeoPositionError) NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIDOMGeoPositionError) NS_INTERFACE_MAP_ENTRY(nsIDOMGeoPositionError) @@ -688,6 +690,8 @@ nsGeolocationService::RemoveLocator(nsGeolocation* aLocator) // nsGeolocation //////////////////////////////////////////////////// +DOMCI_DATA(GeoGeolocation, nsGeolocation) + NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsGeolocation) NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIDOMGeoGeolocation) NS_INTERFACE_MAP_ENTRY(nsIDOMGeoGeolocation) @@ -956,3 +960,8 @@ nsGeolocation::WindowOwnerStillExists() return PR_TRUE; } + +#ifndef WINCE_WINDOWS_MOBILE +DOMCI_DATA(GeoPositionCoords, void) +DOMCI_DATA(GeoPosition, void) +#endif diff --git a/dom/src/offline/nsDOMOfflineResourceList.cpp b/dom/src/offline/nsDOMOfflineResourceList.cpp index 94acb93131f..68008779d1e 100644 --- a/dom/src/offline/nsDOMOfflineResourceList.cpp +++ b/dom/src/offline/nsDOMOfflineResourceList.cpp @@ -115,6 +115,8 @@ NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN_INHERITED(nsDOMOfflineResourceList, NS_IMPL_CYCLE_COLLECTION_UNLINK_END +DOMCI_DATA(OfflineResourceList, nsDOMOfflineResourceList) + NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED(nsDOMOfflineResourceList) NS_INTERFACE_MAP_ENTRY(nsIDOMOfflineResourceList) NS_INTERFACE_MAP_ENTRY(nsIOfflineCacheUpdateObserver) diff --git a/dom/src/storage/nsDOMStorage.cpp b/dom/src/storage/nsDOMStorage.cpp index 3ed4343967a..a5afe0bf312 100644 --- a/dom/src/storage/nsDOMStorage.cpp +++ b/dom/src/storage/nsDOMStorage.cpp @@ -518,6 +518,8 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN(nsDOMStorage) } NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END +DOMCI_DATA(StorageObsolete, nsDOMStorage) + NS_IMPL_CYCLE_COLLECTING_ADDREF_AMBIGUOUS(nsDOMStorage, nsIDOMStorageObsolete) NS_IMPL_CYCLE_COLLECTING_RELEASE_AMBIGUOUS(nsDOMStorage, nsIDOMStorageObsolete) NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsDOMStorage) @@ -1448,6 +1450,8 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN(nsDOMStorage2) NS_IMPL_CYCLE_COLLECTION_TRAVERSE_NSCOMPTR_AMBIGUOUS(mStorage, nsIDOMStorageObsolete) NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END +DOMCI_DATA(Storage, nsDOMStorage2) + NS_IMPL_CYCLE_COLLECTING_ADDREF_AMBIGUOUS(nsDOMStorage2, nsIDOMStorage) NS_IMPL_CYCLE_COLLECTING_RELEASE_AMBIGUOUS(nsDOMStorage2, nsIDOMStorage) NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsDOMStorage2) @@ -1676,6 +1680,8 @@ nsDOMStorage2::Clear() // nsDOMStorageList // +DOMCI_DATA(StorageList, nsDOMStorageList) + NS_INTERFACE_MAP_BEGIN(nsDOMStorageList) NS_INTERFACE_MAP_ENTRY(nsISupports) NS_INTERFACE_MAP_ENTRY(nsIDOMStorageList) @@ -1863,6 +1869,9 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END NS_IMPL_CYCLE_COLLECTING_ADDREF_AMBIGUOUS(nsDOMStorageItem, nsIDOMStorageItem) NS_IMPL_CYCLE_COLLECTING_RELEASE_AMBIGUOUS(nsDOMStorageItem, nsIDOMStorageItem) + +DOMCI_DATA(StorageItem, nsDOMStorageItem) + NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsDOMStorageItem) NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIDOMStorageItem) NS_INTERFACE_MAP_ENTRY(nsIDOMStorageItem) @@ -1971,6 +1980,8 @@ nsDOMStorageItem::ToString(nsAString& aStr) return GetValue(aStr); } +DOMCI_DATA(StorageEvent, nsDOMStorageEvent) + // QueryInterface implementation for nsDOMStorageEvent NS_INTERFACE_MAP_BEGIN(nsDOMStorageEvent) NS_INTERFACE_MAP_ENTRY(nsIDOMStorageEvent) @@ -2044,6 +2055,8 @@ NS_IMETHODIMP nsDOMStorageEvent::InitStorageEvent(const nsAString & typeArg, // Obsolete globalStorage event +DOMCI_DATA(StorageEventObsolete, nsDOMStorageEventObsolete) + // QueryInterface implementation for nsDOMStorageEventObsolete NS_INTERFACE_MAP_BEGIN(nsDOMStorageEventObsolete) NS_INTERFACE_MAP_ENTRY(nsIDOMStorageEventObsolete) diff --git a/layout/generic/nsSelection.cpp b/layout/generic/nsSelection.cpp index 6e9aa235265..7d7be1557dd 100644 --- a/layout/generic/nsSelection.cpp +++ b/layout/generic/nsSelection.cpp @@ -3397,6 +3397,8 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN(nsTypedSelection) NS_IMPL_CYCLE_COLLECTION_TRAVERSE_NSCOMARRAY(mSelectionListeners) NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END +DOMCI_DATA(Selection, nsTypedSelection) + // QueryInterface implementation for nsTypedSelection NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsTypedSelection) NS_INTERFACE_MAP_ENTRY(nsISelection) diff --git a/layout/style/nsCSSRules.cpp b/layout/style/nsCSSRules.cpp index 4c12530692f..482354ad5c2 100644 --- a/layout/style/nsCSSRules.cpp +++ b/layout/style/nsCSSRules.cpp @@ -119,6 +119,8 @@ CSSGroupRuleRuleListImpl::~CSSGroupRuleRuleListImpl() { } +DOMCI_DATA(CSSGroupRuleRuleList, CSSGroupRuleRuleListImpl) + // QueryInterface implementation for CSSGroupRuleRuleList NS_INTERFACE_MAP_BEGIN(CSSGroupRuleRuleListImpl) NS_INTERFACE_MAP_ENTRY(nsICSSRuleList) @@ -235,6 +237,8 @@ CSSCharsetRuleImpl::~CSSCharsetRuleImpl(void) NS_IMPL_ADDREF_INHERITED(CSSCharsetRuleImpl, nsCSSRule) NS_IMPL_RELEASE_INHERITED(CSSCharsetRuleImpl, nsCSSRule) +DOMCI_DATA(CSSCharsetRule, CSSCharsetRuleImpl) + // QueryInterface implementation for CSSCharsetRuleImpl NS_INTERFACE_MAP_BEGIN(CSSCharsetRuleImpl) NS_INTERFACE_MAP_ENTRY(nsICSSRule) @@ -436,6 +440,8 @@ CSSImportRuleImpl::~CSSImportRuleImpl(void) NS_IMPL_ADDREF_INHERITED(CSSImportRuleImpl, nsCSSRule) NS_IMPL_RELEASE_INHERITED(CSSImportRuleImpl, nsCSSRule) +DOMCI_DATA(CSSImportRule, CSSImportRuleImpl) + // QueryInterface implementation for CSSImportRuleImpl NS_INTERFACE_MAP_BEGIN(CSSImportRuleImpl) NS_INTERFACE_MAP_ENTRY(nsICSSImportRule) @@ -916,6 +922,8 @@ nsCSSMediaRule::~nsCSSMediaRule() NS_IMPL_ADDREF_INHERITED(nsCSSMediaRule, nsCSSRule) NS_IMPL_RELEASE_INHERITED(nsCSSMediaRule, nsCSSRule) +DOMCI_DATA(CSSMediaRule, nsCSSMediaRule) + // QueryInterface implementation for nsCSSMediaRule NS_INTERFACE_MAP_BEGIN(nsCSSMediaRule) NS_INTERFACE_MAP_ENTRY(nsICSSGroupRule) @@ -1086,6 +1094,8 @@ nsCSSDocumentRule::~nsCSSDocumentRule(void) NS_IMPL_ADDREF_INHERITED(nsCSSDocumentRule, nsCSSRule) NS_IMPL_RELEASE_INHERITED(nsCSSDocumentRule, nsCSSRule) +DOMCI_DATA(CSSMozDocumentRule, nsCSSDocumentRule) + // QueryInterface implementation for nsCSSDocumentRule NS_INTERFACE_MAP_BEGIN(nsCSSDocumentRule) NS_INTERFACE_MAP_ENTRY(nsICSSGroupRule) @@ -1325,6 +1335,8 @@ CSSNameSpaceRuleImpl::~CSSNameSpaceRuleImpl(void) NS_IMPL_ADDREF_INHERITED(CSSNameSpaceRuleImpl, nsCSSRule) NS_IMPL_RELEASE_INHERITED(CSSNameSpaceRuleImpl, nsCSSRule) +DOMCI_DATA(CSSNameSpaceRule, CSSNameSpaceRuleImpl) + // QueryInterface implementation for CSSNameSpaceRuleImpl NS_INTERFACE_MAP_BEGIN(CSSNameSpaceRuleImpl) NS_INTERFACE_MAP_ENTRY(nsICSSNameSpaceRule) @@ -1590,6 +1602,8 @@ nsCSSFontFaceStyleDecl::Fields[] = { &nsCSSFontFaceStyleDecl::mUnicodeRange }; +DOMCI_DATA(CSSFontFaceStyleDecl, nsCSSFontFaceStyleDecl) + // QueryInterface implementation for nsCSSFontFaceStyleDecl NS_INTERFACE_MAP_BEGIN(nsCSSFontFaceStyleDecl) NS_INTERFACE_MAP_ENTRY(nsIDOMCSSStyleDeclaration) @@ -1813,6 +1827,8 @@ nsCSSFontFaceRule::Clone(nsICSSRule*& aClone) const NS_IMPL_ADDREF_INHERITED(nsCSSFontFaceRule, nsCSSRule) NS_IMPL_RELEASE_INHERITED(nsCSSFontFaceRule, nsCSSRule) +DOMCI_DATA(CSSFontFaceRule, nsCSSFontFaceRule) + // QueryInterface implementation for nsCSSFontFaceRule NS_INTERFACE_MAP_BEGIN(nsCSSFontFaceRule) NS_INTERFACE_MAP_ENTRY(nsICSSRule) diff --git a/layout/style/nsCSSStyleRule.cpp b/layout/style/nsCSSStyleRule.cpp index fed81002d3d..c76280daacf 100644 --- a/layout/style/nsCSSStyleRule.cpp +++ b/layout/style/nsCSSStyleRule.cpp @@ -1129,6 +1129,8 @@ DOMCSSStyleRuleImpl::~DOMCSSStyleRuleImpl() { } +DOMCI_DATA(CSSStyleRule, DOMCSSStyleRuleImpl) + NS_INTERFACE_MAP_BEGIN(DOMCSSStyleRuleImpl) NS_INTERFACE_MAP_ENTRY(nsICSSStyleRuleDOMWrapper) NS_INTERFACE_MAP_ENTRY(nsIDOMCSSStyleRule) diff --git a/layout/style/nsCSSStyleSheet.cpp b/layout/style/nsCSSStyleSheet.cpp index db0f95e92f1..784958547f2 100644 --- a/layout/style/nsCSSStyleSheet.cpp +++ b/layout/style/nsCSSStyleSheet.cpp @@ -118,6 +118,8 @@ CSSRuleListImpl::~CSSRuleListImpl() { } +DOMCI_DATA(CSSRuleList, CSSRuleListImpl) + // QueryInterface implementation for CSSRuleList NS_INTERFACE_MAP_BEGIN(CSSRuleListImpl) NS_INTERFACE_MAP_ENTRY(nsICSSRuleList) @@ -506,6 +508,8 @@ nsMediaQuery::Matches(nsPresContext* aPresContext, return match == !mNegated; } +DOMCI_DATA(MediaList, nsMediaList) + NS_INTERFACE_MAP_BEGIN(nsMediaList) NS_INTERFACE_MAP_ENTRY(nsIDOMMediaList) NS_INTERFACE_MAP_ENTRY(nsISupports) @@ -1058,6 +1062,8 @@ nsCSSStyleSheet::~nsCSSStyleSheet() } +DOMCI_DATA(CSSStyleSheet, nsCSSStyleSheet) + // QueryInterface implementation for nsCSSStyleSheet NS_INTERFACE_MAP_BEGIN(nsCSSStyleSheet) NS_INTERFACE_MAP_ENTRY(nsICSSStyleSheet) diff --git a/layout/style/nsComputedDOMStyle.cpp b/layout/style/nsComputedDOMStyle.cpp index 5cddc9fd99d..033157f27df 100644 --- a/layout/style/nsComputedDOMStyle.cpp +++ b/layout/style/nsComputedDOMStyle.cpp @@ -156,6 +156,8 @@ nsComputedDOMStyle::Shutdown() NS_IMPL_CYCLE_COLLECTION_1(nsComputedDOMStyle, mContent) +DOMCI_DATA(ComputedCSSStyleDeclaration, nsComputedDOMStyle) + // QueryInterface implementation for nsComputedDOMStyle NS_INTERFACE_TABLE_HEAD(nsComputedDOMStyle) NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY diff --git a/layout/style/nsDOMCSSDeclaration.cpp b/layout/style/nsDOMCSSDeclaration.cpp index 6b69ca375fc..ced0c242ff6 100644 --- a/layout/style/nsDOMCSSDeclaration.cpp +++ b/layout/style/nsDOMCSSDeclaration.cpp @@ -59,6 +59,8 @@ nsDOMCSSDeclaration::~nsDOMCSSDeclaration() { } +DOMCI_DATA(CSSStyleDeclaration, nsDOMCSSDeclaration) + NS_INTERFACE_TABLE_HEAD(nsDOMCSSDeclaration) NS_OFFSET_AND_INTERFACE_TABLE_BEGIN(nsDOMCSSDeclaration) NS_INTERFACE_TABLE_ENTRY(nsDOMCSSDeclaration, nsICSSDeclaration) diff --git a/layout/style/nsDOMCSSRGBColor.cpp b/layout/style/nsDOMCSSRGBColor.cpp index d0f6628176e..465f172837d 100644 --- a/layout/style/nsDOMCSSRGBColor.cpp +++ b/layout/style/nsDOMCSSRGBColor.cpp @@ -58,6 +58,8 @@ nsDOMCSSRGBColor::~nsDOMCSSRGBColor(void) { } +DOMCI_DATA(CSSRGBColor, nsDOMCSSRGBColor) + NS_INTERFACE_MAP_BEGIN(nsDOMCSSRGBColor) NS_INTERFACE_MAP_ENTRY(nsIDOMRGBColor) NS_INTERFACE_MAP_ENTRY(nsIDOMNSRGBAColor) diff --git a/layout/style/nsDOMCSSRect.cpp b/layout/style/nsDOMCSSRect.cpp index bde92002487..3c9f3e9d61b 100644 --- a/layout/style/nsDOMCSSRect.cpp +++ b/layout/style/nsDOMCSSRect.cpp @@ -55,6 +55,8 @@ nsDOMCSSRect::~nsDOMCSSRect(void) { } +DOMCI_DATA(CSSRect, nsDOMCSSRect) + // QueryInterface implementation for nsCSSRect NS_INTERFACE_MAP_BEGIN(nsDOMCSSRect) NS_INTERFACE_MAP_ENTRY(nsIDOMRect) diff --git a/layout/style/nsDOMCSSValueList.cpp b/layout/style/nsDOMCSSValueList.cpp index 440f809c70e..2cc2961352a 100644 --- a/layout/style/nsDOMCSSValueList.cpp +++ b/layout/style/nsDOMCSSValueList.cpp @@ -55,6 +55,8 @@ nsDOMCSSValueList::~nsDOMCSSValueList() NS_IMPL_ADDREF(nsDOMCSSValueList) NS_IMPL_RELEASE(nsDOMCSSValueList) +DOMCI_DATA(CSSValueList, nsDOMCSSValueList) + // QueryInterface implementation for nsDOMCSSValueList NS_INTERFACE_MAP_BEGIN(nsDOMCSSValueList) NS_INTERFACE_MAP_ENTRY(nsIDOMCSSValueList) diff --git a/layout/style/nsROCSSPrimitiveValue.cpp b/layout/style/nsROCSSPrimitiveValue.cpp index 632df73521d..7681ef1247d 100644 --- a/layout/style/nsROCSSPrimitiveValue.cpp +++ b/layout/style/nsROCSSPrimitiveValue.cpp @@ -64,6 +64,8 @@ NS_IMPL_ADDREF(nsROCSSPrimitiveValue) NS_IMPL_RELEASE(nsROCSSPrimitiveValue) +DOMCI_DATA(ROCSSPrimitiveValue, nsROCSSPrimitiveValue) + // QueryInterface implementation for nsROCSSPrimitiveValue NS_INTERFACE_MAP_BEGIN(nsROCSSPrimitiveValue) NS_INTERFACE_MAP_ENTRY(nsIDOMCSSPrimitiveValue) diff --git a/layout/xul/base/src/nsBoxObject.cpp b/layout/xul/base/src/nsBoxObject.cpp index 851cd415f84..2bd3b48e0b1 100644 --- a/layout/xul/base/src/nsBoxObject.cpp +++ b/layout/xul/base/src/nsBoxObject.cpp @@ -70,6 +70,8 @@ NS_IMPL_CYCLE_COLLECTION_CLASS(nsBoxObject) NS_IMPL_CYCLE_COLLECTING_ADDREF(nsBoxObject) NS_IMPL_CYCLE_COLLECTING_RELEASE(nsBoxObject) +DOMCI_DATA(BoxObject, nsBoxObject) + // QueryInterface implementation for nsBoxObject NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsBoxObject) NS_INTERFACE_MAP_ENTRY(nsIBoxObject) diff --git a/layout/xul/base/src/tree/src/nsTreeColumns.cpp b/layout/xul/base/src/tree/src/nsTreeColumns.cpp index 69e6a5a03b0..30f86158054 100644 --- a/layout/xul/base/src/tree/src/nsTreeColumns.cpp +++ b/layout/xul/base/src/tree/src/nsTreeColumns.cpp @@ -79,6 +79,8 @@ NS_IMPL_CYCLE_COLLECTION_1(nsTreeColumn, mContent) NS_IMPL_CYCLE_COLLECTING_ADDREF(nsTreeColumn) NS_IMPL_CYCLE_COLLECTING_RELEASE(nsTreeColumn) +DOMCI_DATA(TreeColumn, nsTreeColumn) + // QueryInterface implementation for nsTreeColumn NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsTreeColumn) NS_INTERFACE_MAP_ENTRY(nsITreeColumn) @@ -376,6 +378,8 @@ nsTreeColumns::~nsTreeColumns() nsTreeColumns::InvalidateColumns(); } +DOMCI_DATA(TreeColumns, nsTreeColumns) + // QueryInterface implementation for nsTreeColumns NS_INTERFACE_MAP_BEGIN(nsTreeColumns) NS_INTERFACE_MAP_ENTRY(nsITreeColumns) diff --git a/layout/xul/base/src/tree/src/nsTreeContentView.cpp b/layout/xul/base/src/tree/src/nsTreeContentView.cpp index edae4475cf8..ae36abf8fa6 100644 --- a/layout/xul/base/src/tree/src/nsTreeContentView.cpp +++ b/layout/xul/base/src/tree/src/nsTreeContentView.cpp @@ -167,6 +167,8 @@ NS_IMPL_CYCLE_COLLECTION_4(nsTreeContentView, NS_IMPL_CYCLE_COLLECTING_ADDREF(nsTreeContentView) NS_IMPL_CYCLE_COLLECTING_RELEASE(nsTreeContentView) +DOMCI_DATA(TreeContentView, nsTreeContentView) + NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsTreeContentView) NS_INTERFACE_MAP_ENTRY(nsITreeView) NS_INTERFACE_MAP_ENTRY(nsITreeContentView) diff --git a/layout/xul/base/src/tree/src/nsTreeSelection.cpp b/layout/xul/base/src/tree/src/nsTreeSelection.cpp index 5e885cc49b1..5c373046d2c 100644 --- a/layout/xul/base/src/tree/src/nsTreeSelection.cpp +++ b/layout/xul/base/src/tree/src/nsTreeSelection.cpp @@ -277,6 +277,8 @@ NS_IMPL_CYCLE_COLLECTION_2(nsTreeSelection, mTree, mCurrentColumn) NS_IMPL_CYCLE_COLLECTING_ADDREF(nsTreeSelection) NS_IMPL_CYCLE_COLLECTING_RELEASE(nsTreeSelection) +DOMCI_DATA(TreeSelection, nsTreeSelection) + // QueryInterface implementation for nsBoxObject NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsTreeSelection) NS_INTERFACE_MAP_ENTRY(nsITreeSelection)