Bug 618017: Encountering XML should not override the version. (r=lw)
[mozilla-central.git] / dom / base / nsDOMClassInfoClasses.h
blobe1651918a50cc26796a9d381d7ebcb3bfc00eca8
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* ***** BEGIN LICENSE BLOCK *****
3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 * The contents of this file are subject to the Mozilla Public License Version
6 * 1.1 (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
8 * http://www.mozilla.org/MPL/
10 * Software distributed under the License is distributed on an "AS IS" basis,
11 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 * for the specific language governing rights and limitations under the
13 * License.
15 * The Original Code is mozilla.org code.
17 * The Initial Developer of the Original Code is
18 * Netscape Communications Corporation.
19 * Portions created by the Initial Developer are Copyright (C) 2000
20 * the Initial Developer. All Rights Reserved.
22 * Contributor(s):
23 * Johnny Stenback <jst@netscape.com> (original author)
25 * Alternatively, the contents of this file may be used under the terms of
26 * either of the GNU General Public License Version 2 or later (the "GPL"),
27 * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 * in which case the provisions of the GPL or the LGPL are applicable instead
29 * of those above. If you wish to allow use of your version of this file only
30 * under the terms of either the GPL or the LGPL, and not to allow others to
31 * use your version of this file under the terms of the MPL, indicate your
32 * decision by deleting the provisions above and replace them with the notice
33 * and other provisions required by the GPL or the LGPL. If you do not delete
34 * the provisions above, a recipient may use your version of this file under
35 * the terms of any one of the MPL, the GPL or the LGPL.
37 * ***** END LICENSE BLOCK ***** */
39 DOMCI_CLASS(Window)
40 DOMCI_CLASS(Location)
41 DOMCI_CLASS(Navigator)
42 DOMCI_CLASS(Plugin)
43 DOMCI_CLASS(PluginArray)
44 DOMCI_CLASS(MimeType)
45 DOMCI_CLASS(MimeTypeArray)
46 DOMCI_CLASS(BarProp)
47 DOMCI_CLASS(History)
48 DOMCI_CLASS(Screen)
49 DOMCI_CLASS(DOMPrototype)
50 DOMCI_CLASS(DOMConstructor)
52 // Core classes
53 DOMCI_CLASS(XMLDocument)
54 DOMCI_CLASS(DocumentType)
55 DOMCI_CLASS(DOMImplementation)
56 DOMCI_CLASS(DOMException)
57 DOMCI_CLASS(DOMTokenList)
58 DOMCI_CLASS(DOMSettableTokenList)
59 DOMCI_CLASS(DocumentFragment)
60 DOMCI_CLASS(Element)
61 DOMCI_CLASS(Attr)
62 DOMCI_CLASS(Text)
63 DOMCI_CLASS(Comment)
64 DOMCI_CLASS(CDATASection)
65 DOMCI_CLASS(ProcessingInstruction)
66 DOMCI_CLASS(Notation)
67 DOMCI_CLASS(NodeList)
68 DOMCI_CLASS(NamedNodeMap)
70 // Event classes
71 DOMCI_CLASS(Event)
72 DOMCI_CLASS(MutationEvent)
73 DOMCI_CLASS(UIEvent)
74 DOMCI_CLASS(MouseEvent)
75 DOMCI_CLASS(MouseScrollEvent)
76 DOMCI_CLASS(DragEvent)
77 DOMCI_CLASS(KeyboardEvent)
78 DOMCI_CLASS(PopupBlockedEvent)
79 DOMCI_CLASS(OrientationEvent)
81 // HTML classes
82 DOMCI_CLASS(HTMLDocument)
83 DOMCI_CLASS(HTMLOptionsCollection)
84 DOMCI_CLASS(HTMLCollection)
86 // HTML element classes
87 DOMCI_CLASS(HTMLElement)
88 DOMCI_CLASS(HTMLAnchorElement)
89 DOMCI_CLASS(HTMLAppletElement)
90 DOMCI_CLASS(HTMLAreaElement)
91 DOMCI_CLASS(HTMLBRElement)
92 DOMCI_CLASS(HTMLBaseElement)
93 DOMCI_CLASS(HTMLBodyElement)
94 DOMCI_CLASS(HTMLButtonElement)
95 DOMCI_CLASS(HTMLDataListElement)
96 DOMCI_CLASS(HTMLDListElement)
97 DOMCI_CLASS(HTMLDelElement)
98 DOMCI_CLASS(HTMLDirectoryElement)
99 DOMCI_CLASS(HTMLDivElement)
100 DOMCI_CLASS(HTMLEmbedElement)
101 DOMCI_CLASS(HTMLFieldSetElement)
102 DOMCI_CLASS(HTMLFontElement)
103 DOMCI_CLASS(HTMLFormElement)
104 DOMCI_CLASS(HTMLFrameElement)
105 DOMCI_CLASS(HTMLFrameSetElement)
106 DOMCI_CLASS(HTMLHRElement)
107 DOMCI_CLASS(HTMLHeadElement)
108 DOMCI_CLASS(HTMLHeadingElement)
109 DOMCI_CLASS(HTMLHtmlElement)
110 DOMCI_CLASS(HTMLIFrameElement)
111 DOMCI_CLASS(HTMLImageElement)
112 DOMCI_CLASS(HTMLInputElement)
113 DOMCI_CLASS(HTMLInsElement)
114 DOMCI_CLASS(HTMLIsIndexElement)
115 DOMCI_CLASS(HTMLLIElement)
116 DOMCI_CLASS(HTMLLabelElement)
117 DOMCI_CLASS(HTMLLegendElement)
118 DOMCI_CLASS(HTMLLinkElement)
119 DOMCI_CLASS(HTMLMapElement)
120 DOMCI_CLASS(HTMLMenuElement)
121 DOMCI_CLASS(HTMLMetaElement)
122 DOMCI_CLASS(HTMLOListElement)
123 DOMCI_CLASS(HTMLObjectElement)
124 DOMCI_CLASS(HTMLOptGroupElement)
125 DOMCI_CLASS(HTMLOptionElement)
126 DOMCI_CLASS(HTMLOutputElement)
127 DOMCI_CLASS(HTMLParagraphElement)
128 DOMCI_CLASS(HTMLParamElement)
129 DOMCI_CLASS(HTMLPreElement)
130 DOMCI_CLASS(HTMLQuoteElement)
131 DOMCI_CLASS(HTMLScriptElement)
132 DOMCI_CLASS(HTMLSelectElement)
133 DOMCI_CLASS(HTMLSpanElement)
134 DOMCI_CLASS(HTMLStyleElement)
135 DOMCI_CLASS(HTMLTableCaptionElement)
136 DOMCI_CLASS(HTMLTableCellElement)
137 DOMCI_CLASS(HTMLTableColElement)
138 DOMCI_CLASS(HTMLTableElement)
139 DOMCI_CLASS(HTMLTableRowElement)
140 DOMCI_CLASS(HTMLTableSectionElement)
141 DOMCI_CLASS(HTMLTextAreaElement)
142 DOMCI_CLASS(HTMLTitleElement)
143 DOMCI_CLASS(HTMLUListElement)
144 DOMCI_CLASS(HTMLUnknownElement)
145 DOMCI_CLASS(ValidityState)
147 // CSS classes
148 DOMCI_CLASS(CSSStyleRule)
149 DOMCI_CLASS(CSSCharsetRule)
150 DOMCI_CLASS(CSSImportRule)
151 DOMCI_CLASS(CSSMediaRule)
152 DOMCI_CLASS(CSSNameSpaceRule)
153 DOMCI_CLASS(CSSRuleList)
154 DOMCI_CLASS(CSSGroupRuleRuleList)
155 DOMCI_CLASS(MediaList)
156 DOMCI_CLASS(StyleSheetList)
157 DOMCI_CLASS(CSSStyleSheet)
158 DOMCI_CLASS(CSSStyleDeclaration)
159 DOMCI_CLASS(ComputedCSSStyleDeclaration)
160 DOMCI_CLASS(ROCSSPrimitiveValue)
162 // Range classes
163 DOMCI_CLASS(Range)
164 DOMCI_CLASS(Selection)
166 // XUL classes
167 #ifdef MOZ_XUL
168 DOMCI_CLASS(XULDocument)
169 DOMCI_CLASS(XULElement)
170 DOMCI_CLASS(XULCommandDispatcher)
171 #endif
172 DOMCI_CLASS(XULControllers)
173 DOMCI_CLASS(BoxObject)
174 #ifdef MOZ_XUL
175 DOMCI_CLASS(TreeSelection)
176 DOMCI_CLASS(TreeContentView)
177 #endif
179 // Crypto classes
180 DOMCI_CLASS(Crypto)
181 DOMCI_CLASS(CRMFObject)
183 // DOM Traversal classes
184 DOMCI_CLASS(TreeWalker)
186 // Rect object used by getComputedStyle
187 DOMCI_CLASS(CSSRect)
189 // DOM Chrome Window class, almost identical to Window
190 DOMCI_CLASS(ChromeWindow)
192 // RGBColor object used by getComputedStyle
193 DOMCI_CLASS(CSSRGBColor)
195 DOMCI_CLASS(RangeException)
197 // CSSValueList object that represents an nsIDOMCSSValueList, used
198 // by DOM CSS
199 DOMCI_CLASS(CSSValueList)
201 // ContentList object used for various live NodeLists
202 DOMCI_CLASS(ContentList)
204 // Processing-instruction with target "xml-stylesheet"
205 DOMCI_CLASS(XMLStylesheetProcessingInstruction)
207 DOMCI_CLASS(ImageDocument)
209 #ifdef MOZ_XUL
210 DOMCI_CLASS(XULTemplateBuilder)
211 DOMCI_CLASS(XULTreeBuilder)
212 #endif
214 // DOMStringList object
215 DOMCI_CLASS(DOMStringList)
217 // NameList object used by the DOM
218 DOMCI_CLASS(NameList)
220 #ifdef MOZ_XUL
221 DOMCI_CLASS(TreeColumn)
222 DOMCI_CLASS(TreeColumns)
223 #endif
225 DOMCI_CLASS(CSSMozDocumentRule)
227 DOMCI_CLASS(BeforeUnloadEvent)
229 #ifdef MOZ_SVG
230 // The SVG document
231 DOMCI_CLASS(SVGDocument)
233 // SVG element classes
234 DOMCI_CLASS(SVGAElement)
235 DOMCI_CLASS(SVGAltGlyphElement)
236 #ifdef MOZ_SMIL
237 DOMCI_CLASS(SVGAnimateElement)
238 DOMCI_CLASS(SVGAnimateTransformElement)
239 DOMCI_CLASS(SVGAnimateMotionElement)
240 DOMCI_CLASS(SVGMpathElement)
241 DOMCI_CLASS(SVGSetElement)
242 DOMCI_CLASS(TimeEvent)
243 #endif // MOZ_SMIL
244 DOMCI_CLASS(SVGCircleElement)
245 DOMCI_CLASS(SVGClipPathElement)
246 DOMCI_CLASS(SVGDefsElement)
247 DOMCI_CLASS(SVGDescElement)
248 DOMCI_CLASS(SVGEllipseElement)
249 DOMCI_CLASS(SVGFEBlendElement)
250 DOMCI_CLASS(SVGFEColorMatrixElement)
251 DOMCI_CLASS(SVGFEComponentTransferElement)
252 DOMCI_CLASS(SVGFECompositeElement)
253 DOMCI_CLASS(SVGFEConvolveMatrixElement)
254 DOMCI_CLASS(SVGFEDiffuseLightingElement)
255 DOMCI_CLASS(SVGFEDisplacementMapElement)
256 DOMCI_CLASS(SVGFEDistantLightElement)
257 DOMCI_CLASS(SVGFEFloodElement)
258 DOMCI_CLASS(SVGFEFuncAElement)
259 DOMCI_CLASS(SVGFEFuncBElement)
260 DOMCI_CLASS(SVGFEFuncGElement)
261 DOMCI_CLASS(SVGFEFuncRElement)
262 DOMCI_CLASS(SVGFEGaussianBlurElement)
263 DOMCI_CLASS(SVGFEImageElement)
264 DOMCI_CLASS(SVGFEMergeElement)
265 DOMCI_CLASS(SVGFEMergeNodeElement)
266 DOMCI_CLASS(SVGFEMorphologyElement)
267 DOMCI_CLASS(SVGFEOffsetElement)
268 DOMCI_CLASS(SVGFEPointLightElement)
269 DOMCI_CLASS(SVGFESpecularLightingElement)
270 DOMCI_CLASS(SVGFESpotLightElement)
271 DOMCI_CLASS(SVGFETileElement)
272 DOMCI_CLASS(SVGFETurbulenceElement)
273 DOMCI_CLASS(SVGFilterElement)
274 DOMCI_CLASS(SVGGElement)
275 DOMCI_CLASS(SVGImageElement)
276 DOMCI_CLASS(SVGLinearGradientElement)
277 DOMCI_CLASS(SVGLineElement)
278 DOMCI_CLASS(SVGMarkerElement)
279 DOMCI_CLASS(SVGMaskElement)
280 DOMCI_CLASS(SVGMetadataElement)
281 DOMCI_CLASS(SVGPathElement)
282 DOMCI_CLASS(SVGPatternElement)
283 DOMCI_CLASS(SVGPolygonElement)
284 DOMCI_CLASS(SVGPolylineElement)
285 DOMCI_CLASS(SVGRadialGradientElement)
286 DOMCI_CLASS(SVGRectElement)
287 DOMCI_CLASS(SVGScriptElement)
288 DOMCI_CLASS(SVGStopElement)
289 DOMCI_CLASS(SVGStyleElement)
290 DOMCI_CLASS(SVGSVGElement)
291 DOMCI_CLASS(SVGSwitchElement)
292 DOMCI_CLASS(SVGSymbolElement)
293 DOMCI_CLASS(SVGTextElement)
294 DOMCI_CLASS(SVGTextPathElement)
295 DOMCI_CLASS(SVGTitleElement)
296 DOMCI_CLASS(SVGTSpanElement)
297 DOMCI_CLASS(SVGUseElement)
299 // other SVG classes
300 DOMCI_CLASS(SVGAngle)
301 DOMCI_CLASS(SVGAnimatedAngle)
302 DOMCI_CLASS(SVGAnimatedBoolean)
303 DOMCI_CLASS(SVGAnimatedEnumeration)
304 DOMCI_CLASS(SVGAnimatedInteger)
305 DOMCI_CLASS(SVGAnimatedLength)
306 DOMCI_CLASS(SVGAnimatedLengthList)
307 DOMCI_CLASS(SVGAnimatedNumber)
308 DOMCI_CLASS(SVGAnimatedNumberList)
309 DOMCI_CLASS(SVGAnimatedPreserveAspectRatio)
310 DOMCI_CLASS(SVGAnimatedRect)
311 DOMCI_CLASS(SVGAnimatedString)
312 DOMCI_CLASS(SVGAnimatedTransformList)
313 DOMCI_CLASS(SVGEvent)
314 DOMCI_CLASS(SVGException)
315 DOMCI_CLASS(SVGLength)
316 DOMCI_CLASS(SVGLengthList)
317 DOMCI_CLASS(SVGMatrix)
318 DOMCI_CLASS(SVGNumber)
319 DOMCI_CLASS(SVGNumberList)
320 DOMCI_CLASS(SVGPathSegArcAbs)
321 DOMCI_CLASS(SVGPathSegArcRel)
322 DOMCI_CLASS(SVGPathSegClosePath)
323 DOMCI_CLASS(SVGPathSegCurvetoCubicAbs)
324 DOMCI_CLASS(SVGPathSegCurvetoCubicRel)
325 DOMCI_CLASS(SVGPathSegCurvetoCubicSmoothAbs)
326 DOMCI_CLASS(SVGPathSegCurvetoCubicSmoothRel)
327 DOMCI_CLASS(SVGPathSegCurvetoQuadraticAbs)
328 DOMCI_CLASS(SVGPathSegCurvetoQuadraticRel)
329 DOMCI_CLASS(SVGPathSegCurvetoQuadraticSmoothAbs)
330 DOMCI_CLASS(SVGPathSegCurvetoQuadraticSmoothRel)
331 DOMCI_CLASS(SVGPathSegLinetoAbs)
332 DOMCI_CLASS(SVGPathSegLinetoHorizontalAbs)
333 DOMCI_CLASS(SVGPathSegLinetoHorizontalRel)
334 DOMCI_CLASS(SVGPathSegLinetoRel)
335 DOMCI_CLASS(SVGPathSegLinetoVerticalAbs)
336 DOMCI_CLASS(SVGPathSegLinetoVerticalRel)
337 DOMCI_CLASS(SVGPathSegList)
338 DOMCI_CLASS(SVGPathSegMovetoAbs)
339 DOMCI_CLASS(SVGPathSegMovetoRel)
340 DOMCI_CLASS(SVGPoint)
341 DOMCI_CLASS(SVGPointList)
342 DOMCI_CLASS(SVGPreserveAspectRatio)
343 DOMCI_CLASS(SVGRect)
344 DOMCI_CLASS(SVGTransform)
345 DOMCI_CLASS(SVGTransformList)
346 DOMCI_CLASS(SVGZoomEvent)
347 #endif // MOZ_SVG
349 // Canvas
350 DOMCI_CLASS(HTMLCanvasElement)
351 DOMCI_CLASS(CanvasRenderingContext2D)
352 DOMCI_CLASS(CanvasGradient)
353 DOMCI_CLASS(CanvasPattern)
354 DOMCI_CLASS(TextMetrics)
356 // SmartCard Events
357 DOMCI_CLASS(SmartCardEvent)
359 // PageTransition Events
360 DOMCI_CLASS(PageTransitionEvent)
362 // WindowUtils
363 DOMCI_CLASS(WindowUtils)
365 // XSLTProcessor
366 DOMCI_CLASS(XSLTProcessor)
368 // DOM Level 3 XPath objects
369 DOMCI_CLASS(XPathEvaluator)
370 DOMCI_CLASS(XPathException)
371 DOMCI_CLASS(XPathExpression)
372 DOMCI_CLASS(XPathNSResolver)
373 DOMCI_CLASS(XPathResult)
375 // WhatWG WebApps Objects
376 DOMCI_CLASS(StorageObsolete)
377 DOMCI_CLASS(Storage)
378 DOMCI_CLASS(StorageList)
379 DOMCI_CLASS(StorageItem)
380 DOMCI_CLASS(StorageEvent)
381 DOMCI_CLASS(StorageEventObsolete)
383 // DOMParser, XMLSerializer
384 DOMCI_CLASS(DOMParser)
385 DOMCI_CLASS(XMLSerializer)
387 // XMLHttpRequest
388 DOMCI_CLASS(XMLHttpProgressEvent)
389 DOMCI_CLASS(XMLHttpRequest)
391 DOMCI_CLASS(ClientRect)
392 DOMCI_CLASS(ClientRectList)
394 #ifdef MOZ_SVG
395 DOMCI_CLASS(SVGForeignObjectElement)
396 #endif
398 DOMCI_CLASS(XULCommandEvent)
399 DOMCI_CLASS(CommandEvent)
400 DOMCI_CLASS(OfflineResourceList)
402 DOMCI_CLASS(FileList)
403 DOMCI_CLASS(Blob)
404 DOMCI_CLASS(File)
405 DOMCI_CLASS(FileException)
406 DOMCI_CLASS(FileError)
407 DOMCI_CLASS(FileReader)
408 DOMCI_CLASS(MozURLProperty)
410 // DOM modal content window class, almost identical to Window
411 DOMCI_CLASS(ModalContentWindow)
413 // Data Events
414 DOMCI_CLASS(DataContainerEvent)
416 // event used for cross-domain message-passing and for server-sent events in
417 // HTML5
418 DOMCI_CLASS(MessageEvent)
420 // Geolocation
421 DOMCI_CLASS(GeoGeolocation)
422 DOMCI_CLASS(GeoPosition)
423 DOMCI_CLASS(GeoPositionCoords)
424 DOMCI_CLASS(GeoPositionAddress)
425 DOMCI_CLASS(GeoPositionError)
427 // @font-face in CSS
428 DOMCI_CLASS(CSSFontFaceRule)
429 DOMCI_CLASS(CSSFontFaceStyleDecl)
431 #if defined(MOZ_MEDIA)
432 // WhatWG Video Element
433 DOMCI_CLASS(HTMLVideoElement)
434 DOMCI_CLASS(HTMLSourceElement)
435 DOMCI_CLASS(MediaError)
436 DOMCI_CLASS(HTMLAudioElement)
437 DOMCI_CLASS(TimeRanges)
438 #endif
440 DOMCI_CLASS(ProgressEvent)
442 DOMCI_CLASS(XMLHttpRequestUpload)
444 // DOM Traversal NodeIterator class
445 DOMCI_CLASS(NodeIterator)
447 DOMCI_CLASS(DataTransfer)
449 DOMCI_CLASS(NotifyPaintEvent)
451 DOMCI_CLASS(NotifyAudioAvailableEvent)
453 DOMCI_CLASS(SimpleGestureEvent)
455 DOMCI_CLASS(MozTouchEvent)
457 #ifdef MOZ_MATHML
458 DOMCI_CLASS(MathMLElement)
459 #endif
461 DOMCI_CLASS(Worker)
462 DOMCI_CLASS(ChromeWorker)
464 // WebGL
465 DOMCI_CLASS(WebGLRenderingContext)
466 DOMCI_CLASS(WebGLBuffer)
467 DOMCI_CLASS(WebGLTexture)
468 DOMCI_CLASS(WebGLProgram)
469 DOMCI_CLASS(WebGLShader)
470 DOMCI_CLASS(WebGLFramebuffer)
471 DOMCI_CLASS(WebGLRenderbuffer)
472 DOMCI_CLASS(WebGLUniformLocation)
473 DOMCI_CLASS(WebGLActiveInfo)
475 // WebGL Buffers
476 DOMCI_CLASS(PaintRequest)
477 DOMCI_CLASS(PaintRequestList)
479 DOMCI_CLASS(ScrollAreaEvent)
480 DOMCI_CLASS(PopStateEvent)
482 DOMCI_CLASS(EventListenerInfo)
484 DOMCI_CLASS(TransitionEvent)
485 DOMCI_CLASS(ContentFrameMessageManager)
487 DOMCI_CLASS(FormData)
489 DOMCI_CLASS(DesktopNotification)
490 DOMCI_CLASS(DesktopNotificationCenter)
492 // WebSocket
493 DOMCI_CLASS(WebSocket)
494 DOMCI_CLASS(CloseEvent)
496 DOMCI_CLASS(IDBFactory)
497 DOMCI_CLASS(IDBRequest)
498 DOMCI_CLASS(IDBDatabase)
499 DOMCI_CLASS(IDBObjectStore)
500 DOMCI_CLASS(IDBTransaction)
501 DOMCI_CLASS(IDBCursor)
502 DOMCI_CLASS(IDBCursorWithValue)
503 DOMCI_CLASS(IDBKeyRange)
504 DOMCI_CLASS(IDBIndex)
505 DOMCI_CLASS(IDBVersionChangeEvent)
506 DOMCI_CLASS(IDBVersionChangeRequest)
507 DOMCI_CLASS(IDBDatabaseException)