2015-05-03 22:32:37 +03:00
|
|
|
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
|
2012-05-21 15:12:37 +04: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/. */
|
2011-08-08 06:26:52 +04:00
|
|
|
|
|
|
|
/*
|
|
|
|
* This file contains the list of event names that are exposed via IDL
|
|
|
|
* on various objects. It is designed to be used as inline input to
|
|
|
|
* various consumers through the magic of C preprocessing.
|
|
|
|
*
|
2011-08-08 06:30:17 +04:00
|
|
|
* Each entry consists of 4 pieces of information:
|
|
|
|
* 1) The name of the event
|
2015-08-26 15:56:59 +03:00
|
|
|
* 2) The event message
|
2011-08-08 06:30:17 +04:00
|
|
|
* 3) The event type (see the EventNameType enum in nsContentUtils.h)
|
|
|
|
* 4) The event struct type for this event.
|
|
|
|
* Items 2-4 might be empty strings for events for which they don't make sense.
|
2011-08-08 06:26:52 +04:00
|
|
|
*
|
|
|
|
* Event names that are exposed as content attributes on HTML elements
|
|
|
|
* and as IDL attributes on Elements, Documents and Windows and have
|
|
|
|
* no forwarding behavior should be enclosed in the EVENT macro.
|
|
|
|
*
|
|
|
|
* Event names that are exposed as content attributes on HTML elements
|
|
|
|
* and as IDL attributes on Elements, Documents and Windows and are
|
|
|
|
* forwarded from <body> and <frameset> to the Window should be
|
|
|
|
* enclosed in the FORWARDED_EVENT macro. If this macro is not
|
|
|
|
* defined, it will be defined to be equivalent to EVENT.
|
|
|
|
*
|
2011-08-08 06:27:01 +04:00
|
|
|
* Event names that are exposed as IDL attributes on Windows only
|
|
|
|
* should be enclosed in the WINDOW_ONLY_EVENT macro. If this macro
|
|
|
|
* is not defined, it will be defined to the empty string.
|
|
|
|
*
|
2011-08-08 06:26:52 +04:00
|
|
|
* Event names that are exposed as content and IDL attributes on
|
|
|
|
* <body> and <frameset>, which forward them to the Window, and are
|
|
|
|
* exposed as IDL attributes on the Window should be enclosed in the
|
|
|
|
* WINDOW_EVENT macro. If this macro is not defined, it will be
|
2011-08-08 06:27:01 +04:00
|
|
|
* defined to be equivalent to WINDOW_ONLY_EVENT.
|
|
|
|
*
|
|
|
|
* Touch-specific event names should be enclosed in TOUCH_EVENT. They
|
|
|
|
* are otherwise equivalent to those enclosed in EVENT. If
|
|
|
|
* TOUCH_EVENT is not defined, it will be defined to the empty string.
|
2011-08-08 06:30:17 +04:00
|
|
|
*
|
2011-09-20 06:56:45 +04:00
|
|
|
* Event names that are only exposed as IDL attributes on Documents
|
|
|
|
* should be enclosed in the DOCUMENT_ONLY_EVENT macro. If this macro is
|
|
|
|
* not defined, it will be defined to the empty string.
|
|
|
|
*
|
2011-08-08 06:30:17 +04:00
|
|
|
* Event names that are not exposed as IDL attributes at all should be
|
|
|
|
* enclosed in NON_IDL_EVENT. If NON_IDL_EVENT is not defined, it
|
|
|
|
* will be defined to the empty string.
|
2011-09-28 19:54:50 +04:00
|
|
|
*
|
|
|
|
* If you change which macros event names are enclosed in, please
|
|
|
|
* update the tests for bug 689564 and bug 659350 as needed.
|
2011-08-08 06:26:52 +04:00
|
|
|
*/
|
|
|
|
|
2015-08-26 15:56:59 +03:00
|
|
|
#ifdef MESSAGE_TO_EVENT
|
2012-08-29 15:24:41 +04:00
|
|
|
#ifdef EVENT
|
|
|
|
#error "Don't define EVENT"
|
|
|
|
#endif /* EVENT */
|
|
|
|
#ifdef WINDOW_ONLY_EVENT
|
|
|
|
#error "Don't define WINDOW_ONLY_EVENT"
|
|
|
|
#endif /* WINDOW_ONLY_EVENT */
|
|
|
|
#ifdef TOUCH_EVENT
|
|
|
|
#error "Don't define TOUCH_EVENT"
|
|
|
|
#endif /* TOUCH_EVENT */
|
|
|
|
#ifdef DOCUMENT_ONLY_EVENT
|
|
|
|
#error "Don't define DOCUMENT_ONLY_EVENT"
|
|
|
|
#endif /* DOCUMENT_ONLY_EVENT */
|
|
|
|
#ifdef NON_IDL_EVENT
|
|
|
|
#error "Don't define NON_IDL_EVENT"
|
|
|
|
#endif /* NON_IDL_EVENT */
|
|
|
|
|
2015-08-26 15:56:59 +03:00
|
|
|
#define EVENT MESSAGE_TO_EVENT
|
|
|
|
#define WINDOW_ONLY_EVENT MESSAGE_TO_EVENT
|
|
|
|
#define TOUCH_EVENT MESSAGE_TO_EVENT
|
|
|
|
#define DOCUMENT_ONLY_EVENT MESSAGE_TO_EVENT
|
|
|
|
#define NON_IDL_EVENT MESSAGE_TO_EVENT
|
2016-08-05 02:12:14 +03:00
|
|
|
#endif /* MESSAGE_TO_EVENT */
|
2012-08-29 15:24:41 +04:00
|
|
|
|
2011-08-08 06:26:52 +04:00
|
|
|
#ifdef DEFINED_FORWARDED_EVENT
|
|
|
|
#error "Don't define DEFINED_FORWARDED_EVENT"
|
|
|
|
#endif /* DEFINED_FORWARDED_EVENT */
|
|
|
|
|
|
|
|
#ifndef FORWARDED_EVENT
|
2011-08-08 06:30:17 +04:00
|
|
|
#define FORWARDED_EVENT EVENT
|
2011-08-08 06:26:52 +04:00
|
|
|
#define DEFINED_FORWARDED_EVENT
|
|
|
|
#endif /* FORWARDED_EVENT */
|
|
|
|
|
2011-08-08 06:27:01 +04:00
|
|
|
#ifdef DEFINED_WINDOW_ONLY_EVENT
|
|
|
|
#error "Don't define DEFINED_WINDOW_ONLY_EVENT"
|
|
|
|
#endif /* DEFINED_WINDOW_ONLY_EVENT */
|
|
|
|
|
|
|
|
#ifndef WINDOW_ONLY_EVENT
|
2015-08-26 15:56:59 +03:00
|
|
|
#define WINDOW_ONLY_EVENT(_name, _message, _type, _struct)
|
2011-08-08 06:27:01 +04:00
|
|
|
#define DEFINED_WINDOW_ONLY_EVENT
|
|
|
|
#endif /* WINDOW_ONLY_EVENT */
|
|
|
|
|
2011-08-08 06:26:52 +04:00
|
|
|
#ifdef DEFINED_WINDOW_EVENT
|
|
|
|
#error "Don't define DEFINED_WINDOW_EVENT"
|
|
|
|
#endif /* DEFINED_WINDOW_EVENT */
|
|
|
|
|
|
|
|
#ifndef WINDOW_EVENT
|
2011-08-08 06:30:17 +04:00
|
|
|
#define WINDOW_EVENT WINDOW_ONLY_EVENT
|
2011-08-08 06:26:52 +04:00
|
|
|
#define DEFINED_WINDOW_EVENT
|
|
|
|
#endif /* WINDOW_EVENT */
|
|
|
|
|
2011-08-08 06:27:01 +04:00
|
|
|
#ifdef DEFINED_TOUCH_EVENT
|
|
|
|
#error "Don't define DEFINED_TOUCH_EVENT"
|
|
|
|
#endif /* DEFINED_TOUCH_EVENT */
|
|
|
|
|
|
|
|
#ifndef TOUCH_EVENT
|
2015-08-26 15:56:59 +03:00
|
|
|
#define TOUCH_EVENT(_name, _message, _type, _struct)
|
2011-08-08 06:27:01 +04:00
|
|
|
#define DEFINED_TOUCH_EVENT
|
|
|
|
#endif /* TOUCH_EVENT */
|
|
|
|
|
2011-09-20 06:56:45 +04:00
|
|
|
#ifdef DEFINED_DOCUMENT_ONLY_EVENT
|
|
|
|
#error "Don't define DEFINED_DOCUMENT_ONLY_EVENT"
|
|
|
|
#endif /* DEFINED_DOCUMENT_ONLY_EVENT */
|
|
|
|
|
|
|
|
#ifndef DOCUMENT_ONLY_EVENT
|
2015-08-26 15:56:59 +03:00
|
|
|
#define DOCUMENT_ONLY_EVENT(_name, _message, _type, _struct)
|
2011-09-20 06:56:45 +04:00
|
|
|
#define DEFINED_DOCUMENT_ONLY_EVENT
|
|
|
|
#endif /* DOCUMENT_ONLY_EVENT */
|
|
|
|
|
2011-08-08 06:30:17 +04:00
|
|
|
#ifdef DEFINED_NON_IDL_EVENT
|
|
|
|
#error "Don't define DEFINED_NON_IDL_EVENT"
|
|
|
|
#endif /* DEFINED_NON_IDL_EVENT */
|
|
|
|
|
|
|
|
#ifndef NON_IDL_EVENT
|
2015-08-26 15:56:59 +03:00
|
|
|
#define NON_IDL_EVENT(_name, _message, _type, _struct)
|
2011-08-08 06:30:17 +04:00
|
|
|
#define DEFINED_NON_IDL_EVENT
|
|
|
|
#endif /* NON_IDL_EVENT */
|
|
|
|
|
2012-11-09 20:00:24 +04:00
|
|
|
#ifdef DEFINED_ERROR_EVENT
|
|
|
|
#error "Don't define DEFINED_ERROR_EVENT"
|
|
|
|
#endif /* DEFINED_ERROR_EVENT */
|
|
|
|
|
|
|
|
#ifndef ERROR_EVENT
|
|
|
|
#define ERROR_EVENT FORWARDED_EVENT
|
|
|
|
#define DEFINED_ERROR_EVENT
|
|
|
|
#endif /* ERROR_EVENT */
|
|
|
|
|
|
|
|
#ifdef DEFINED_BEFOREUNLOAD_EVENT
|
|
|
|
#error "Don't define DEFINED_BEFOREUNLOAD_EVENT"
|
|
|
|
#endif /* DEFINED_BEFOREUNLOAD_EVENT */
|
|
|
|
|
|
|
|
#ifndef BEFOREUNLOAD_EVENT
|
|
|
|
#define BEFOREUNLOAD_EVENT WINDOW_EVENT
|
|
|
|
#define DEFINED_BEFOREUNLOAD_EVENT
|
|
|
|
#endif /* BEFOREUNLOAD_EVENT */
|
|
|
|
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(abort,
|
2015-09-02 09:07:59 +03:00
|
|
|
eImageAbort,
|
2014-02-18 23:57:42 +04:00
|
|
|
EventNameType_All,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(canplay,
|
2015-09-08 17:33:36 +03:00
|
|
|
eCanPlay,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTML,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(canplaythrough,
|
2015-09-08 17:33:36 +03:00
|
|
|
eCanPlayThrough,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTML,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(change,
|
2015-09-02 09:08:00 +03:00
|
|
|
eFormChange,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2016-12-01 03:48:02 +03:00
|
|
|
EVENT(auxclick,
|
|
|
|
eMouseAuxClick,
|
|
|
|
EventNameType_All,
|
|
|
|
eMouseEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(click,
|
2015-08-29 02:58:32 +03:00
|
|
|
eMouseClick,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_All,
|
2014-08-04 09:28:50 +04:00
|
|
|
eMouseEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(contextmenu,
|
2015-08-31 18:20:06 +03:00
|
|
|
eContextMenu,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:50 +04:00
|
|
|
eMouseEventClass)
|
2016-10-07 22:10:39 +03:00
|
|
|
NON_IDL_EVENT(mouselongtap,
|
|
|
|
eMouseLongTap,
|
|
|
|
EventNameType_HTMLXUL,
|
|
|
|
eMouseEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
// Not supported yet
|
|
|
|
// EVENT(cuechange)
|
|
|
|
EVENT(dblclick,
|
2015-08-29 02:58:31 +03:00
|
|
|
eMouseDoubleClick,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:50 +04:00
|
|
|
eMouseEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(drag,
|
2015-09-02 09:08:02 +03:00
|
|
|
eDrag,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:50 +04:00
|
|
|
eDragEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(dragend,
|
2015-09-02 09:08:02 +03:00
|
|
|
eDragEnd,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:50 +04:00
|
|
|
eDragEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(dragenter,
|
2015-09-02 09:08:02 +03:00
|
|
|
eDragEnter,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:50 +04:00
|
|
|
eDragEventClass)
|
2016-08-03 14:45:46 +03:00
|
|
|
EVENT(dragexit,
|
|
|
|
eDragExit,
|
|
|
|
EventNameType_HTMLXUL,
|
|
|
|
eDragEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(dragleave,
|
2015-09-02 09:08:01 +03:00
|
|
|
eDragLeave,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:50 +04:00
|
|
|
eDragEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(dragover,
|
2015-09-02 09:08:02 +03:00
|
|
|
eDragOver,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:50 +04:00
|
|
|
eDragEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(dragstart,
|
2015-09-02 09:08:01 +03:00
|
|
|
eDragStart,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:50 +04:00
|
|
|
eDragEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(drop,
|
2015-09-02 09:08:01 +03:00
|
|
|
eDrop,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:50 +04:00
|
|
|
eDragEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(durationchange,
|
2015-09-08 17:33:37 +03:00
|
|
|
eDurationChange,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTML,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(emptied,
|
2015-09-08 17:33:35 +03:00
|
|
|
eEmptied,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTML,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(ended,
|
2015-09-08 17:33:37 +03:00
|
|
|
eEnded,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTML,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2016-02-17 03:47:11 +03:00
|
|
|
EVENT(fullscreenchange,
|
|
|
|
eFullscreenChange,
|
|
|
|
EventNameType_HTML,
|
|
|
|
eBasicEventClass)
|
|
|
|
EVENT(fullscreenerror,
|
|
|
|
eFullscreenError,
|
|
|
|
EventNameType_HTML,
|
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(input,
|
2015-09-14 18:14:33 +03:00
|
|
|
eEditorInput,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:49 +04:00
|
|
|
eEditorInputEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(invalid,
|
2015-09-02 09:08:00 +03:00
|
|
|
eFormInvalid,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(keydown,
|
2015-08-29 02:58:27 +03:00
|
|
|
eKeyDown,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:48 +04:00
|
|
|
eKeyboardEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(keypress,
|
2015-08-29 02:58:27 +03:00
|
|
|
eKeyPress,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:48 +04:00
|
|
|
eKeyboardEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(keyup,
|
2015-08-29 02:58:27 +03:00
|
|
|
eKeyUp,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:48 +04:00
|
|
|
eKeyboardEventClass)
|
2016-04-22 19:22:49 +03:00
|
|
|
EVENT(mozkeydownonplugin,
|
|
|
|
eKeyDownOnPlugin,
|
|
|
|
EventNameType_None,
|
|
|
|
eKeyboardEventClass)
|
|
|
|
EVENT(mozkeyuponplugin,
|
|
|
|
eKeyUpOnPlugin,
|
|
|
|
EventNameType_None,
|
|
|
|
eKeyboardEventClass)
|
2016-05-11 15:56:42 +03:00
|
|
|
NON_IDL_EVENT(mozaccesskeynotfound,
|
|
|
|
eAccessKeyNotFound,
|
|
|
|
EventNameType_None,
|
|
|
|
eKeyboardEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(loadeddata,
|
2015-09-08 17:33:36 +03:00
|
|
|
eLoadedData,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTML,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(loadedmetadata,
|
2015-09-08 17:33:36 +03:00
|
|
|
eLoadedMetaData,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTML,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2016-08-16 07:01:12 +03:00
|
|
|
EVENT(loadend,
|
|
|
|
eLoadEnd,
|
|
|
|
EventNameType_HTML,
|
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(loadstart,
|
2015-09-08 17:33:35 +03:00
|
|
|
eLoadStart,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTML,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(mousedown,
|
2015-08-29 02:58:30 +03:00
|
|
|
eMouseDown,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_All,
|
2014-08-04 09:28:50 +04:00
|
|
|
eMouseEventClass)
|
2011-09-18 11:45:14 +04:00
|
|
|
EVENT(mouseenter,
|
2015-08-29 02:58:33 +03:00
|
|
|
eMouseEnter,
|
2011-09-18 11:45:14 +04:00
|
|
|
EventNameType_All,
|
2014-08-04 09:28:50 +04:00
|
|
|
eMouseEventClass)
|
2011-09-18 11:45:14 +04:00
|
|
|
EVENT(mouseleave,
|
2015-08-29 02:58:33 +03:00
|
|
|
eMouseLeave,
|
2011-09-18 11:45:14 +04:00
|
|
|
EventNameType_All,
|
2014-08-04 09:28:50 +04:00
|
|
|
eMouseEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(mousemove,
|
2015-08-29 02:58:29 +03:00
|
|
|
eMouseMove,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_All,
|
2014-08-04 09:28:50 +04:00
|
|
|
eMouseEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(mouseout,
|
2015-08-29 02:58:32 +03:00
|
|
|
eMouseOut,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_All,
|
2014-08-04 09:28:50 +04:00
|
|
|
eMouseEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(mouseover,
|
2015-08-29 02:58:32 +03:00
|
|
|
eMouseOver,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_All,
|
2014-08-04 09:28:50 +04:00
|
|
|
eMouseEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(mouseup,
|
2015-08-29 02:58:30 +03:00
|
|
|
eMouseUp,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_All,
|
2014-08-04 09:28:50 +04:00
|
|
|
eMouseEventClass)
|
2011-09-05 00:40:11 +04:00
|
|
|
EVENT(mozfullscreenchange,
|
2016-02-17 03:47:11 +03:00
|
|
|
eMozFullscreenChange,
|
2011-09-05 00:40:11 +04:00
|
|
|
EventNameType_HTML,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-11-02 04:02:47 +04:00
|
|
|
EVENT(mozfullscreenerror,
|
2016-02-17 03:47:11 +03:00
|
|
|
eMozFullscreenError,
|
2011-11-02 04:02:47 +04:00
|
|
|
EventNameType_HTML,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2012-04-12 01:55:21 +04:00
|
|
|
EVENT(mozpointerlockchange,
|
2016-07-28 10:15:21 +03:00
|
|
|
eMozPointerLockChange,
|
2012-04-12 01:55:21 +04:00
|
|
|
EventNameType_HTML,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2012-04-12 01:55:21 +04:00
|
|
|
EVENT(mozpointerlockerror,
|
2016-07-28 10:15:21 +03:00
|
|
|
eMozPointerLockError,
|
|
|
|
EventNameType_HTML,
|
|
|
|
eBasicEventClass)
|
|
|
|
EVENT(pointerlockchange,
|
|
|
|
ePointerLockChange,
|
|
|
|
EventNameType_HTML,
|
|
|
|
eBasicEventClass)
|
|
|
|
EVENT(pointerlockerror,
|
2015-09-11 19:19:26 +03:00
|
|
|
ePointerLockError,
|
2012-04-12 01:55:21 +04:00
|
|
|
EventNameType_HTML,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2013-11-21 09:44:22 +04:00
|
|
|
EVENT(pointerdown,
|
2015-08-31 18:20:06 +03:00
|
|
|
ePointerDown,
|
2013-11-21 09:44:22 +04:00
|
|
|
EventNameType_All,
|
2014-08-04 09:28:52 +04:00
|
|
|
ePointerEventClass)
|
2013-11-21 09:44:22 +04:00
|
|
|
EVENT(pointermove,
|
2015-08-31 18:20:06 +03:00
|
|
|
ePointerMove,
|
2013-11-21 09:44:22 +04:00
|
|
|
EventNameType_All,
|
2014-08-04 09:28:52 +04:00
|
|
|
ePointerEventClass)
|
2013-11-21 09:44:22 +04:00
|
|
|
EVENT(pointerup,
|
2015-08-31 18:20:06 +03:00
|
|
|
ePointerUp,
|
2013-11-21 09:44:22 +04:00
|
|
|
EventNameType_All,
|
2014-08-04 09:28:52 +04:00
|
|
|
ePointerEventClass)
|
2013-11-21 09:44:22 +04:00
|
|
|
EVENT(pointercancel,
|
2015-08-31 18:20:05 +03:00
|
|
|
ePointerCancel,
|
2013-11-21 09:44:22 +04:00
|
|
|
EventNameType_All,
|
2014-08-04 09:28:52 +04:00
|
|
|
ePointerEventClass)
|
2013-11-21 09:44:22 +04:00
|
|
|
EVENT(pointerover,
|
2015-08-31 18:20:05 +03:00
|
|
|
ePointerOver,
|
2013-11-21 09:44:22 +04:00
|
|
|
EventNameType_All,
|
2014-08-04 09:28:52 +04:00
|
|
|
ePointerEventClass)
|
2013-11-21 09:44:22 +04:00
|
|
|
EVENT(pointerout,
|
2015-08-31 18:20:05 +03:00
|
|
|
ePointerOut,
|
2013-11-21 09:44:22 +04:00
|
|
|
EventNameType_All,
|
2014-08-04 09:28:52 +04:00
|
|
|
ePointerEventClass)
|
2013-11-21 09:44:22 +04:00
|
|
|
EVENT(pointerenter,
|
2015-08-31 18:20:05 +03:00
|
|
|
ePointerEnter,
|
2013-11-21 09:44:22 +04:00
|
|
|
EventNameType_All,
|
2014-08-04 09:28:52 +04:00
|
|
|
ePointerEventClass)
|
2013-11-21 09:44:22 +04:00
|
|
|
EVENT(pointerleave,
|
2015-08-31 18:20:05 +03:00
|
|
|
ePointerLeave,
|
2013-11-21 09:44:22 +04:00
|
|
|
EventNameType_All,
|
2014-08-04 09:28:52 +04:00
|
|
|
ePointerEventClass)
|
2013-11-21 09:44:22 +04:00
|
|
|
EVENT(gotpointercapture,
|
2015-08-31 18:20:05 +03:00
|
|
|
ePointerGotCapture,
|
2013-11-21 09:44:22 +04:00
|
|
|
EventNameType_All,
|
2014-08-04 09:28:52 +04:00
|
|
|
ePointerEventClass)
|
2013-11-21 09:44:22 +04:00
|
|
|
EVENT(lostpointercapture,
|
2015-08-31 18:20:05 +03:00
|
|
|
ePointerLostCapture,
|
2013-11-21 09:44:22 +04:00
|
|
|
EventNameType_All,
|
2014-08-04 09:28:52 +04:00
|
|
|
ePointerEventClass)
|
2015-08-12 20:26:01 +03:00
|
|
|
EVENT(selectstart,
|
2015-09-14 18:14:33 +03:00
|
|
|
eSelectStart,
|
2015-08-12 20:26:01 +03:00
|
|
|
EventNameType_HTMLXUL,
|
|
|
|
eBasicEventClass)
|
2013-11-21 09:44:22 +04:00
|
|
|
|
2011-08-08 06:30:17 +04:00
|
|
|
// Not supported yet; probably never because "wheel" is a better idea.
|
|
|
|
// EVENT(mousewheel)
|
|
|
|
EVENT(pause,
|
2015-09-08 17:33:36 +03:00
|
|
|
ePause,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTML,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(play,
|
2015-09-08 17:33:36 +03:00
|
|
|
ePlay,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTML,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(playing,
|
2015-09-08 17:33:36 +03:00
|
|
|
ePlaying,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTML,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(progress,
|
2015-09-08 17:33:35 +03:00
|
|
|
eProgress,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTML,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(ratechange,
|
2015-09-08 17:33:37 +03:00
|
|
|
eRateChange,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTML,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(reset,
|
2015-09-02 09:08:00 +03:00
|
|
|
eFormReset,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(seeked,
|
2015-09-08 17:33:37 +03:00
|
|
|
eSeeked,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTML,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(seeking,
|
2015-09-08 17:33:37 +03:00
|
|
|
eSeeking,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTML,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(select,
|
2015-09-02 09:08:00 +03:00
|
|
|
eFormSelect,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 21:31:32 +04:00
|
|
|
EVENT(show,
|
2015-09-14 18:14:35 +03:00
|
|
|
eShow,
|
2011-08-08 21:31:32 +04:00
|
|
|
EventNameType_HTML,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(stalled,
|
2015-09-08 17:33:36 +03:00
|
|
|
eStalled,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTML,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(submit,
|
2015-09-02 09:08:00 +03:00
|
|
|
eFormSubmit,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(suspend,
|
2015-09-08 17:33:35 +03:00
|
|
|
eSuspend,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTML,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(timeupdate,
|
2015-09-08 17:33:37 +03:00
|
|
|
eTimeUpdate,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTML,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2016-03-12 14:53:51 +03:00
|
|
|
EVENT(toggle,
|
|
|
|
eToggle,
|
|
|
|
EventNameType_HTML,
|
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(volumechange,
|
2015-09-08 17:33:37 +03:00
|
|
|
eVolumeChange,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTML,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(waiting,
|
2015-09-08 17:33:36 +03:00
|
|
|
eWaiting,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTML,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2012-08-16 03:09:42 +04:00
|
|
|
EVENT(wheel,
|
2015-09-10 19:59:54 +03:00
|
|
|
eWheel,
|
2012-08-16 03:09:42 +04:00
|
|
|
EventNameType_All,
|
2014-08-04 09:28:51 +04:00
|
|
|
eWheelEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(copy,
|
2015-09-08 17:33:34 +03:00
|
|
|
eCopy,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:55 +04:00
|
|
|
eClipboardEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(cut,
|
2015-09-08 17:33:35 +03:00
|
|
|
eCut,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:55 +04:00
|
|
|
eClipboardEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(paste,
|
2015-09-08 17:33:35 +03:00
|
|
|
ePaste,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:55 +04:00
|
|
|
eClipboardEventClass)
|
2013-03-11 19:49:48 +04:00
|
|
|
// Gecko-specific extensions that apply to elements
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(beforescriptexecute,
|
2015-09-10 19:59:53 +03:00
|
|
|
eBeforeScriptExecute,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
EVENT(afterscriptexecute,
|
2015-09-10 19:59:54 +03:00
|
|
|
eAfterScriptExecute,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
|
|
|
|
FORWARDED_EVENT(blur,
|
2015-09-02 09:08:00 +03:00
|
|
|
eBlur,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:54 +04:00
|
|
|
eFocusEventClass)
|
2012-11-09 20:00:24 +04:00
|
|
|
ERROR_EVENT(error,
|
2015-09-02 09:07:59 +03:00
|
|
|
eLoadError,
|
2014-02-18 23:57:42 +04:00
|
|
|
EventNameType_All,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
FORWARDED_EVENT(focus,
|
2015-09-02 09:08:00 +03:00
|
|
|
eFocus,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:54 +04:00
|
|
|
eFocusEventClass)
|
2016-10-07 04:39:53 +03:00
|
|
|
FORWARDED_EVENT(focusin,
|
|
|
|
eFocusIn,
|
|
|
|
EventNameType_HTMLXUL,
|
|
|
|
eFocusEventClass)
|
|
|
|
FORWARDED_EVENT(focusout,
|
|
|
|
eFocusOut,
|
|
|
|
EventNameType_HTMLXUL,
|
|
|
|
eFocusEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
FORWARDED_EVENT(load,
|
2015-09-02 09:07:59 +03:00
|
|
|
eLoad,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_All,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2014-12-04 19:26:00 +03:00
|
|
|
FORWARDED_EVENT(resize,
|
2015-08-29 02:58:28 +03:00
|
|
|
eResize,
|
2014-12-04 19:26:00 +03:00
|
|
|
EventNameType_All,
|
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
FORWARDED_EVENT(scroll,
|
2015-08-29 02:58:28 +03:00
|
|
|
eScroll,
|
2011-08-08 06:30:17 +04:00
|
|
|
(EventNameType_HTMLXUL | EventNameType_SVGSVG),
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
|
|
|
|
WINDOW_EVENT(afterprint,
|
2015-09-11 19:19:28 +03:00
|
|
|
eAfterPrint,
|
2012-11-14 22:05:41 +04:00
|
|
|
EventNameType_XUL | EventNameType_HTMLBodyOrFramesetOnly,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
WINDOW_EVENT(beforeprint,
|
2015-09-11 19:19:28 +03:00
|
|
|
eBeforePrint,
|
2012-11-14 22:05:41 +04:00
|
|
|
EventNameType_XUL | EventNameType_HTMLBodyOrFramesetOnly,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2012-11-09 20:00:24 +04:00
|
|
|
BEFOREUNLOAD_EVENT(beforeunload,
|
2015-09-02 09:07:59 +03:00
|
|
|
eBeforeUnload,
|
2012-11-14 22:05:41 +04:00
|
|
|
EventNameType_XUL | EventNameType_HTMLBodyOrFramesetOnly,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
WINDOW_EVENT(hashchange,
|
2015-09-02 09:07:59 +03:00
|
|
|
eHashChange,
|
2012-11-14 22:05:41 +04:00
|
|
|
EventNameType_XUL | EventNameType_HTMLBodyOrFramesetOnly,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2014-05-12 15:48:15 +04:00
|
|
|
WINDOW_EVENT(languagechange,
|
2015-08-29 02:58:29 +03:00
|
|
|
eLanguageChange,
|
2014-05-12 15:48:15 +04:00
|
|
|
EventNameType_HTMLBodyOrFramesetOnly,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2012-11-14 22:05:41 +04:00
|
|
|
// XXXbz Should the onmessage attribute on <body> really not work? If so, do we
|
|
|
|
// need a different macro to flag things like that (IDL, but not content
|
|
|
|
// attributes on body/frameset), or is just using EventNameType_None enough?
|
2011-08-08 06:30:17 +04:00
|
|
|
WINDOW_EVENT(message,
|
2015-09-14 18:14:35 +03:00
|
|
|
eMessage,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
WINDOW_EVENT(offline,
|
2015-08-29 02:58:29 +03:00
|
|
|
eOffline,
|
2012-11-14 22:05:41 +04:00
|
|
|
EventNameType_XUL | EventNameType_HTMLBodyOrFramesetOnly,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
WINDOW_EVENT(online,
|
2015-08-29 02:58:29 +03:00
|
|
|
eOnline,
|
2012-11-14 22:05:41 +04:00
|
|
|
EventNameType_XUL | EventNameType_HTMLBodyOrFramesetOnly,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2015-10-24 07:37:28 +03:00
|
|
|
#if defined(MOZ_WIDGET_ANDROID) || defined(MOZ_WIDGET_GONK)
|
|
|
|
WINDOW_EVENT(orientationchange,
|
|
|
|
eOrientationChange,
|
|
|
|
EventNameType_HTMLBodyOrFramesetOnly,
|
|
|
|
eBasicEventClass)
|
|
|
|
#endif
|
2011-08-08 06:30:17 +04:00
|
|
|
WINDOW_EVENT(pagehide,
|
2015-09-07 17:55:51 +03:00
|
|
|
ePageHide,
|
2012-11-14 22:05:41 +04:00
|
|
|
EventNameType_HTMLBodyOrFramesetOnly,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
WINDOW_EVENT(pageshow,
|
2015-09-07 17:55:51 +03:00
|
|
|
ePageShow,
|
2012-11-14 22:05:41 +04:00
|
|
|
EventNameType_HTMLBodyOrFramesetOnly,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
WINDOW_EVENT(popstate,
|
2015-09-02 09:07:59 +03:00
|
|
|
ePopState,
|
2012-11-14 22:05:41 +04:00
|
|
|
EventNameType_XUL | EventNameType_HTMLBodyOrFramesetOnly,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
// Not supported yet
|
|
|
|
// WINDOW_EVENT(redo)
|
2015-11-18 02:09:53 +03:00
|
|
|
WINDOW_EVENT(storage,
|
|
|
|
eStorage,
|
|
|
|
EventNameType_HTMLBodyOrFramesetOnly,
|
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
// Not supported yet
|
|
|
|
// WINDOW_EVENT(undo)
|
|
|
|
WINDOW_EVENT(unload,
|
2015-09-02 09:07:59 +03:00
|
|
|
eUnload,
|
2012-11-14 22:05:41 +04:00
|
|
|
(EventNameType_XUL | EventNameType_SVGSVG |
|
|
|
|
EventNameType_HTMLBodyOrFramesetOnly),
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
|
|
|
|
WINDOW_ONLY_EVENT(devicemotion,
|
2015-09-11 19:19:28 +03:00
|
|
|
eDeviceMotion,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
WINDOW_ONLY_EVENT(deviceorientation,
|
2015-09-11 19:19:28 +03:00
|
|
|
eDeviceOrientation,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2015-12-18 01:14:51 +03:00
|
|
|
WINDOW_ONLY_EVENT(absolutedeviceorientation,
|
|
|
|
eAbsoluteDeviceOrientation,
|
|
|
|
EventNameType_None,
|
|
|
|
eBasicEventClass)
|
2012-05-02 20:43:45 +04:00
|
|
|
WINDOW_ONLY_EVENT(deviceproximity,
|
2015-09-11 19:19:28 +03:00
|
|
|
eDeviceProximity,
|
2012-05-02 20:43:45 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2012-05-17 00:27:54 +04:00
|
|
|
WINDOW_ONLY_EVENT(userproximity,
|
2015-09-11 19:19:28 +03:00
|
|
|
eUserProximity,
|
2012-05-17 00:27:54 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2012-05-02 20:43:45 +04:00
|
|
|
WINDOW_ONLY_EVENT(devicelight,
|
2015-09-11 19:19:29 +03:00
|
|
|
eDeviceLight,
|
2012-05-02 20:43:45 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2016-07-05 01:46:49 +03:00
|
|
|
WINDOW_ONLY_EVENT(vrdisplayconnect,
|
|
|
|
eVRDisplayConnect,
|
|
|
|
EventNameType_None,
|
|
|
|
eBasicEventClass)
|
|
|
|
WINDOW_ONLY_EVENT(vrdisplaydisconnect,
|
|
|
|
eVRDisplayDisconnect,
|
|
|
|
EventNameType_None,
|
|
|
|
eBasicEventClass)
|
|
|
|
WINDOW_ONLY_EVENT(vrdisplaypresentchange,
|
|
|
|
eVRDisplayPresentChange,
|
|
|
|
EventNameType_None,
|
|
|
|
eBasicEventClass)
|
2016-05-30 19:52:00 +03:00
|
|
|
// Install events as per W3C Manifest spec
|
2016-10-12 22:45:19 +03:00
|
|
|
WINDOW_ONLY_EVENT(appinstalled,
|
|
|
|
eAppInstalled,
|
2016-05-30 19:52:00 +03:00
|
|
|
EventNameType_None,
|
|
|
|
eBasicEventClass)
|
|
|
|
|
|
|
|
|
2012-11-07 22:10:40 +04:00
|
|
|
#ifdef MOZ_B2G
|
2012-09-11 10:05:00 +04:00
|
|
|
WINDOW_ONLY_EVENT(moztimechange,
|
2015-09-11 19:19:25 +03:00
|
|
|
eTimeChange,
|
2012-09-11 10:05:00 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2012-09-30 17:47:48 +04:00
|
|
|
WINDOW_ONLY_EVENT(moznetworkupload,
|
2015-09-11 19:19:26 +03:00
|
|
|
eNetworkUpload,
|
2012-09-30 17:47:48 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2012-09-30 17:47:48 +04:00
|
|
|
WINDOW_ONLY_EVENT(moznetworkdownload,
|
2015-09-11 19:19:26 +03:00
|
|
|
eNetworkDownload,
|
2012-09-30 17:47:48 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2012-11-07 22:10:40 +04:00
|
|
|
#endif // MOZ_B2G
|
2011-08-08 06:30:17 +04:00
|
|
|
|
|
|
|
TOUCH_EVENT(touchstart,
|
2015-09-14 18:14:34 +03:00
|
|
|
eTouchStart,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_All,
|
2014-08-04 09:28:53 +04:00
|
|
|
eTouchEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
TOUCH_EVENT(touchend,
|
2015-09-14 18:14:35 +03:00
|
|
|
eTouchEnd,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_All,
|
2014-08-04 09:28:53 +04:00
|
|
|
eTouchEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
TOUCH_EVENT(touchmove,
|
2015-09-14 18:14:35 +03:00
|
|
|
eTouchMove,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_All,
|
2014-08-04 09:28:53 +04:00
|
|
|
eTouchEventClass )
|
2011-08-08 06:30:17 +04:00
|
|
|
TOUCH_EVENT(touchcancel,
|
2015-09-14 18:14:35 +03:00
|
|
|
eTouchCancel,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_All,
|
2014-08-04 09:28:53 +04:00
|
|
|
eTouchEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
|
2011-09-20 06:56:45 +04:00
|
|
|
DOCUMENT_ONLY_EVENT(readystatechange,
|
2015-09-02 09:07:58 +03:00
|
|
|
eReadyStateChange,
|
2011-09-20 06:56:45 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2015-08-12 20:26:01 +03:00
|
|
|
DOCUMENT_ONLY_EVENT(selectionchange,
|
2015-09-14 18:14:33 +03:00
|
|
|
eSelectionChange,
|
2015-08-12 20:26:01 +03:00
|
|
|
EventNameType_HTMLXUL,
|
|
|
|
eBasicEventClass)
|
2011-09-20 06:56:45 +04:00
|
|
|
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(MozMouseHittest,
|
2015-08-29 02:58:32 +03:00
|
|
|
eMouseHitTest,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:50 +04:00
|
|
|
eMouseEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
|
|
|
|
NON_IDL_EVENT(DOMAttrModified,
|
2015-09-07 17:55:51 +03:00
|
|
|
eLegacyAttrModified,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:57 +04:00
|
|
|
eMutationEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(DOMCharacterDataModified,
|
2015-09-07 17:55:50 +03:00
|
|
|
eLegacyCharacterDataModified,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:57 +04:00
|
|
|
eMutationEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(DOMNodeInserted,
|
2015-09-07 17:55:51 +03:00
|
|
|
eLegacyNodeInserted,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:57 +04:00
|
|
|
eMutationEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(DOMNodeRemoved,
|
2015-09-07 17:55:51 +03:00
|
|
|
eLegacyNodeRemoved,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:57 +04:00
|
|
|
eMutationEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(DOMNodeInsertedIntoDocument,
|
2015-09-07 17:55:50 +03:00
|
|
|
eLegacyNodeInsertedIntoDocument,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:57 +04:00
|
|
|
eMutationEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(DOMNodeRemovedFromDocument,
|
2015-09-07 17:55:50 +03:00
|
|
|
eLegacyNodeRemovedFromDocument,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:57 +04:00
|
|
|
eMutationEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(DOMSubtreeModified,
|
2015-09-07 17:55:51 +03:00
|
|
|
eLegacySubtreeModified,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:57 +04:00
|
|
|
eMutationEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
|
|
|
|
NON_IDL_EVENT(DOMActivate,
|
2015-09-02 09:08:01 +03:00
|
|
|
eLegacyDOMActivate,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:47 +04:00
|
|
|
eUIEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(DOMFocusIn,
|
2015-09-02 09:08:01 +03:00
|
|
|
eLegacyDOMFocusIn,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:47 +04:00
|
|
|
eUIEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(DOMFocusOut,
|
2015-09-02 09:08:01 +03:00
|
|
|
eLegacyDOMFocusOut,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:47 +04:00
|
|
|
eUIEventClass)
|
2016-08-16 07:01:12 +03:00
|
|
|
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(DOMMouseScroll,
|
2015-09-10 04:40:04 +03:00
|
|
|
eLegacyMouseLineOrPageScroll,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:51 +04:00
|
|
|
eMouseScrollEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(MozMousePixelScroll,
|
2015-09-10 04:40:04 +03:00
|
|
|
eLegacyMousePixelScroll,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_HTMLXUL,
|
2014-08-04 09:28:51 +04:00
|
|
|
eMouseScrollEventClass)
|
2016-08-16 07:01:12 +03:00
|
|
|
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(open,
|
2015-09-10 19:59:54 +03:00
|
|
|
eOpen,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
|
2013-07-05 05:50:25 +04:00
|
|
|
NON_IDL_EVENT(dataavailable,
|
2015-09-14 18:14:34 +03:00
|
|
|
eMediaRecorderDataAvailable,
|
2013-07-05 05:50:25 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2013-07-05 05:50:25 +04:00
|
|
|
|
|
|
|
NON_IDL_EVENT(stop,
|
2015-09-14 18:14:34 +03:00
|
|
|
eMediaRecorderStop,
|
2013-07-05 05:50:25 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2013-07-05 05:50:25 +04:00
|
|
|
|
|
|
|
NON_IDL_EVENT(warning,
|
2015-09-14 18:14:34 +03:00
|
|
|
eMediaRecorderWarning,
|
2013-07-05 05:50:25 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2013-07-05 05:50:25 +04:00
|
|
|
|
2011-08-08 06:30:17 +04:00
|
|
|
// Events that only have on* attributes on XUL elements
|
2014-10-07 14:01:47 +04:00
|
|
|
|
2016-07-08 07:10:13 +03:00
|
|
|
// "text" event is legacy event for modifying composition string in EditorBase.
|
2014-10-07 14:01:47 +04:00
|
|
|
// This shouldn't be used by web/xul apps. "compositionupdate" should be
|
|
|
|
// used instead.
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(text,
|
2015-09-11 15:21:27 +03:00
|
|
|
eCompositionChange,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_XUL,
|
2014-10-07 14:01:48 +04:00
|
|
|
eCompositionEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(compositionstart,
|
2015-09-11 15:21:27 +03:00
|
|
|
eCompositionStart,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_XUL,
|
2014-08-04 09:28:48 +04:00
|
|
|
eCompositionEventClass)
|
2011-09-22 13:17:40 +04:00
|
|
|
NON_IDL_EVENT(compositionupdate,
|
2015-09-11 15:21:27 +03:00
|
|
|
eCompositionUpdate,
|
2011-09-22 13:17:40 +04:00
|
|
|
EventNameType_XUL,
|
2014-08-04 09:28:48 +04:00
|
|
|
eCompositionEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(compositionend,
|
2015-09-11 15:21:27 +03:00
|
|
|
eCompositionEnd,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_XUL,
|
2014-08-04 09:28:48 +04:00
|
|
|
eCompositionEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(command,
|
2015-09-04 13:54:12 +03:00
|
|
|
eXULCommand,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_XUL,
|
2014-08-04 09:28:47 +04:00
|
|
|
eInputEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(close,
|
2015-08-29 02:58:26 +03:00
|
|
|
eWindowClose,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_XUL,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(popupshowing,
|
2015-09-04 13:54:11 +03:00
|
|
|
eXULPopupShowing,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_XUL,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(popupshown,
|
2015-09-04 13:54:11 +03:00
|
|
|
eXULPopupShown,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_XUL,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2016-08-17 01:33:05 +03:00
|
|
|
NON_IDL_EVENT(popuppositioned,
|
|
|
|
eXULPopupPositioned,
|
|
|
|
EventNameType_XUL,
|
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(popuphiding,
|
2015-09-04 13:54:11 +03:00
|
|
|
eXULPopupHiding,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_XUL,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(popuphidden,
|
2015-09-04 13:54:11 +03:00
|
|
|
eXULPopupHidden,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_XUL,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(broadcast,
|
2015-09-04 13:54:12 +03:00
|
|
|
eXULBroadcast,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_XUL,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(commandupdate,
|
2015-09-04 13:54:12 +03:00
|
|
|
eXULCommandUpdate,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_XUL,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(overflow,
|
2015-09-11 19:19:27 +03:00
|
|
|
eScrollPortOverflow,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_XUL,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(underflow,
|
2015-09-11 19:19:27 +03:00
|
|
|
eScrollPortUnderflow,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_XUL,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
|
|
|
|
// Various SVG events
|
|
|
|
NON_IDL_EVENT(SVGLoad,
|
2015-09-07 17:55:51 +03:00
|
|
|
eSVGLoad,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(SVGUnload,
|
2015-09-07 17:55:51 +03:00
|
|
|
eSVGUnload,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(SVGResize,
|
2015-09-07 17:55:52 +03:00
|
|
|
eSVGResize,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(SVGScroll,
|
2015-09-07 17:55:52 +03:00
|
|
|
eSVGScroll,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
|
|
|
|
NON_IDL_EVENT(SVGZoom,
|
2015-09-07 17:55:52 +03:00
|
|
|
eSVGZoom,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:56 +04:00
|
|
|
eSVGZoomEventClass)
|
2012-08-29 15:24:41 +04:00
|
|
|
|
2015-08-26 15:56:59 +03:00
|
|
|
// Only map the ID to the real event name when MESSAGE_TO_EVENT is defined.
|
|
|
|
#ifndef MESSAGE_TO_EVENT
|
2011-08-08 06:30:17 +04:00
|
|
|
// This is a bit hackish, but SVG's event names are weird.
|
|
|
|
NON_IDL_EVENT(zoom,
|
2015-09-07 17:55:52 +03:00
|
|
|
eSVGZoom,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_SVGSVG,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2012-08-29 15:24:41 +04:00
|
|
|
#endif
|
2015-08-26 15:56:59 +03:00
|
|
|
// Only map the ID to the real event name when MESSAGE_TO_EVENT is defined.
|
|
|
|
#ifndef MESSAGE_TO_EVENT
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(begin,
|
2015-09-11 15:21:27 +03:00
|
|
|
eSMILBeginEvent,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_SMIL,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2012-08-29 15:24:41 +04:00
|
|
|
#endif
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(beginEvent,
|
2015-09-11 15:21:27 +03:00
|
|
|
eSMILBeginEvent,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:56 +04:00
|
|
|
eSMILTimeEventClass)
|
2015-08-26 15:56:59 +03:00
|
|
|
// Only map the ID to the real event name when MESSAGE_TO_EVENT is defined.
|
|
|
|
#ifndef MESSAGE_TO_EVENT
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(end,
|
2015-09-11 15:21:27 +03:00
|
|
|
eSMILEndEvent,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_SMIL,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2012-08-29 15:24:41 +04:00
|
|
|
#endif
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(endEvent,
|
2015-09-11 15:21:27 +03:00
|
|
|
eSMILEndEvent,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:56 +04:00
|
|
|
eSMILTimeEventClass)
|
2015-08-26 15:56:59 +03:00
|
|
|
// Only map the ID to the real event name when MESSAGE_TO_EVENT is defined.
|
|
|
|
#ifndef MESSAGE_TO_EVENT
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(repeat,
|
2015-09-11 15:21:28 +03:00
|
|
|
eSMILRepeatEvent,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_SMIL,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2012-08-29 15:24:41 +04:00
|
|
|
#endif
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(repeatEvent,
|
2015-09-11 15:21:28 +03:00
|
|
|
eSMILRepeatEvent,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:56 +04:00
|
|
|
eSMILTimeEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
|
|
|
|
NON_IDL_EVENT(MozAfterPaint,
|
2015-09-10 04:40:06 +03:00
|
|
|
eAfterPaint,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
|
|
|
|
NON_IDL_EVENT(MozScrolledAreaChanged,
|
2015-09-11 19:19:27 +03:00
|
|
|
eScrolledAreaChanged,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:54 +04:00
|
|
|
eScrollAreaEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
|
2011-08-03 22:12:08 +04:00
|
|
|
NON_IDL_EVENT(gamepadbuttondown,
|
2015-09-11 15:21:28 +03:00
|
|
|
eGamepadButtonDown,
|
2011-08-03 22:12:08 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-03 22:12:08 +04:00
|
|
|
NON_IDL_EVENT(gamepadbuttonup,
|
2015-09-11 15:21:28 +03:00
|
|
|
eGamepadButtonUp,
|
2011-08-03 22:12:08 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-03 22:12:08 +04:00
|
|
|
NON_IDL_EVENT(gamepadaxismove,
|
2015-09-11 15:21:28 +03:00
|
|
|
eGamepadAxisMove,
|
2011-08-03 22:12:08 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-03 22:12:08 +04:00
|
|
|
NON_IDL_EVENT(gamepadconnected,
|
2015-09-11 15:21:28 +03:00
|
|
|
eGamepadConnected,
|
2011-08-03 22:12:08 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-03 22:12:08 +04:00
|
|
|
NON_IDL_EVENT(gamepaddisconnected,
|
2015-09-11 15:21:28 +03:00
|
|
|
eGamepadDisconnected,
|
2011-08-03 22:12:08 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2011-08-03 22:12:08 +04:00
|
|
|
|
2011-08-08 06:30:17 +04:00
|
|
|
// Simple gesture events
|
2015-08-27 22:06:21 +03:00
|
|
|
NON_IDL_EVENT(MozSwipeGestureMayStart,
|
2015-09-14 18:14:38 +03:00
|
|
|
eSwipeGestureMayStart,
|
2015-08-27 22:06:21 +03:00
|
|
|
EventNameType_None,
|
|
|
|
eSimpleGestureEventClass)
|
2013-04-09 23:44:01 +04:00
|
|
|
NON_IDL_EVENT(MozSwipeGestureStart,
|
2015-09-14 18:14:37 +03:00
|
|
|
eSwipeGestureStart,
|
2013-04-09 23:44:01 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:53 +04:00
|
|
|
eSimpleGestureEventClass)
|
2013-04-09 23:44:01 +04:00
|
|
|
NON_IDL_EVENT(MozSwipeGestureUpdate,
|
2015-09-14 18:14:37 +03:00
|
|
|
eSwipeGestureUpdate,
|
2013-04-09 23:44:01 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:53 +04:00
|
|
|
eSimpleGestureEventClass)
|
2013-04-09 23:44:01 +04:00
|
|
|
NON_IDL_EVENT(MozSwipeGestureEnd,
|
2015-09-14 18:14:37 +03:00
|
|
|
eSwipeGestureEnd,
|
2013-04-09 23:44:01 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:53 +04:00
|
|
|
eSimpleGestureEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(MozSwipeGesture,
|
2015-09-14 18:14:37 +03:00
|
|
|
eSwipeGesture,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:53 +04:00
|
|
|
eSimpleGestureEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(MozMagnifyGestureStart,
|
2015-09-14 18:14:37 +03:00
|
|
|
eMagnifyGestureStart,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:53 +04:00
|
|
|
eSimpleGestureEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(MozMagnifyGestureUpdate,
|
2015-09-14 18:14:37 +03:00
|
|
|
eMagnifyGestureUpdate,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:53 +04:00
|
|
|
eSimpleGestureEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(MozMagnifyGesture,
|
2015-09-14 18:14:37 +03:00
|
|
|
eMagnifyGesture,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:53 +04:00
|
|
|
eSimpleGestureEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(MozRotateGestureStart,
|
2015-09-14 18:14:37 +03:00
|
|
|
eRotateGestureStart,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:53 +04:00
|
|
|
eSimpleGestureEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(MozRotateGestureUpdate,
|
2015-09-14 18:14:36 +03:00
|
|
|
eRotateGestureUpdate,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:53 +04:00
|
|
|
eSimpleGestureEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(MozRotateGesture,
|
2015-09-14 18:14:36 +03:00
|
|
|
eRotateGesture,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:53 +04:00
|
|
|
eSimpleGestureEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(MozTapGesture,
|
2015-09-14 18:14:36 +03:00
|
|
|
eTapGesture,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:53 +04:00
|
|
|
eSimpleGestureEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
NON_IDL_EVENT(MozPressTapGesture,
|
2015-09-14 18:14:36 +03:00
|
|
|
ePressTapGesture,
|
2011-08-08 06:30:17 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:53 +04:00
|
|
|
eSimpleGestureEventClass)
|
2013-05-17 08:22:21 +04:00
|
|
|
NON_IDL_EVENT(MozEdgeUIStarted,
|
2015-09-14 18:14:36 +03:00
|
|
|
eEdgeUIStarted,
|
2013-05-17 08:22:21 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:53 +04:00
|
|
|
eSimpleGestureEventClass)
|
2013-05-17 08:22:21 +04:00
|
|
|
NON_IDL_EVENT(MozEdgeUICanceled,
|
2015-09-14 18:14:36 +03:00
|
|
|
eEdgeUICanceled,
|
2013-05-17 08:22:21 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:53 +04:00
|
|
|
eSimpleGestureEventClass)
|
2013-05-17 08:22:21 +04:00
|
|
|
NON_IDL_EVENT(MozEdgeUICompleted,
|
2015-09-14 18:14:36 +03:00
|
|
|
eEdgeUICompleted,
|
2012-06-14 21:40:12 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:53 +04:00
|
|
|
eSimpleGestureEventClass)
|
2011-08-08 06:30:17 +04:00
|
|
|
|
2016-01-31 11:01:17 +03:00
|
|
|
// CSS Transition & Animation events:
|
2016-10-19 09:16:51 +03:00
|
|
|
EVENT(transitionstart,
|
|
|
|
eTransitionStart,
|
|
|
|
EventNameType_All,
|
|
|
|
eTransitionEventClass)
|
|
|
|
EVENT(transitionrun,
|
|
|
|
eTransitionRun,
|
|
|
|
EventNameType_All,
|
|
|
|
eTransitionEventClass)
|
2016-08-05 02:12:14 +03:00
|
|
|
EVENT(transitionend,
|
|
|
|
eTransitionEnd,
|
|
|
|
EventNameType_All,
|
|
|
|
eTransitionEventClass)
|
|
|
|
EVENT(animationstart,
|
|
|
|
eAnimationStart,
|
|
|
|
EventNameType_All,
|
|
|
|
eAnimationEventClass)
|
|
|
|
EVENT(animationend,
|
|
|
|
eAnimationEnd,
|
|
|
|
EventNameType_All,
|
|
|
|
eAnimationEventClass)
|
|
|
|
EVENT(animationiteration,
|
|
|
|
eAnimationIteration,
|
|
|
|
EventNameType_All,
|
|
|
|
eAnimationEventClass)
|
2011-08-08 06:27:01 +04:00
|
|
|
|
2016-01-31 11:01:17 +03:00
|
|
|
// Webkit-prefixed versions of Transition & Animation events, for web compat:
|
2016-08-05 08:12:38 +03:00
|
|
|
EVENT(webkitAnimationEnd,
|
|
|
|
eWebkitAnimationEnd,
|
|
|
|
EventNameType_All,
|
|
|
|
eAnimationEventClass)
|
|
|
|
EVENT(webkitAnimationIteration,
|
|
|
|
eWebkitAnimationIteration,
|
|
|
|
EventNameType_All,
|
|
|
|
eAnimationEventClass)
|
|
|
|
EVENT(webkitAnimationStart,
|
|
|
|
eWebkitAnimationStart,
|
|
|
|
EventNameType_All,
|
|
|
|
eAnimationEventClass)
|
|
|
|
EVENT(webkitTransitionEnd,
|
|
|
|
eWebkitTransitionEnd,
|
|
|
|
EventNameType_All,
|
|
|
|
eTransitionEventClass)
|
|
|
|
#ifndef MESSAGE_TO_EVENT
|
|
|
|
EVENT(webkitanimationend,
|
|
|
|
eWebkitAnimationEnd,
|
|
|
|
EventNameType_All,
|
|
|
|
eAnimationEventClass)
|
|
|
|
EVENT(webkitanimationiteration,
|
|
|
|
eWebkitAnimationIteration,
|
|
|
|
EventNameType_All,
|
|
|
|
eAnimationEventClass)
|
|
|
|
EVENT(webkitanimationstart,
|
|
|
|
eWebkitAnimationStart,
|
|
|
|
EventNameType_All,
|
|
|
|
eAnimationEventClass)
|
|
|
|
EVENT(webkittransitionend,
|
|
|
|
eWebkitTransitionEnd,
|
|
|
|
EventNameType_All,
|
|
|
|
eTransitionEventClass)
|
|
|
|
#endif
|
2016-01-31 11:01:17 +03:00
|
|
|
|
2013-04-14 05:37:04 +04:00
|
|
|
NON_IDL_EVENT(audioprocess,
|
2015-09-14 18:14:36 +03:00
|
|
|
eAudioProcess,
|
2013-04-14 05:37:04 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2013-04-14 05:37:04 +04:00
|
|
|
|
2013-05-17 03:30:41 +04:00
|
|
|
NON_IDL_EVENT(complete,
|
2015-09-14 18:14:36 +03:00
|
|
|
eAudioComplete,
|
2013-05-17 03:30:41 +04:00
|
|
|
EventNameType_None,
|
2014-08-04 09:28:58 +04:00
|
|
|
eBasicEventClass)
|
2013-05-17 03:30:41 +04:00
|
|
|
|
2011-08-08 06:26:52 +04:00
|
|
|
#ifdef DEFINED_FORWARDED_EVENT
|
|
|
|
#undef DEFINED_FORWARDED_EVENT
|
|
|
|
#undef FORWARDED_EVENT
|
|
|
|
#endif /* DEFINED_FORWARDED_EVENT */
|
|
|
|
|
|
|
|
#ifdef DEFINED_WINDOW_EVENT
|
|
|
|
#undef DEFINED_WINDOW_EVENT
|
|
|
|
#undef WINDOW_EVENT
|
|
|
|
#endif /* DEFINED_WINDOW_EVENT */
|
2011-08-08 06:27:01 +04:00
|
|
|
|
|
|
|
#ifdef DEFINED_WINDOW_ONLY_EVENT
|
|
|
|
#undef DEFINED_WINDOW_ONLY_EVENT
|
|
|
|
#undef WINDOW_ONLY_EVENT
|
|
|
|
#endif /* DEFINED_WINDOW_ONLY_EVENT */
|
|
|
|
|
|
|
|
#ifdef DEFINED_TOUCH_EVENT
|
|
|
|
#undef DEFINED_TOUCH_EVENT
|
|
|
|
#undef TOUCH_EVENT
|
|
|
|
#endif /* DEFINED_TOUCH_EVENT */
|
|
|
|
|
2011-09-20 06:56:45 +04:00
|
|
|
#ifdef DEFINED_DOCUMENT_ONLY_EVENT
|
|
|
|
#undef DEFINED_DOCUMENT_ONLY_EVENT
|
|
|
|
#undef DOCUMENT_ONLY_EVENT
|
|
|
|
#endif /* DEFINED_DOCUMENT_ONLY_EVENT */
|
|
|
|
|
2011-08-08 06:30:17 +04:00
|
|
|
#ifdef DEFINED_NON_IDL_EVENT
|
|
|
|
#undef DEFINED_NON_IDL_EVENT
|
|
|
|
#undef NON_IDL_EVENT
|
|
|
|
#endif /* DEFINED_NON_IDL_EVENT */
|
|
|
|
|
2012-11-09 20:00:24 +04:00
|
|
|
#ifdef DEFINED_ERROR_EVENT
|
|
|
|
#undef DEFINED_ERROR_EVENT
|
|
|
|
#undef ERROR_EVENT
|
|
|
|
#endif /* DEFINED_ERROR_EVENT */
|
|
|
|
|
|
|
|
#ifdef DEFINED_BEFOREUNLOAD_EVENT
|
|
|
|
#undef DEFINED_BEFOREUNLOAD_EVENT
|
|
|
|
#undef BEFOREUNLOAD_EVENT
|
|
|
|
#endif /* BEFOREUNLOAD_EVENT */
|
|
|
|
|
2015-08-26 15:56:59 +03:00
|
|
|
#ifdef MESSAGE_TO_EVENT
|
2012-08-29 15:24:41 +04:00
|
|
|
#undef EVENT
|
|
|
|
#undef WINDOW_ONLY_EVENT
|
|
|
|
#undef TOUCH_EVENT
|
|
|
|
#undef DOCUMENT_ONLY_EVENT
|
|
|
|
#undef NON_IDL_EVENT
|
2015-08-26 15:56:59 +03:00
|
|
|
#endif /* MESSAGE_TO_EVENT */
|
2012-08-29 15:24:41 +04:00
|
|
|
|