2006-03-22 21:36:36 +03:00
|
|
|
/* -*- 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 <jst@netscape.com> (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 ***** */
|
|
|
|
|
|
|
|
/**
|
|
|
|
* This file defines enum values for all of the DOM objects which have
|
|
|
|
* an entry in nsDOMClassInfo.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef nsDOMClassInfoID_h__
|
|
|
|
#define nsDOMClassInfoID_h__
|
|
|
|
|
|
|
|
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,
|
2007-11-12 09:43:14 +03:00
|
|
|
eDOMClassInfo_DOMPrototype_id,
|
|
|
|
eDOMClassInfo_DOMConstructor_id,
|
2006-03-22 21:36:36 +03:00
|
|
|
|
|
|
|
// Core classes
|
|
|
|
eDOMClassInfo_XMLDocument_id,
|
|
|
|
eDOMClassInfo_DocumentType_id,
|
|
|
|
eDOMClassInfo_DOMImplementation_id,
|
|
|
|
eDOMClassInfo_DOMException_id,
|
2009-08-12 12:55:14 +04:00
|
|
|
eDOMClassInfo_DOMTokenList_id,
|
2006-03-22 21:36:36 +03:00
|
|
|
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,
|
2008-08-13 07:08:59 +04:00
|
|
|
eDOMClassInfo_MouseScrollEvent_id,
|
2008-08-27 16:07:27 +04:00
|
|
|
eDOMClassInfo_DragEvent_id,
|
2006-03-22 21:36:36 +03:00
|
|
|
eDOMClassInfo_KeyboardEvent_id,
|
|
|
|
eDOMClassInfo_PopupBlockedEvent_id,
|
2009-08-21 18:42:37 +04:00
|
|
|
eDOMClassInfo_OrientationEvent_id,
|
2006-03-22 21:36:36 +03:00
|
|
|
|
|
|
|
// HTML classes
|
|
|
|
eDOMClassInfo_HTMLDocument_id,
|
|
|
|
eDOMClassInfo_HTMLOptionsCollection_id,
|
2010-03-17 18:09:01 +03:00
|
|
|
eDOMClassInfo_HTMLCollection_id,
|
2006-03-22 21:36:36 +03:00
|
|
|
|
|
|
|
// 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,
|
2007-03-23 02:01:14 +03:00
|
|
|
eDOMClassInfo_BoxObject_id,
|
2008-01-16 04:27:53 +03:00
|
|
|
#ifdef MOZ_XUL
|
2006-03-22 21:36:36 +03:00
|
|
|
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
|
2007-01-27 02:45:15 +03:00
|
|
|
eDOMClassInfo_SVGAElement_id,
|
2009-01-15 07:38:07 +03:00
|
|
|
#ifdef MOZ_SMIL
|
|
|
|
eDOMClassInfo_SVGAnimateElement_id,
|
2009-01-19 12:14:16 +03:00
|
|
|
eDOMClassInfo_SVGAnimateTransformElement_id,
|
2009-01-15 07:38:07 +03:00
|
|
|
eDOMClassInfo_SVGSetElement_id,
|
|
|
|
#endif // MOZ_SMIL
|
2006-03-22 21:36:36 +03:00
|
|
|
eDOMClassInfo_SVGCircleElement_id,
|
|
|
|
eDOMClassInfo_SVGClipPathElement_id,
|
|
|
|
eDOMClassInfo_SVGDefsElement_id,
|
|
|
|
eDOMClassInfo_SVGDescElement_id,
|
|
|
|
eDOMClassInfo_SVGEllipseElement_id,
|
2006-12-11 19:33:08 +03:00
|
|
|
eDOMClassInfo_SVGFEBlendElement_id,
|
2007-02-20 14:03:00 +03:00
|
|
|
eDOMClassInfo_SVGFEColorMatrixElement_id,
|
2006-03-22 21:36:36 +03:00
|
|
|
eDOMClassInfo_SVGFEComponentTransferElement_id,
|
2006-12-11 19:33:08 +03:00
|
|
|
eDOMClassInfo_SVGFECompositeElement_id,
|
2007-06-27 23:02:58 +04:00
|
|
|
eDOMClassInfo_SVGFEConvolveMatrixElement_id,
|
2008-01-04 00:37:57 +03:00
|
|
|
eDOMClassInfo_SVGFEDiffuseLightingElement_id,
|
|
|
|
eDOMClassInfo_SVGFEDisplacementMapElement_id,
|
|
|
|
eDOMClassInfo_SVGFEDistantLightElement_id,
|
2007-01-08 19:48:56 +03:00
|
|
|
eDOMClassInfo_SVGFEFloodElement_id,
|
2006-03-22 21:36:36 +03:00
|
|
|
eDOMClassInfo_SVGFEFuncAElement_id,
|
|
|
|
eDOMClassInfo_SVGFEFuncBElement_id,
|
|
|
|
eDOMClassInfo_SVGFEFuncGElement_id,
|
|
|
|
eDOMClassInfo_SVGFEFuncRElement_id,
|
|
|
|
eDOMClassInfo_SVGFEGaussianBlurElement_id,
|
2008-01-02 23:49:13 +03:00
|
|
|
eDOMClassInfo_SVGFEImageElement_id,
|
2006-03-22 21:36:36 +03:00
|
|
|
eDOMClassInfo_SVGFEMergeElement_id,
|
|
|
|
eDOMClassInfo_SVGFEMergeNodeElement_id,
|
2006-11-02 19:30:20 +03:00
|
|
|
eDOMClassInfo_SVGFEMorphologyElement_id,
|
2006-03-22 21:36:36 +03:00
|
|
|
eDOMClassInfo_SVGFEOffsetElement_id,
|
2007-07-26 10:57:42 +04:00
|
|
|
eDOMClassInfo_SVGFEPointLightElement_id,
|
|
|
|
eDOMClassInfo_SVGFESpecularLightingElement_id,
|
|
|
|
eDOMClassInfo_SVGFESpotLightElement_id,
|
2007-07-27 04:50:45 +04:00
|
|
|
eDOMClassInfo_SVGFETileElement_id,
|
2007-01-08 19:48:56 +03:00
|
|
|
eDOMClassInfo_SVGFETurbulenceElement_id,
|
2006-03-22 21:36:36 +03:00
|
|
|
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,
|
2007-02-05 19:26:23 +03:00
|
|
|
eDOMClassInfo_SVGSwitchElement_id,
|
2006-03-22 21:36:36 +03:00
|
|
|
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,
|
2007-06-27 23:02:58 +04:00
|
|
|
eDOMClassInfo_SVGAnimatedBoolean_id,
|
2006-03-22 21:36:36 +03:00
|
|
|
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,
|
2008-06-11 03:16:59 +04:00
|
|
|
eDOMClassInfo_TextMetrics_id,
|
2007-12-11 11:18:04 +03:00
|
|
|
|
2006-03-22 21:36:36 +03:00
|
|
|
// 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,
|
|
|
|
|
2006-05-19 09:57:36 +04:00
|
|
|
// WhatWG WebApps Objects
|
2009-05-16 17:59:30 +04:00
|
|
|
eDOMClassInfo_StorageObsolete_id,
|
2006-05-19 09:57:36 +04:00
|
|
|
eDOMClassInfo_Storage_id,
|
|
|
|
eDOMClassInfo_StorageList_id,
|
|
|
|
eDOMClassInfo_StorageItem_id,
|
|
|
|
eDOMClassInfo_StorageEvent_id,
|
2010-01-28 17:53:53 +03:00
|
|
|
eDOMClassInfo_StorageEventObsolete_id,
|
2006-05-19 09:57:36 +04:00
|
|
|
|
2006-04-26 13:19:48 +04:00
|
|
|
// DOMParser, XMLSerializer
|
|
|
|
eDOMClassInfo_DOMParser_id,
|
|
|
|
eDOMClassInfo_XMLSerializer_id,
|
|
|
|
|
|
|
|
// XMLHttpRequest
|
|
|
|
eDOMClassInfo_XMLHttpProgressEvent_id,
|
|
|
|
eDOMClassInfo_XMLHttpRequest_id,
|
|
|
|
|
2008-03-12 03:51:12 +03:00
|
|
|
eDOMClassInfo_ClientRect_id,
|
|
|
|
eDOMClassInfo_ClientRectList_id,
|
2007-05-31 02:32:54 +04:00
|
|
|
|
2006-03-22 21:36:36 +03:00
|
|
|
// 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.
|
|
|
|
|
2008-08-17 15:18:21 +04:00
|
|
|
#ifdef MOZ_SVG
|
2006-03-22 21:36:36 +03:00
|
|
|
eDOMClassInfo_SVGForeignObjectElement_id,
|
|
|
|
#endif
|
|
|
|
|
2006-05-23 00:37:32 +04:00
|
|
|
eDOMClassInfo_XULCommandEvent_id,
|
2006-12-01 14:09:53 +03:00
|
|
|
eDOMClassInfo_CommandEvent_id,
|
2007-05-29 13:45:30 +04:00
|
|
|
eDOMClassInfo_OfflineResourceList_id,
|
|
|
|
|
2007-07-25 08:29:47 +04:00
|
|
|
eDOMClassInfo_FileList_id,
|
|
|
|
eDOMClassInfo_File_id,
|
|
|
|
eDOMClassInfo_FileException_id,
|
2009-10-07 12:30:26 +04:00
|
|
|
eDOMClassInfo_FileError_id,
|
2009-11-09 23:05:16 +03:00
|
|
|
eDOMClassInfo_FileReader_id,
|
2007-07-25 08:29:47 +04:00
|
|
|
|
2007-07-26 21:52:26 +04:00
|
|
|
// DOM modal content window class, almost identical to Window
|
|
|
|
eDOMClassInfo_ModalContentWindow_id,
|
|
|
|
|
2007-12-11 11:18:04 +03:00
|
|
|
// Data Events
|
|
|
|
eDOMClassInfo_DataContainerEvent_id,
|
|
|
|
|
2008-01-30 04:31:29 +03:00
|
|
|
// event used for cross-domain message-passing and for server-sent events in
|
|
|
|
// HTML5
|
|
|
|
eDOMClassInfo_MessageEvent_id,
|
|
|
|
|
2008-07-16 03:37:48 +04:00
|
|
|
// Geolocation
|
2008-08-14 20:35:49 +04:00
|
|
|
eDOMClassInfo_GeoGeolocation_id,
|
|
|
|
eDOMClassInfo_GeoPosition_id,
|
2009-02-26 07:33:24 +03:00
|
|
|
eDOMClassInfo_GeoPositionCoords_id,
|
2008-08-14 20:35:49 +04:00
|
|
|
eDOMClassInfo_GeoPositionError_id,
|
2008-07-16 03:37:48 +04:00
|
|
|
|
2008-08-11 01:13:49 +04:00
|
|
|
// @font-face in CSS
|
|
|
|
eDOMClassInfo_CSSFontFaceRule_id,
|
|
|
|
eDOMClassInfo_CSSFontFaceStyleDecl_id,
|
|
|
|
|
2008-07-09 12:22:20 +04:00
|
|
|
// WhatWG Video Element
|
|
|
|
eDOMClassInfo_HTMLVideoElement_id,
|
|
|
|
eDOMClassInfo_HTMLSourceElement_id,
|
|
|
|
eDOMClassInfo_HTMLMediaError_id,
|
|
|
|
eDOMClassInfo_HTMLAudioElement_id,
|
2008-11-29 02:32:29 +03:00
|
|
|
|
2008-08-14 15:07:46 +04:00
|
|
|
eDOMClassInfo_ProgressEvent_id,
|
|
|
|
|
|
|
|
eDOMClassInfo_XMLHttpRequestUpload_id,
|
2008-07-09 12:22:20 +04:00
|
|
|
|
2008-07-22 04:35:38 +04:00
|
|
|
// DOM Traversal NodeIterator class
|
|
|
|
eDOMClassInfo_NodeIterator_id,
|
|
|
|
|
2008-08-27 16:07:27 +04:00
|
|
|
eDOMClassInfo_DataTransfer_id,
|
|
|
|
|
2008-09-18 13:47:21 +04:00
|
|
|
eDOMClassInfo_NotifyPaintEvent_id,
|
|
|
|
|
2008-10-24 00:15:20 +04:00
|
|
|
eDOMClassInfo_SimpleGestureEvent_id,
|
|
|
|
|
2008-11-04 20:21:38 +03:00
|
|
|
#ifdef MOZ_MATHML
|
|
|
|
eDOMClassInfo_MathMLElement_id,
|
|
|
|
#endif
|
|
|
|
|
2008-11-06 09:41:52 +03:00
|
|
|
eDOMClassInfo_Worker_id,
|
|
|
|
|
2009-09-19 03:48:35 +04:00
|
|
|
// WebGL
|
2009-09-03 04:47:49 +04:00
|
|
|
eDOMClassInfo_CanvasRenderingContextWebGL_id,
|
|
|
|
eDOMClassInfo_WebGLBuffer_id,
|
|
|
|
eDOMClassInfo_WebGLTexture_id,
|
|
|
|
eDOMClassInfo_WebGLProgram_id,
|
|
|
|
eDOMClassInfo_WebGLShader_id,
|
|
|
|
eDOMClassInfo_WebGLFramebuffer_id,
|
|
|
|
eDOMClassInfo_WebGLRenderbuffer_id,
|
|
|
|
|
2009-09-04 08:49:18 +04:00
|
|
|
eDOMClassInfo_PaintRequest_id,
|
|
|
|
eDOMClassInfo_PaintRequestList_id,
|
|
|
|
|
2009-09-12 03:13:56 +04:00
|
|
|
eDOMClassInfo_ScrollAreaEvent_id,
|
2009-09-01 20:45:05 +04:00
|
|
|
eDOMClassInfo_PopStateEvent_id,
|
2009-09-12 03:13:56 +04:00
|
|
|
|
2009-10-16 12:57:32 +04:00
|
|
|
eDOMClassInfo_EventListenerInfo_id,
|
|
|
|
|
2009-12-23 22:10:31 +03:00
|
|
|
eDOMClassInfo_TransitionEvent_id,
|
|
|
|
|
2010-02-25 08:58:18 +03:00
|
|
|
eDOMClassInfo_FormData_id,
|
|
|
|
|
2006-03-22 21:36:36 +03:00
|
|
|
// This one better be the last one in this list
|
|
|
|
eDOMClassInfoIDCount
|
|
|
|
};
|
|
|
|
|
2007-03-19 12:19:16 +03:00
|
|
|
/**
|
|
|
|
* nsIClassInfo helper macros
|
|
|
|
*/
|
|
|
|
|
2007-07-25 00:17:11 +04:00
|
|
|
class nsIClassInfo;
|
|
|
|
|
2009-02-17 17:08:08 +03:00
|
|
|
#ifdef _IMPL_NS_LAYOUT
|
|
|
|
|
2007-03-19 12:19:16 +03:00
|
|
|
extern nsIClassInfo*
|
|
|
|
NS_GetDOMClassInfoInstance(nsDOMClassInfoID aID);
|
|
|
|
|
|
|
|
#define NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(_class) \
|
|
|
|
if (aIID.Equals(NS_GET_IID(nsIClassInfo))) { \
|
|
|
|
foundInterface = NS_GetDOMClassInfoInstance(eDOMClassInfo_##_class##_id); \
|
|
|
|
if (!foundInterface) { \
|
|
|
|
*aInstancePtr = nsnull; \
|
|
|
|
return NS_ERROR_OUT_OF_MEMORY; \
|
|
|
|
} \
|
|
|
|
} else
|
|
|
|
|
2009-02-17 17:08:08 +03:00
|
|
|
#else
|
|
|
|
|
|
|
|
// See nsIDOMClassInfo.h
|
|
|
|
|
|
|
|
#endif // _IMPL_NS_LAYOUT
|
|
|
|
|
2006-03-22 21:36:36 +03:00
|
|
|
#endif // nsDOMClassInfoID_h__
|