Bug 1837494 [wpt PR 40457] - Ignore urllib3's warnings when run on LibreSSL, a=testonly
[gecko.git] / widget / EventClassList.h
blobc8870d84e58761ece50c7d37fea3c370f0b5b257
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/. */
6 /**
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)
17 // BasicEvents.h
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)
23 // TextEvents.h
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)
30 // MouseEvents.h
31 NS_EVENT_CLASS(Widget, MouseEventBase)
32 NS_EVENT_CLASS(Widget, MouseEvent)
33 NS_EVENT_CLASS(Widget, DragEvent)
34 NS_EVENT_CLASS(Widget, MouseScrollEvent)
35 NS_EVENT_CLASS(Widget, WheelEvent)
36 NS_EVENT_CLASS(Widget, PointerEvent)
38 // TouchEvents.h
39 NS_EVENT_CLASS(Widget, GestureNotifyEvent)
40 NS_EVENT_CLASS(Widget, SimpleGestureEvent)
41 NS_EVENT_CLASS(Widget, TouchEvent)
43 // ContentEvents.h
44 NS_EVENT_CLASS(Internal, ScrollPortEvent)
45 NS_EVENT_CLASS(Internal, ScrollAreaEvent)
46 NS_EVENT_CLASS(Internal, FormEvent)
47 NS_EVENT_CLASS(Internal, ClipboardEvent)
48 NS_EVENT_CLASS(Internal, FocusEvent)
49 NS_EVENT_CLASS(Internal, TransitionEvent)
50 NS_EVENT_CLASS(Internal, AnimationEvent)
51 NS_EVENT_CLASS(Internal, SMILTimeEvent)
53 // MiscEvents.h
54 NS_EVENT_CLASS(Widget, CommandEvent)
55 NS_EVENT_CLASS(Widget, ContentCommandEvent)
57 // InternalMutationEvent.h (dom/events)
58 NS_EVENT_CLASS(Internal, MutationEvent)