2013-10-18 10:10:20 +04:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* 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/. */
|
|
|
|
|
|
|
|
/**
|
|
|
|
* This header file lists up all event classes and related structs.
|
|
|
|
* Define NS_EVENT_CLASS(aPrefix, aName) and NS_ROOT_EVENT_CLASS(aPrefix, aName)
|
|
|
|
* before including this.
|
|
|
|
* If an event name is WidgetInputEvent, aPrefix is "Widget" and aName is
|
|
|
|
* "InputEvent". NS_ROOT_EVENT_CLASS() is only used for WidgetEvent for
|
|
|
|
* allowing special handling for it. If you don't need such special handling,
|
|
|
|
* you can define it as:
|
|
|
|
* #define NS_ROOT_EVENT_CLASS(aPrefix, aName) NS_EVENT_CLASS(aPrefix, aName)
|
|
|
|
*/
|
|
|
|
|
|
|
|
// BasicEvents.h
|
|
|
|
NS_ROOT_EVENT_CLASS(Widget, Event)
|
|
|
|
NS_EVENT_CLASS(Widget, GUIEvent)
|
|
|
|
NS_EVENT_CLASS(Widget, InputEvent)
|
|
|
|
NS_EVENT_CLASS(Internal, UIEvent)
|
|
|
|
|
|
|
|
// TextEvents.h
|
|
|
|
NS_EVENT_CLASS(Widget, KeyboardEvent)
|
|
|
|
NS_EVENT_CLASS(Widget, CompositionEvent)
|
|
|
|
NS_EVENT_CLASS(Widget, QueryContentEvent)
|
|
|
|
NS_EVENT_CLASS(Widget, SelectionEvent)
|
2014-04-10 11:11:37 +04:00
|
|
|
NS_EVENT_CLASS(Internal, EditorInputEvent)
|
2013-10-18 10:10:20 +04:00
|
|
|
|
|
|
|
// MouseEvents.h
|
|
|
|
NS_EVENT_CLASS(Widget, MouseEventBase)
|
|
|
|
NS_EVENT_CLASS(Widget, MouseEvent)
|
|
|
|
NS_EVENT_CLASS(Widget, DragEvent)
|
|
|
|
NS_EVENT_CLASS(Widget, MouseScrollEvent)
|
|
|
|
NS_EVENT_CLASS(Widget, WheelEvent)
|
2013-11-21 09:44:22 +04:00
|
|
|
NS_EVENT_CLASS(Widget, PointerEvent)
|
2013-10-18 10:10:20 +04:00
|
|
|
|
|
|
|
// TouchEvents.h
|
|
|
|
NS_EVENT_CLASS(Widget, GestureNotifyEvent)
|
|
|
|
NS_EVENT_CLASS(Widget, SimpleGestureEvent)
|
|
|
|
NS_EVENT_CLASS(Widget, TouchEvent)
|
|
|
|
|
|
|
|
// ContentEvents.h
|
|
|
|
NS_EVENT_CLASS(Internal, ScrollPortEvent)
|
|
|
|
NS_EVENT_CLASS(Internal, ScrollAreaEvent)
|
|
|
|
NS_EVENT_CLASS(Internal, FormEvent)
|
|
|
|
NS_EVENT_CLASS(Internal, ClipboardEvent)
|
|
|
|
NS_EVENT_CLASS(Internal, FocusEvent)
|
|
|
|
NS_EVENT_CLASS(Internal, TransitionEvent)
|
|
|
|
NS_EVENT_CLASS(Internal, AnimationEvent)
|
2014-07-30 21:16:57 +04:00
|
|
|
NS_EVENT_CLASS(Internal, SVGZoomEvent)
|
|
|
|
NS_EVENT_CLASS(Internal, SMILTimeEvent)
|
2013-10-18 10:10:20 +04:00
|
|
|
|
|
|
|
// MiscEvents.h
|
|
|
|
NS_EVENT_CLASS(Widget, CommandEvent)
|
|
|
|
NS_EVENT_CLASS(Widget, ContentCommandEvent)
|
|
|
|
NS_EVENT_CLASS(Widget, PluginEvent)
|
|
|
|
|
2014-02-27 14:51:15 +04:00
|
|
|
// InternalMutationEvent.h (dom/events)
|
2013-10-18 10:10:20 +04:00
|
|
|
NS_EVENT_CLASS(Internal, MutationEvent)
|