widget/EventClassList.h

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

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

mercurial