1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 * This header file lists up all event classes and related structs.
8 * Define NS_EVENT_CLASS(aPrefix, aName) and NS_ROOT_EVENT_CLASS(aPrefix, aName)
9 * before including this.
10 * If an event name is WidgetInputEvent, aPrefix is "Widget" and aName is
11 * "InputEvent". NS_ROOT_EVENT_CLASS() is only used for WidgetEvent for
12 * allowing special handling for it. If you don't need such special handling,
13 * you can define it as:
14 * #define NS_ROOT_EVENT_CLASS(aPrefix, aName) NS_EVENT_CLASS(aPrefix, aName)
18 NS_ROOT_EVENT_CLASS(Widget
, Event
)
19 NS_EVENT_CLASS(Widget
, GUIEvent
)
20 NS_EVENT_CLASS(Widget
, InputEvent
)
21 NS_EVENT_CLASS(Internal
, UIEvent
)
24 NS_EVENT_CLASS(Widget
, KeyboardEvent
)
25 NS_EVENT_CLASS(Widget
, CompositionEvent
)
26 NS_EVENT_CLASS(Widget
, QueryContentEvent
)
27 NS_EVENT_CLASS(Widget
, SelectionEvent
)
28 NS_EVENT_CLASS(Internal
, EditorInputEvent
)
29 NS_EVENT_CLASS(Internal
, BeforeAfterKeyboardEvent
)
32 NS_EVENT_CLASS(Widget
, MouseEventBase
)
33 NS_EVENT_CLASS(Widget
, MouseEvent
)
34 NS_EVENT_CLASS(Widget
, DragEvent
)
35 NS_EVENT_CLASS(Widget
, MouseScrollEvent
)
36 NS_EVENT_CLASS(Widget
, WheelEvent
)
37 NS_EVENT_CLASS(Widget
, PointerEvent
)
40 NS_EVENT_CLASS(Widget
, GestureNotifyEvent
)
41 NS_EVENT_CLASS(Widget
, SimpleGestureEvent
)
42 NS_EVENT_CLASS(Widget
, TouchEvent
)
45 NS_EVENT_CLASS(Internal
, ScrollPortEvent
)
46 NS_EVENT_CLASS(Internal
, ScrollAreaEvent
)
47 NS_EVENT_CLASS(Internal
, FormEvent
)
48 NS_EVENT_CLASS(Internal
, ClipboardEvent
)
49 NS_EVENT_CLASS(Internal
, FocusEvent
)
50 NS_EVENT_CLASS(Internal
, TransitionEvent
)
51 NS_EVENT_CLASS(Internal
, AnimationEvent
)
52 NS_EVENT_CLASS(Internal
, SVGZoomEvent
)
53 NS_EVENT_CLASS(Internal
, SMILTimeEvent
)
56 NS_EVENT_CLASS(Widget
, CommandEvent
)
57 NS_EVENT_CLASS(Widget
, ContentCommandEvent
)
58 NS_EVENT_CLASS(Widget
, PluginEvent
)
60 // InternalMutationEvent.h (dom/events)
61 NS_EVENT_CLASS(Internal
, MutationEvent
)