mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 912956 part.10 Replace NS_EVENT_NULL in nsEventNameList.h with NS_EVENT since the argument specifies an event struct type r=smaug
This commit is contained in:
parent
754420fdfd
commit
5f23c94550
@ -154,11 +154,11 @@ EVENT(abort,
|
||||
EVENT(canplay,
|
||||
NS_CANPLAY,
|
||||
EventNameType_HTML,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
EVENT(canplaythrough,
|
||||
NS_CANPLAYTHROUGH,
|
||||
EventNameType_HTML,
|
||||
NS_EVENT_NULL )
|
||||
NS_EVENT)
|
||||
EVENT(change,
|
||||
NS_FORM_CHANGE,
|
||||
EventNameType_HTMLXUL,
|
||||
@ -208,15 +208,15 @@ EVENT(drop,
|
||||
EVENT(durationchange,
|
||||
NS_DURATIONCHANGE,
|
||||
EventNameType_HTML,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
EVENT(emptied,
|
||||
NS_EMPTIED,
|
||||
EventNameType_HTML,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
EVENT(ended,
|
||||
NS_ENDED,
|
||||
EventNameType_HTML,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
EVENT(input,
|
||||
NS_FORM_INPUT,
|
||||
EventNameType_HTMLXUL,
|
||||
@ -240,15 +240,15 @@ EVENT(keyup,
|
||||
EVENT(loadeddata,
|
||||
NS_LOADEDDATA,
|
||||
EventNameType_HTML,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
EVENT(loadedmetadata,
|
||||
NS_LOADEDMETADATA,
|
||||
EventNameType_HTML,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
EVENT(loadstart,
|
||||
NS_LOADSTART,
|
||||
EventNameType_HTML,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
EVENT(mousedown,
|
||||
NS_MOUSE_BUTTON_DOWN,
|
||||
EventNameType_All,
|
||||
@ -280,41 +280,41 @@ EVENT(mouseup,
|
||||
EVENT(mozfullscreenchange,
|
||||
NS_FULLSCREENCHANGE,
|
||||
EventNameType_HTML,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
EVENT(mozfullscreenerror,
|
||||
NS_FULLSCREENERROR,
|
||||
EventNameType_HTML,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
EVENT(mozpointerlockchange,
|
||||
NS_POINTERLOCKCHANGE,
|
||||
EventNameType_HTML,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
EVENT(mozpointerlockerror,
|
||||
NS_POINTERLOCKERROR,
|
||||
EventNameType_HTML,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
// Not supported yet; probably never because "wheel" is a better idea.
|
||||
// EVENT(mousewheel)
|
||||
EVENT(pause,
|
||||
NS_PAUSE,
|
||||
EventNameType_HTML,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
EVENT(play,
|
||||
NS_PLAY,
|
||||
EventNameType_HTML,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
EVENT(playing,
|
||||
NS_PLAYING,
|
||||
EventNameType_HTML,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
EVENT(progress,
|
||||
NS_PROGRESS,
|
||||
EventNameType_HTML,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
EVENT(ratechange,
|
||||
NS_RATECHANGE,
|
||||
EventNameType_HTML,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
EVENT(reset,
|
||||
NS_FORM_RESET,
|
||||
EventNameType_HTMLXUL,
|
||||
@ -322,11 +322,11 @@ EVENT(reset,
|
||||
EVENT(seeked,
|
||||
NS_SEEKED,
|
||||
EventNameType_HTML,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
EVENT(seeking,
|
||||
NS_SEEKING,
|
||||
EventNameType_HTML,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
EVENT(select,
|
||||
NS_FORM_SELECTED,
|
||||
EventNameType_HTMLXUL,
|
||||
@ -338,7 +338,7 @@ EVENT(show,
|
||||
EVENT(stalled,
|
||||
NS_STALLED,
|
||||
EventNameType_HTML,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
EVENT(submit,
|
||||
NS_FORM_SUBMIT,
|
||||
EventNameType_HTMLXUL,
|
||||
@ -346,19 +346,19 @@ EVENT(submit,
|
||||
EVENT(suspend,
|
||||
NS_SUSPEND,
|
||||
EventNameType_HTML,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
EVENT(timeupdate,
|
||||
NS_TIMEUPDATE,
|
||||
EventNameType_HTML,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
EVENT(volumechange,
|
||||
NS_VOLUMECHANGE,
|
||||
EventNameType_HTML,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
EVENT(waiting,
|
||||
NS_WAITING,
|
||||
EventNameType_HTML,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
EVENT(wheel,
|
||||
NS_WHEEL_WHEEL,
|
||||
EventNameType_All,
|
||||
@ -404,7 +404,7 @@ FORWARDED_EVENT(load,
|
||||
FORWARDED_EVENT(scroll,
|
||||
NS_SCROLL_EVENT,
|
||||
(EventNameType_HTMLXUL | EventNameType_SVGSVG),
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
|
||||
WINDOW_EVENT(afterprint,
|
||||
NS_AFTERPRINT,
|
||||
@ -448,7 +448,7 @@ WINDOW_EVENT(pageshow,
|
||||
WINDOW_EVENT(popstate,
|
||||
NS_POPSTATE,
|
||||
EventNameType_XUL | EventNameType_HTMLBodyOrFramesetOnly,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
// Not supported yet
|
||||
// WINDOW_EVENT(redo)
|
||||
WINDOW_EVENT(resize,
|
||||
@ -530,7 +530,7 @@ TOUCH_EVENT(touchcancel,
|
||||
DOCUMENT_ONLY_EVENT(readystatechange,
|
||||
NS_READYSTATECHANGE,
|
||||
EventNameType_HTMLXUL,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
|
||||
NON_IDL_EVENT(MozMouseHittest,
|
||||
NS_MOUSE_MOZHITTEST,
|
||||
@ -616,7 +616,7 @@ NON_IDL_EVENT(warning,
|
||||
NON_IDL_EVENT(text,
|
||||
NS_TEXT_TEXT,
|
||||
EventNameType_XUL,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
NON_IDL_EVENT(compositionstart,
|
||||
NS_COMPOSITION_START,
|
||||
EventNameType_XUL,
|
||||
@ -636,31 +636,31 @@ NON_IDL_EVENT(command,
|
||||
NON_IDL_EVENT(close,
|
||||
NS_XUL_CLOSE,
|
||||
EventNameType_XUL,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
NON_IDL_EVENT(popupshowing,
|
||||
NS_XUL_POPUP_SHOWING,
|
||||
EventNameType_XUL,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
NON_IDL_EVENT(popupshown,
|
||||
NS_XUL_POPUP_SHOWN,
|
||||
EventNameType_XUL,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
NON_IDL_EVENT(popuphiding,
|
||||
NS_XUL_POPUP_HIDING,
|
||||
EventNameType_XUL,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
NON_IDL_EVENT(popuphidden,
|
||||
NS_XUL_POPUP_HIDDEN,
|
||||
EventNameType_XUL,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
NON_IDL_EVENT(broadcast,
|
||||
NS_XUL_BROADCAST,
|
||||
EventNameType_XUL,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
NON_IDL_EVENT(commandupdate,
|
||||
NS_XUL_COMMAND_UPDATE,
|
||||
EventNameType_XUL,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
NON_IDL_EVENT(dragexit,
|
||||
NS_DRAGDROP_EXIT_SYNTH,
|
||||
EventNameType_XUL,
|
||||
@ -676,11 +676,11 @@ NON_IDL_EVENT(draggesture,
|
||||
NON_IDL_EVENT(overflow,
|
||||
NS_SCROLLPORT_OVERFLOW,
|
||||
EventNameType_XUL,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
NON_IDL_EVENT(underflow,
|
||||
NS_SCROLLPORT_UNDERFLOW,
|
||||
EventNameType_XUL,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
|
||||
// Various SVG events
|
||||
NON_IDL_EVENT(SVGLoad,
|
||||
@ -719,14 +719,14 @@ NON_IDL_EVENT(SVGZoom,
|
||||
NON_IDL_EVENT(zoom,
|
||||
NS_SVG_ZOOM,
|
||||
EventNameType_SVGSVG,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
#endif
|
||||
// Only map the ID to the real event name when ID_TO_EVENT is defined.
|
||||
#ifndef ID_TO_EVENT
|
||||
NON_IDL_EVENT(begin,
|
||||
NS_SMIL_BEGIN,
|
||||
EventNameType_SMIL,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
#endif
|
||||
NON_IDL_EVENT(beginEvent,
|
||||
NS_SMIL_BEGIN,
|
||||
@ -737,7 +737,7 @@ NON_IDL_EVENT(beginEvent,
|
||||
NON_IDL_EVENT(end,
|
||||
NS_SMIL_END,
|
||||
EventNameType_SMIL,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
#endif
|
||||
NON_IDL_EVENT(endEvent,
|
||||
NS_SMIL_END,
|
||||
@ -748,7 +748,7 @@ NON_IDL_EVENT(endEvent,
|
||||
NON_IDL_EVENT(repeat,
|
||||
NS_SMIL_REPEAT,
|
||||
EventNameType_SMIL,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
#endif
|
||||
NON_IDL_EVENT(repeatEvent,
|
||||
NS_SMIL_REPEAT,
|
||||
@ -758,7 +758,7 @@ NON_IDL_EVENT(repeatEvent,
|
||||
NON_IDL_EVENT(MozAudioAvailable,
|
||||
NS_MOZAUDIOAVAILABLE,
|
||||
EventNameType_None,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
NON_IDL_EVENT(MozAfterPaint,
|
||||
NS_AFTERPAINT,
|
||||
EventNameType_None,
|
||||
@ -773,23 +773,23 @@ NON_IDL_EVENT(MozScrolledAreaChanged,
|
||||
NON_IDL_EVENT(gamepadbuttondown,
|
||||
NS_GAMEPAD_BUTTONDOWN,
|
||||
EventNameType_None,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
NON_IDL_EVENT(gamepadbuttonup,
|
||||
NS_GAMEPAD_BUTTONUP,
|
||||
EventNameType_None,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
NON_IDL_EVENT(gamepadaxismove,
|
||||
NS_GAMEPAD_AXISMOVE,
|
||||
EventNameType_None,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
NON_IDL_EVENT(gamepadconnected,
|
||||
NS_GAMEPAD_CONNECTED,
|
||||
EventNameType_None,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
NON_IDL_EVENT(gamepaddisconnected,
|
||||
NS_GAMEPAD_DISCONNECTED,
|
||||
EventNameType_None,
|
||||
NS_EVENT_NULL)
|
||||
NS_EVENT)
|
||||
#endif
|
||||
|
||||
// Simple gesture events
|
||||
|
Loading…
Reference in New Issue
Block a user