2010-01-12 05:08:43 -08:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 04:12:37 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2010-01-12 05:08:43 -08:00
|
|
|
|
|
|
|
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(DOMPrototype)
|
|
|
|
DOMCI_CLASS(DOMConstructor)
|
|
|
|
|
|
|
|
// Core classes
|
|
|
|
DOMCI_CLASS(DOMException)
|
|
|
|
DOMCI_CLASS(Element)
|
|
|
|
DOMCI_CLASS(Attr)
|
2013-03-10 00:00:33 -08:00
|
|
|
DOMCI_CLASS(MozNamedAttrMap)
|
2010-01-12 05:08:43 -08:00
|
|
|
|
|
|
|
// Event classes
|
|
|
|
DOMCI_CLASS(Event)
|
|
|
|
DOMCI_CLASS(MutationEvent)
|
|
|
|
DOMCI_CLASS(UIEvent)
|
|
|
|
DOMCI_CLASS(MouseEvent)
|
|
|
|
DOMCI_CLASS(MouseScrollEvent)
|
2012-08-11 18:42:34 -07:00
|
|
|
DOMCI_CLASS(WheelEvent)
|
2010-01-12 05:08:43 -08:00
|
|
|
DOMCI_CLASS(DragEvent)
|
2013-03-11 08:49:48 -07:00
|
|
|
DOMCI_CLASS(ClipboardEvent)
|
2010-01-12 05:08:43 -08:00
|
|
|
DOMCI_CLASS(KeyboardEvent)
|
2011-09-22 02:17:40 -07:00
|
|
|
DOMCI_CLASS(CompositionEvent)
|
2012-07-20 09:42:08 -07:00
|
|
|
#define MOZ_GENERATED_EVENT_LIST
|
|
|
|
#define MOZ_GENERATED_EVENT(_event_interface) DOMCI_CLASS(_event_interface)
|
|
|
|
#include "GeneratedEvents.h"
|
|
|
|
#undef MOZ_GENERATED_EVENT_LIST
|
2011-06-19 22:36:17 -07:00
|
|
|
DOMCI_CLASS(DeviceMotionEvent)
|
|
|
|
DOMCI_CLASS(DeviceAcceleration)
|
|
|
|
DOMCI_CLASS(DeviceRotationRate)
|
2010-01-12 05:08:43 -08:00
|
|
|
|
|
|
|
// HTML classes
|
|
|
|
DOMCI_CLASS(HTMLDocument)
|
|
|
|
|
|
|
|
// HTML element classes
|
|
|
|
DOMCI_CLASS(HTMLFormElement)
|
|
|
|
|
|
|
|
// 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)
|
|
|
|
|
|
|
|
// Range classes
|
|
|
|
DOMCI_CLASS(Selection)
|
|
|
|
|
|
|
|
// XUL classes
|
|
|
|
#ifdef MOZ_XUL
|
|
|
|
DOMCI_CLASS(XULCommandDispatcher)
|
|
|
|
#endif
|
|
|
|
DOMCI_CLASS(XULControllers)
|
|
|
|
DOMCI_CLASS(BoxObject)
|
|
|
|
#ifdef MOZ_XUL
|
|
|
|
DOMCI_CLASS(TreeSelection)
|
|
|
|
DOMCI_CLASS(TreeContentView)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// Crypto classes
|
2013-02-16 20:43:16 -08:00
|
|
|
#ifndef MOZ_DISABLE_CRYPTOLEGACY
|
2013-02-15 23:33:45 -08:00
|
|
|
DOMCI_CLASS(CRMFObject)
|
2013-02-16 20:43:16 -08:00
|
|
|
#endif
|
|
|
|
DOMCI_CLASS(Crypto)
|
2013-02-08 12:25:37 -08:00
|
|
|
|
2010-01-12 05:08:43 -08:00
|
|
|
// Rect object used by getComputedStyle
|
|
|
|
DOMCI_CLASS(CSSRect)
|
|
|
|
|
|
|
|
// DOM Chrome Window class, almost identical to Window
|
|
|
|
DOMCI_CLASS(ChromeWindow)
|
|
|
|
|
|
|
|
DOMCI_CLASS(ImageDocument)
|
|
|
|
|
|
|
|
#ifdef MOZ_XUL
|
|
|
|
DOMCI_CLASS(XULTemplateBuilder)
|
|
|
|
DOMCI_CLASS(XULTreeBuilder)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// DOMStringList object
|
|
|
|
DOMCI_CLASS(DOMStringList)
|
|
|
|
|
|
|
|
#ifdef MOZ_XUL
|
|
|
|
DOMCI_CLASS(TreeColumn)
|
|
|
|
DOMCI_CLASS(TreeColumns)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
DOMCI_CLASS(CSSMozDocumentRule)
|
2012-08-01 17:32:12 -07:00
|
|
|
DOMCI_CLASS(CSSSupportsRule)
|
2010-01-12 05:08:43 -08:00
|
|
|
|
|
|
|
DOMCI_CLASS(BeforeUnloadEvent)
|
|
|
|
|
2010-07-31 00:02:52 -07:00
|
|
|
DOMCI_CLASS(TimeEvent)
|
2010-01-12 05:08:43 -08:00
|
|
|
|
|
|
|
// other SVG classes
|
|
|
|
DOMCI_CLASS(SVGAnimatedEnumeration)
|
|
|
|
DOMCI_CLASS(SVGAnimatedInteger)
|
|
|
|
DOMCI_CLASS(SVGAnimatedNumber)
|
|
|
|
DOMCI_CLASS(SVGAnimatedRect)
|
|
|
|
DOMCI_CLASS(SVGAnimatedString)
|
|
|
|
DOMCI_CLASS(SVGLength)
|
|
|
|
DOMCI_CLASS(SVGNumber)
|
|
|
|
DOMCI_CLASS(SVGRect)
|
2011-12-31 01:44:03 -08:00
|
|
|
DOMCI_CLASS(SVGStringList)
|
2010-01-12 05:08:43 -08:00
|
|
|
DOMCI_CLASS(SVGZoomEvent)
|
|
|
|
|
|
|
|
// Canvas
|
|
|
|
DOMCI_CLASS(CanvasGradient)
|
|
|
|
DOMCI_CLASS(CanvasPattern)
|
|
|
|
DOMCI_CLASS(TextMetrics)
|
2012-08-31 10:45:45 -07:00
|
|
|
DOMCI_CLASS(MozCanvasPrintState)
|
2010-01-12 05:08:43 -08:00
|
|
|
|
|
|
|
// WindowUtils
|
|
|
|
DOMCI_CLASS(WindowUtils)
|
|
|
|
|
|
|
|
// XSLTProcessor
|
|
|
|
DOMCI_CLASS(XSLTProcessor)
|
|
|
|
|
|
|
|
// DOM Level 3 XPath objects
|
|
|
|
DOMCI_CLASS(XPathExpression)
|
|
|
|
DOMCI_CLASS(XPathNSResolver)
|
|
|
|
DOMCI_CLASS(XPathResult)
|
|
|
|
|
|
|
|
// WhatWG WebApps Objects
|
|
|
|
DOMCI_CLASS(Storage)
|
|
|
|
|
|
|
|
DOMCI_CLASS(XULCommandEvent)
|
|
|
|
DOMCI_CLASS(CommandEvent)
|
|
|
|
DOMCI_CLASS(OfflineResourceList)
|
|
|
|
|
2010-10-13 16:25:33 -07:00
|
|
|
DOMCI_CLASS(Blob)
|
2010-01-12 05:08:43 -08:00
|
|
|
DOMCI_CLASS(File)
|
|
|
|
|
|
|
|
// 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)
|
|
|
|
|
2012-05-21 09:18:30 -07:00
|
|
|
DOMCI_CLASS(DeviceStorage)
|
|
|
|
|
2010-01-12 05:08:43 -08:00
|
|
|
// Geolocation
|
|
|
|
DOMCI_CLASS(GeoGeolocation)
|
|
|
|
DOMCI_CLASS(GeoPosition)
|
|
|
|
DOMCI_CLASS(GeoPositionCoords)
|
|
|
|
DOMCI_CLASS(GeoPositionError)
|
|
|
|
|
2012-01-19 19:24:00 -08:00
|
|
|
DOMCI_CLASS(MozPowerManager)
|
2012-03-07 03:03:25 -08:00
|
|
|
DOMCI_CLASS(MozWakeLock)
|
2012-01-19 19:24:00 -08:00
|
|
|
|
2011-11-20 14:23:20 -08:00
|
|
|
DOMCI_CLASS(MozSmsManager)
|
2013-03-08 23:21:47 -08:00
|
|
|
DOMCI_CLASS(MozMobileMessageManager)
|
2011-11-22 01:34:21 -08:00
|
|
|
DOMCI_CLASS(MozSmsMessage)
|
2013-03-08 23:21:55 -08:00
|
|
|
DOMCI_CLASS(MozMmsMessage)
|
2012-01-17 10:48:58 -08:00
|
|
|
DOMCI_CLASS(MozSmsFilter)
|
2013-01-03 22:26:20 -08:00
|
|
|
DOMCI_CLASS(MozSmsSegmentInfo)
|
2013-04-09 09:37:54 -07:00
|
|
|
DOMCI_CLASS(MozMobileMessageThread)
|
2011-11-20 14:23:20 -08:00
|
|
|
|
2012-01-16 04:23:44 -08:00
|
|
|
DOMCI_CLASS(MozConnection)
|
2012-08-27 10:34:10 -07:00
|
|
|
#ifdef MOZ_B2G_RIL
|
2012-04-19 14:33:25 -07:00
|
|
|
DOMCI_CLASS(MozMobileConnection)
|
2012-12-03 18:38:25 -08:00
|
|
|
DOMCI_CLASS(MozCellBroadcast)
|
2012-08-27 10:34:10 -07:00
|
|
|
#endif
|
2012-01-16 04:23:44 -08:00
|
|
|
|
2010-01-12 05:08:43 -08:00
|
|
|
// @font-face in CSS
|
|
|
|
DOMCI_CLASS(CSSFontFaceRule)
|
|
|
|
|
|
|
|
DOMCI_CLASS(DataTransfer)
|
|
|
|
|
|
|
|
DOMCI_CLASS(NotifyPaintEvent)
|
|
|
|
|
2010-08-25 06:10:00 -07:00
|
|
|
DOMCI_CLASS(NotifyAudioAvailableEvent)
|
|
|
|
|
2010-01-12 05:08:43 -08:00
|
|
|
DOMCI_CLASS(SimpleGestureEvent)
|
|
|
|
|
|
|
|
DOMCI_CLASS(ScrollAreaEvent)
|
|
|
|
|
|
|
|
DOMCI_CLASS(EventListenerInfo)
|
|
|
|
|
|
|
|
DOMCI_CLASS(TransitionEvent)
|
2011-04-11 23:18:44 -07:00
|
|
|
DOMCI_CLASS(AnimationEvent)
|
|
|
|
|
2010-05-18 05:28:37 -07:00
|
|
|
DOMCI_CLASS(ContentFrameMessageManager)
|
2012-08-27 07:13:02 -07:00
|
|
|
DOMCI_CLASS(ChromeMessageBroadcaster)
|
|
|
|
DOMCI_CLASS(ChromeMessageSender)
|
2010-01-12 05:08:43 -08:00
|
|
|
|
2012-06-03 09:33:52 -07:00
|
|
|
DOMCI_CLASS(IDBFileHandle)
|
2010-06-23 12:46:08 -07:00
|
|
|
DOMCI_CLASS(IDBRequest)
|
2010-06-28 09:46:49 -07:00
|
|
|
DOMCI_CLASS(IDBDatabase)
|
2010-06-28 11:51:06 -07:00
|
|
|
DOMCI_CLASS(IDBObjectStore)
|
2010-06-28 09:46:21 -07:00
|
|
|
DOMCI_CLASS(IDBTransaction)
|
2010-06-28 11:51:06 -07:00
|
|
|
DOMCI_CLASS(IDBCursor)
|
2011-02-10 23:47:00 -08:00
|
|
|
DOMCI_CLASS(IDBCursorWithValue)
|
2010-06-23 12:46:08 -07:00
|
|
|
DOMCI_CLASS(IDBKeyRange)
|
2010-06-28 11:51:06 -07:00
|
|
|
DOMCI_CLASS(IDBIndex)
|
2010-10-19 10:58:52 -07:00
|
|
|
DOMCI_CLASS(IDBVersionChangeEvent)
|
2011-10-20 09:10:56 -07:00
|
|
|
DOMCI_CLASS(IDBOpenDBRequest)
|
2011-03-24 04:34:03 -07:00
|
|
|
|
2011-04-27 04:58:25 -07:00
|
|
|
DOMCI_CLASS(Touch)
|
2011-04-26 05:30:17 -07:00
|
|
|
DOMCI_CLASS(TouchList)
|
|
|
|
DOMCI_CLASS(TouchEvent)
|
|
|
|
|
2011-04-11 23:18:43 -07:00
|
|
|
DOMCI_CLASS(MozCSSKeyframeRule)
|
|
|
|
DOMCI_CLASS(MozCSSKeyframesRule)
|
2011-04-21 20:17:31 -07:00
|
|
|
|
2012-08-31 14:21:28 -07:00
|
|
|
DOMCI_CLASS(CSSPageRule)
|
|
|
|
|
2011-04-21 20:17:31 -07:00
|
|
|
DOMCI_CLASS(MediaQueryList)
|
2012-03-31 09:30:13 -07:00
|
|
|
|
2012-01-09 14:28:47 -08:00
|
|
|
#ifdef MOZ_B2G_RIL
|
|
|
|
DOMCI_CLASS(Telephony)
|
|
|
|
DOMCI_CLASS(TelephonyCall)
|
2012-07-18 20:27:19 -07:00
|
|
|
DOMCI_CLASS(MozVoicemail)
|
2012-06-28 07:21:48 -07:00
|
|
|
DOMCI_CLASS(MozIccManager)
|
2012-06-11 04:28:16 -07:00
|
|
|
DOMCI_CLASS(MozStkCommandEvent)
|
2012-01-09 14:28:47 -08:00
|
|
|
#endif
|
2012-01-24 02:13:41 -08:00
|
|
|
|
2012-09-19 08:23:33 -07:00
|
|
|
#ifdef MOZ_B2G_FM
|
|
|
|
DOMCI_CLASS(FMRadio)
|
|
|
|
#endif
|
|
|
|
|
2012-02-20 07:15:19 -08:00
|
|
|
#ifdef MOZ_B2G_BT
|
2012-05-23 21:02:23 -07:00
|
|
|
DOMCI_CLASS(BluetoothManager)
|
2012-02-20 07:15:19 -08:00
|
|
|
DOMCI_CLASS(BluetoothAdapter)
|
2012-07-17 20:41:54 -07:00
|
|
|
DOMCI_CLASS(BluetoothDevice)
|
2012-02-20 07:15:19 -08:00
|
|
|
#endif
|
|
|
|
|
2012-07-30 14:59:05 -07:00
|
|
|
DOMCI_CLASS(CameraManager)
|
|
|
|
DOMCI_CLASS(CameraControl)
|
|
|
|
DOMCI_CLASS(CameraCapabilities)
|
|
|
|
|
2012-01-24 02:13:41 -08:00
|
|
|
DOMCI_CLASS(DOMError)
|
2012-06-12 15:01:25 -07:00
|
|
|
DOMCI_CLASS(OpenWindowEventDetail)
|
2012-12-24 22:09:34 -08:00
|
|
|
DOMCI_CLASS(AsyncScrollEventDetail)
|
2012-06-03 09:33:52 -07:00
|
|
|
|
|
|
|
DOMCI_CLASS(LockedFile)
|
2012-07-20 08:41:30 -07:00
|
|
|
|
2012-11-05 07:20:03 -08:00
|
|
|
#ifdef MOZ_TIME_MANAGER
|
2012-09-10 23:05:00 -07:00
|
|
|
DOMCI_CLASS(MozTimeManager)
|
2012-11-05 07:20:03 -08:00
|
|
|
#endif
|
2012-10-03 16:51:47 -07:00
|
|
|
|
|
|
|
#ifdef MOZ_WEBRTC
|
|
|
|
DOMCI_CLASS(DataChannel)
|
2013-02-15 19:41:31 -08:00
|
|
|
DOMCI_CLASS(RTCPeerConnection)
|
2012-10-03 16:51:47 -07:00
|
|
|
#endif
|