зеркало из https://github.com/mozilla/gecko-dev.git
Bug 877654 - Remove thisptr offset tables - Replace HTML element QI map end macro with generic macros. r=Ms2ger.
--HG-- extra : rebase_source : 1a425102a6d183814e4afbb16ee3416e138567ff
This commit is contained in:
Родитель
9c7b4d40a7
Коммит
8c9328dfef
|
@ -51,7 +51,7 @@ NS_INTERFACE_TABLE_HEAD(HTMLAnchorElement)
|
|||
nsILink,
|
||||
Link)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLAnchorElement)
|
||||
|
|
|
@ -35,7 +35,7 @@ NS_INTERFACE_TABLE_HEAD(HTMLAreaElement)
|
|||
nsILink,
|
||||
Link)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLAreaElement)
|
||||
|
|
|
@ -39,7 +39,7 @@ NS_INTERFACE_TABLE_HEAD(HTMLAudioElement)
|
|||
nsIDOMHTMLAudioElement, nsITimerCallback,
|
||||
nsIAudioChannelAgentCallback)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLAudioElement)
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ NS_INTERFACE_TABLE_HEAD(HTMLBRElement)
|
|||
NS_HTML_CONTENT_INTERFACES(nsGenericHTMLElement)
|
||||
NS_INTERFACE_TABLE_INHERITED1(HTMLBRElement, nsIDOMHTMLBRElement)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLBRElement)
|
||||
|
|
|
@ -207,7 +207,7 @@ NS_INTERFACE_TABLE_HEAD(HTMLBodyElement)
|
|||
NS_HTML_CONTENT_INTERFACES(nsGenericHTMLElement)
|
||||
NS_INTERFACE_TABLE_INHERITED1(HTMLBodyElement, nsIDOMHTMLBodyElement)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLBodyElement)
|
||||
|
||||
|
|
|
@ -89,7 +89,7 @@ NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(HTMLButtonElement)
|
|||
nsIDOMHTMLButtonElement,
|
||||
nsIConstraintValidation)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
// nsIConstraintValidation
|
||||
NS_IMPL_NSICONSTRAINTVALIDATION(HTMLButtonElement)
|
||||
|
|
|
@ -165,7 +165,7 @@ NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(HTMLCanvasElement)
|
|||
nsIDOMHTMLCanvasElement,
|
||||
nsICanvasElementExternal)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLCanvasElement)
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ NS_IMPL_RELEASE_INHERITED(HTMLDataElement, Element)
|
|||
|
||||
NS_INTERFACE_MAP_BEGIN(HTMLDataElement)
|
||||
NS_HTML_CONTENT_INTERFACES(nsGenericHTMLElement)
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLDataElement)
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(HTMLDataListElement)
|
|||
NS_INTERFACE_TABLE_INHERITED1(HTMLDataListElement,
|
||||
nsIDOMHTMLDataListElement)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLDataListElement)
|
||||
|
|
|
@ -28,7 +28,7 @@ NS_INTERFACE_TABLE_HEAD(HTMLDivElement)
|
|||
NS_HTML_CONTENT_INTERFACES(nsGenericHTMLElement)
|
||||
NS_INTERFACE_TABLE_INHERITED1(HTMLDivElement, nsIDOMHTMLDivElement)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLDivElement)
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ NS_IMPL_RELEASE_INHERITED(HTMLElement, Element)
|
|||
|
||||
NS_INTERFACE_MAP_BEGIN(HTMLElement)
|
||||
NS_HTML_CONTENT_INTERFACES(nsGenericHTMLElement)
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLElement)
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(HTMLFieldSetElement)
|
|||
nsIDOMHTMLFieldSetElement,
|
||||
nsIConstraintValidation)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLFieldSetElement)
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ NS_INTERFACE_TABLE_HEAD(HTMLFontElement)
|
|||
NS_HTML_CONTENT_INTERFACES(nsGenericHTMLElement)
|
||||
NS_INTERFACE_TABLE_INHERITED1(HTMLFontElement, nsIDOMHTMLFontElement)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLFontElement)
|
||||
|
|
|
@ -35,7 +35,7 @@ NS_INTERFACE_TABLE_HEAD(HTMLFrameElement)
|
|||
NS_HTML_CONTENT_INTERFACES(nsGenericHTMLFrameElement)
|
||||
NS_INTERFACE_TABLE_INHERITED1(HTMLFrameElement, nsIDOMHTMLFrameElement)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLFrameElement)
|
||||
|
|
|
@ -32,7 +32,7 @@ NS_INTERFACE_TABLE_HEAD(HTMLFrameSetElement)
|
|||
NS_INTERFACE_TABLE_INHERITED1(HTMLFrameSetElement,
|
||||
nsIDOMHTMLFrameSetElement)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLFrameSetElement)
|
||||
|
|
|
@ -30,7 +30,7 @@ NS_INTERFACE_TABLE_HEAD(HTMLHRElement)
|
|||
NS_INTERFACE_TABLE_INHERITED1(HTMLHRElement,
|
||||
nsIDOMHTMLHRElement)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLHRElement)
|
||||
|
|
|
@ -31,7 +31,7 @@ NS_INTERFACE_TABLE_HEAD(HTMLHeadingElement)
|
|||
NS_INTERFACE_TABLE_INHERITED1(HTMLHeadingElement,
|
||||
nsIDOMHTMLHeadingElement)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLHeadingElement)
|
||||
|
|
|
@ -41,7 +41,7 @@ NS_INTERFACE_TABLE_HEAD(HTMLIFrameElement)
|
|||
nsIDOMHTMLIFrameElement,
|
||||
nsIDOMGetSVGDocument)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLIFrameElement)
|
||||
|
||||
|
|
|
@ -92,7 +92,7 @@ NS_INTERFACE_TABLE_HEAD(HTMLImageElement)
|
|||
imgIOnloadBlocker,
|
||||
imgINotificationObserver)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLImageElement)
|
||||
|
|
|
@ -741,7 +741,7 @@ NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(HTMLInputElement)
|
|||
nsIDOMNSEditableElement,
|
||||
nsIConstraintValidation)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
// nsIConstraintValidation
|
||||
NS_IMPL_NSICONSTRAINTVALIDATION_EXCEPT_SETCUSTOMVALIDITY(HTMLInputElement)
|
||||
|
|
|
@ -30,7 +30,7 @@ NS_INTERFACE_TABLE_HEAD(HTMLLIElement)
|
|||
NS_HTML_CONTENT_INTERFACES(nsGenericHTMLElement)
|
||||
NS_INTERFACE_TABLE_INHERITED1(HTMLLIElement, nsIDOMHTMLLIElement)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLLIElement)
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ NS_INTERFACE_TABLE_HEAD(HTMLLabelElement)
|
|||
NS_INTERFACE_TABLE_INHERITED1(HTMLLabelElement,
|
||||
nsIDOMHTMLLabelElement)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
|
||||
// nsIDOMHTMLLabelElement
|
||||
|
|
|
@ -29,7 +29,7 @@ NS_INTERFACE_TABLE_HEAD(HTMLLegendElement)
|
|||
NS_HTML_CONTENT_INTERFACES(nsGenericHTMLElement)
|
||||
NS_INTERFACE_TABLE_INHERITED1(HTMLLegendElement, nsIDOMHTMLLegendElement)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
|
||||
// nsIDOMHTMLLegendElement
|
||||
|
|
|
@ -63,7 +63,7 @@ NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(HTMLLinkElement)
|
|||
nsIStyleSheetLinkingElement,
|
||||
Link)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLLinkElement)
|
||||
|
|
|
@ -35,7 +35,7 @@ NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(HTMLMapElement)
|
|||
NS_HTML_CONTENT_INTERFACES(nsGenericHTMLElement)
|
||||
NS_INTERFACE_TABLE_INHERITED1(HTMLMapElement, nsIDOMHTMLMapElement)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLMapElement)
|
||||
|
||||
|
|
|
@ -63,7 +63,7 @@ NS_INTERFACE_TABLE_HEAD(HTMLMenuElement)
|
|||
nsIDOMHTMLMenuElement,
|
||||
nsIHTMLMenu)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLMenuElement)
|
||||
|
||||
|
|
|
@ -181,7 +181,7 @@ NS_INTERFACE_TABLE_HEAD(HTMLMenuItemElement)
|
|||
nsIDOMHTMLCommandElement,
|
||||
nsIDOMHTMLMenuItemElement)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
//NS_IMPL_ELEMENT_CLONE(HTMLMenuItemElement)
|
||||
nsresult
|
||||
|
|
|
@ -34,7 +34,7 @@ NS_INTERFACE_TABLE_HEAD(HTMLMetaElement)
|
|||
NS_HTML_CONTENT_INTERFACES(nsGenericHTMLElement)
|
||||
NS_INTERFACE_TABLE_INHERITED1(HTMLMetaElement, nsIDOMHTMLMetaElement)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLMetaElement)
|
||||
|
|
|
@ -35,7 +35,7 @@ NS_INTERFACE_TABLE_HEAD(HTMLMeterElement)
|
|||
NS_INTERFACE_TABLE_INHERITED1(HTMLMeterElement,
|
||||
nsIDOMHTMLMeterElement)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLMeterElement)
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ NS_INTERFACE_TABLE_HEAD(HTMLModElement)
|
|||
NS_INTERFACE_TABLE_INHERITED1(HTMLModElement,
|
||||
nsIDOMHTMLModElement)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLModElement)
|
||||
|
|
|
@ -95,7 +95,7 @@ NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(HTMLObjectElement)
|
|||
nsIConstraintValidation,
|
||||
nsIDOMGetSVGDocument)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLObjectElement)
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ NS_INTERFACE_TABLE_HEAD(HTMLOptGroupElement)
|
|||
NS_INTERFACE_TABLE_INHERITED1(HTMLOptGroupElement,
|
||||
nsIDOMHTMLOptGroupElement)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLOptGroupElement)
|
||||
|
|
|
@ -86,7 +86,7 @@ NS_INTERFACE_TABLE_HEAD(HTMLOptionElement)
|
|||
NS_INTERFACE_TABLE_INHERITED1(HTMLOptionElement,
|
||||
nsIDOMHTMLOptionElement)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLOptionElement)
|
||||
|
|
|
@ -60,7 +60,7 @@ NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(HTMLOutputElement)
|
|||
nsIMutationObserver,
|
||||
nsIConstraintValidation)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLOutputElement)
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ NS_INTERFACE_TABLE_HEAD(HTMLParagraphElement)
|
|||
NS_INTERFACE_TABLE_INHERITED1(HTMLParagraphElement,
|
||||
nsIDOMHTMLParagraphElement)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLParagraphElement)
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ NS_INTERFACE_TABLE_HEAD(HTMLPreElement)
|
|||
NS_HTML_CONTENT_INTERFACES(nsGenericHTMLElement)
|
||||
NS_INTERFACE_TABLE_INHERITED1(HTMLPreElement, nsIDOMHTMLPreElement)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLPreElement)
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ NS_INTERFACE_TABLE_HEAD(HTMLProgressElement)
|
|||
NS_INTERFACE_TABLE_INHERITED1(HTMLProgressElement,
|
||||
nsIDOMHTMLProgressElement)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLProgressElement)
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ NS_INTERFACE_TABLE_HEAD(HTMLScriptElement)
|
|||
nsIScriptElement,
|
||||
nsIMutationObserver)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
|
||||
nsresult
|
||||
|
|
|
@ -155,7 +155,7 @@ NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(HTMLSelectElement)
|
|||
nsIDOMHTMLSelectElement,
|
||||
nsIConstraintValidation)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
|
||||
// nsIDOMHTMLSelectElement
|
||||
|
|
|
@ -42,7 +42,7 @@ NS_INTERFACE_MAP_BEGIN(HTMLSharedElement)
|
|||
NS_INTERFACE_MAP_ENTRY_IF_TAG(nsIDOMHTMLQuoteElement, blockquote)
|
||||
NS_INTERFACE_MAP_ENTRY_IF_TAG(nsIDOMHTMLHeadElement, head)
|
||||
NS_INTERFACE_MAP_ENTRY_IF_TAG(nsIDOMHTMLHtmlElement, html)
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLSharedElement)
|
||||
|
|
|
@ -34,7 +34,7 @@ NS_INTERFACE_MAP_BEGIN(HTMLSharedListElement)
|
|||
NS_INTERFACE_MAP_ENTRY_IF_TAG(nsIDOMHTMLOListElement, ol)
|
||||
NS_INTERFACE_MAP_ENTRY_IF_TAG(nsIDOMHTMLDListElement, dl)
|
||||
NS_INTERFACE_MAP_ENTRY_IF_TAG(nsIDOMHTMLUListElement, ul)
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLSharedListElement)
|
||||
|
|
|
@ -108,7 +108,7 @@ NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(HTMLSharedObjectElement)
|
|||
NS_INTERFACE_MAP_ENTRY_IF_TAG(nsIDOMHTMLAppletElement, applet)
|
||||
NS_INTERFACE_MAP_ENTRY_IF_TAG(nsIDOMHTMLEmbedElement, embed)
|
||||
NS_INTERFACE_MAP_ENTRY_IF_TAG(nsIDOMGetSVGDocument, embed)
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLSharedObjectElement)
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ NS_INTERFACE_TABLE_HEAD(HTMLSourceElement)
|
|||
NS_HTML_CONTENT_INTERFACES(nsGenericHTMLElement)
|
||||
NS_INTERFACE_TABLE_INHERITED1(HTMLSourceElement, nsIDOMHTMLSourceElement)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLSourceElement)
|
||||
|
|
|
@ -26,7 +26,7 @@ NS_IMPL_RELEASE_INHERITED(HTMLSpanElement, Element)
|
|||
// QueryInterface implementation for HTMLSpanElement
|
||||
NS_INTERFACE_MAP_BEGIN(HTMLSpanElement)
|
||||
NS_HTML_CONTENT_INTERFACES(nsGenericHTMLElement)
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLSpanElement)
|
||||
|
|
|
@ -54,7 +54,7 @@ NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(HTMLStyleElement)
|
|||
nsIStyleSheetLinkingElement,
|
||||
nsIMutationObserver)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLStyleElement)
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ NS_INTERFACE_TABLE_HEAD(HTMLTableCaptionElement)
|
|||
NS_INTERFACE_TABLE_INHERITED1(HTMLTableCaptionElement,
|
||||
nsIDOMHTMLTableCaptionElement)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLTableCaptionElement)
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ NS_INTERFACE_TABLE_HEAD(HTMLTableCellElement)
|
|||
NS_INTERFACE_TABLE_INHERITED1(HTMLTableCellElement,
|
||||
nsIDOMHTMLTableCellElement)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLTableCellElement)
|
||||
|
|
|
@ -39,7 +39,7 @@ NS_INTERFACE_TABLE_HEAD(HTMLTableColElement)
|
|||
NS_INTERFACE_TABLE_INHERITED1(HTMLTableColElement,
|
||||
nsIDOMHTMLTableColElement)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLTableColElement)
|
||||
|
||||
|
|
|
@ -335,7 +335,7 @@ NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(HTMLTableElement)
|
|||
NS_HTML_CONTENT_INTERFACES(nsGenericHTMLElement)
|
||||
NS_INTERFACE_TABLE_INHERITED1(HTMLTableElement, nsIDOMHTMLTableElement)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLTableElement)
|
||||
|
|
|
@ -40,7 +40,7 @@ NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(HTMLTableRowElement)
|
|||
NS_INTERFACE_TABLE_INHERITED1(HTMLTableRowElement,
|
||||
nsIDOMHTMLTableRowElement)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLTableRowElement)
|
||||
|
|
|
@ -40,7 +40,7 @@ NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(HTMLTableSectionElement)
|
|||
NS_INTERFACE_TABLE_INHERITED1(HTMLTableSectionElement,
|
||||
nsIDOMHTMLTableSectionElement)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLTableSectionElement)
|
||||
|
|
|
@ -73,7 +73,7 @@ NS_IMPL_CYCLE_COLLECTION_INHERITED_1(HTMLTemplateElement,
|
|||
// QueryInterface implementation for HTMLTemplateElement
|
||||
NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED(HTMLTemplateElement)
|
||||
NS_HTML_CONTENT_INTERFACES(nsGenericHTMLElement)
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE_WITH_INIT(HTMLTemplateElement)
|
||||
|
||||
|
|
|
@ -95,7 +95,7 @@ NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(HTMLTextAreaElement)
|
|||
nsIMutationObserver,
|
||||
nsIConstraintValidation)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
|
||||
// nsIDOMHTMLTextAreaElement
|
||||
|
|
|
@ -30,7 +30,7 @@ NS_IMPL_RELEASE_INHERITED(HTMLTimeElement, Element)
|
|||
|
||||
NS_INTERFACE_MAP_BEGIN(HTMLTimeElement)
|
||||
NS_HTML_CONTENT_INTERFACES(nsGenericHTMLElement)
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLTimeElement)
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ NS_INTERFACE_TABLE_HEAD(HTMLTitleElement)
|
|||
nsIDOMHTMLTitleElement,
|
||||
nsIMutationObserver)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLTitleElement)
|
||||
|
|
|
@ -40,7 +40,7 @@ NS_INTERFACE_TABLE_HEAD(HTMLUnknownElement)
|
|||
NS_INTERFACE_TABLE_INHERITED1(HTMLUnknownElement,
|
||||
nsIDOMHTMLUnknownElement)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLUnknownElement)
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ NS_INTERFACE_TABLE_HEAD(HTMLVideoElement)
|
|||
NS_HTML_CONTENT_INTERFACES(HTMLMediaElement)
|
||||
NS_INTERFACE_TABLE_INHERITED2(HTMLVideoElement, nsIDOMHTMLMediaElement, nsIDOMHTMLVideoElement)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLVideoElement)
|
||||
|
||||
|
|
|
@ -1455,13 +1455,6 @@ protected:
|
|||
#define NS_HTML_CONTENT_INTERFACES(_base) \
|
||||
NS_HTML_CONTENT_INTERFACES_AMBIGUOUS(_base, nsIDOMHTMLElement)
|
||||
|
||||
#define NS_HTML_CONTENT_INTERFACE_MAP_END \
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
#define NS_HTML_CONTENT_INTERFACE_TABLE_TAIL_CLASSINFO(_class) \
|
||||
NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(_class) \
|
||||
NS_HTML_CONTENT_INTERFACE_MAP_END
|
||||
|
||||
#define NS_INTERFACE_MAP_ENTRY_IF_TAG(_interface, _tag) \
|
||||
NS_INTERFACE_MAP_ENTRY_CONDITIONAL(_interface, \
|
||||
mNodeInfo->Equals(nsGkAtoms::_tag))
|
||||
|
|
|
@ -308,7 +308,8 @@ NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(nsHTMLFormElement)
|
|||
nsIWebProgressListener,
|
||||
nsIRadioGroupContainer)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_HTML_CONTENT_INTERFACE_TABLE_TAIL_CLASSINFO(HTMLFormElement)
|
||||
NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(HTMLFormElement)
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
|
||||
// nsIDOMHTMLFormElement
|
||||
|
|
Загрузка…
Ссылка в новой задаче