LCOV - code coverage report
Current view: top level - widget - EventMessageList.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 242 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 0 -
Legend: Lines: hit not hit

          Line data    Source code
       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/. */
       5             : 
       6             : /**
       7             :  * This header file lists up all event messages.
       8             :  * Before including this header file, you should define:
       9             :  * NS_EVENT_MESSAGE(aMessage)
      10             :  *
      11             :  * Additionally, you can specify following macro for e*First and e*Last.
      12             :  * NS_EVENT_MESSAGE_FIRST_LAST(aMessage, aFirst, aLast)
      13             :  * This is optional, if you need only actual event messages, you don't need
      14             :  * to define this macro.
      15             :  *
      16             :  * Naming rules of the event messages:
      17             :  * 0. Starting with "e" prefix and use camelcase.
      18             :  * 1. Basically, use same name as the DOM name which is fired at dispatching
      19             :  *    the event.
      20             :  * 2. If the event message name becomes too generic, e.g., "eInvalid", that may
      21             :  *    conflict with another enum's item name, append something after the "e"
      22             :  *    prefix, e.g., "eFormInvalid".
      23             :  */
      24             : 
      25             : #ifndef NS_EVENT_MESSAGE_FIRST_LAST
      26             : #define UNDEF_NS_EVENT_MESSAGE_FIRST_LAST 1
      27             : #define NS_EVENT_MESSAGE_FIRST_LAST(aMessage, aFirst, aLast)
      28             : #endif
      29             : 
      30           0 : NS_EVENT_MESSAGE(eVoidEvent)
      31             : 
      32             : // This is a dummy event message for all event listener implementation in
      33             : // EventListenerManager.
      34           0 : NS_EVENT_MESSAGE(eAllEvents)
      35             : 
      36             : // Widget may be destroyed
      37           0 : NS_EVENT_MESSAGE(eWindowClose)
      38             : 
      39           0 : NS_EVENT_MESSAGE(eKeyPress)
      40           0 : NS_EVENT_MESSAGE(eKeyUp)
      41           0 : NS_EVENT_MESSAGE(eKeyDown)
      42             : 
      43             : // These messages are dispatched when PluginInstaceChild receives native
      44             : // keyboard events directly and it posts the information to the widget.
      45             : // These messages shouldn't be handled by content and non-reserved chrome
      46             : // event handlers.
      47           0 : NS_EVENT_MESSAGE(eKeyDownOnPlugin)
      48           0 : NS_EVENT_MESSAGE(eKeyUpOnPlugin)
      49             : 
      50             : // This message is sent after a content process handles a key event or accesskey
      51             : // to indicate that an potential accesskey was not found. The parent process may
      52             : // then respond by, for example, opening menus and processing other shortcuts.
      53             : // It inherits its properties from a keypress event.
      54           0 : NS_EVENT_MESSAGE(eAccessKeyNotFound)
      55             : 
      56           0 : NS_EVENT_MESSAGE(eResize)
      57           0 : NS_EVENT_MESSAGE(eScroll)
      58             : 
      59             : // Application installation
      60           0 : NS_EVENT_MESSAGE(eInstall)
      61           0 : NS_EVENT_MESSAGE(eAppInstalled)
      62             : 
      63             : // A plugin was clicked or otherwise focused. ePluginActivate should be
      64             : // used when the window is not active. ePluginFocus should be used when
      65             : // the window is active. In the latter case, the dispatcher of the event
      66             : // is expected to ensure that the plugin's widget is focused beforehand.
      67           0 : NS_EVENT_MESSAGE(ePluginActivate)
      68           0 : NS_EVENT_MESSAGE(ePluginFocus)
      69             : 
      70           0 : NS_EVENT_MESSAGE(eOffline)
      71           0 : NS_EVENT_MESSAGE(eOnline)
      72             : 
      73           0 : NS_EVENT_MESSAGE(eLanguageChange)
      74             : 
      75           0 : NS_EVENT_MESSAGE(eMouseMove)
      76           0 : NS_EVENT_MESSAGE(eMouseUp)
      77           0 : NS_EVENT_MESSAGE(eMouseDown)
      78           0 : NS_EVENT_MESSAGE(eMouseEnterIntoWidget)
      79           0 : NS_EVENT_MESSAGE(eMouseExitFromWidget)
      80           0 : NS_EVENT_MESSAGE(eMouseDoubleClick)
      81           0 : NS_EVENT_MESSAGE(eMouseClick)
      82           0 : NS_EVENT_MESSAGE(eMouseAuxClick)
      83             : // eMouseActivate is fired when the widget is activated by a click.
      84           0 : NS_EVENT_MESSAGE(eMouseActivate)
      85           0 : NS_EVENT_MESSAGE(eMouseOver)
      86           0 : NS_EVENT_MESSAGE(eMouseOut)
      87           0 : NS_EVENT_MESSAGE(eMouseHitTest)
      88           0 : NS_EVENT_MESSAGE(eMouseEnter)
      89           0 : NS_EVENT_MESSAGE(eMouseLeave)
      90           0 : NS_EVENT_MESSAGE(eMouseTouchDrag)
      91           0 : NS_EVENT_MESSAGE(eMouseLongTap)
      92             : NS_EVENT_MESSAGE_FIRST_LAST(eMouseEvent, eMouseMove, eMouseLongTap)
      93             : 
      94             : // Pointer spec events
      95           0 : NS_EVENT_MESSAGE(ePointerMove)
      96           0 : NS_EVENT_MESSAGE(ePointerUp)
      97           0 : NS_EVENT_MESSAGE(ePointerDown)
      98           0 : NS_EVENT_MESSAGE(ePointerOver)
      99           0 : NS_EVENT_MESSAGE(ePointerOut)
     100           0 : NS_EVENT_MESSAGE(ePointerEnter)
     101           0 : NS_EVENT_MESSAGE(ePointerLeave)
     102           0 : NS_EVENT_MESSAGE(ePointerCancel)
     103           0 : NS_EVENT_MESSAGE(ePointerGotCapture)
     104           0 : NS_EVENT_MESSAGE(ePointerLostCapture)
     105             : NS_EVENT_MESSAGE_FIRST_LAST(ePointerEvent, ePointerMove, ePointerLostCapture)
     106             : 
     107           0 : NS_EVENT_MESSAGE(eContextMenu)
     108             : 
     109           0 : NS_EVENT_MESSAGE(eLoad)
     110           0 : NS_EVENT_MESSAGE(eUnload)
     111           0 : NS_EVENT_MESSAGE(eHashChange)
     112           0 : NS_EVENT_MESSAGE(eImageAbort)
     113           0 : NS_EVENT_MESSAGE(eLoadError)
     114           0 : NS_EVENT_MESSAGE(eLoadEnd)
     115           0 : NS_EVENT_MESSAGE(ePopState)
     116           0 : NS_EVENT_MESSAGE(eStorage)
     117           0 : NS_EVENT_MESSAGE(eBeforeUnload)
     118           0 : NS_EVENT_MESSAGE(eReadyStateChange)
     119             : 
     120           0 : NS_EVENT_MESSAGE(eFormSubmit)
     121           0 : NS_EVENT_MESSAGE(eFormReset)
     122           0 : NS_EVENT_MESSAGE(eFormChange)
     123           0 : NS_EVENT_MESSAGE(eFormSelect)
     124           0 : NS_EVENT_MESSAGE(eFormInvalid)
     125           0 : NS_EVENT_MESSAGE(eFormCheckboxStateChange)
     126           0 : NS_EVENT_MESSAGE(eFormRadioStateChange)
     127             : 
     128             : //Need separate focus/blur notifications for non-native widgets
     129           0 : NS_EVENT_MESSAGE(eFocus)
     130           0 : NS_EVENT_MESSAGE(eBlur)
     131           0 : NS_EVENT_MESSAGE(eFocusIn)
     132           0 : NS_EVENT_MESSAGE(eFocusOut)
     133             : 
     134           0 : NS_EVENT_MESSAGE(eDragEnter)
     135           0 : NS_EVENT_MESSAGE(eDragOver)
     136           0 : NS_EVENT_MESSAGE(eDragExit)
     137           0 : NS_EVENT_MESSAGE(eDrag)
     138           0 : NS_EVENT_MESSAGE(eDragEnd)
     139           0 : NS_EVENT_MESSAGE(eDragStart)
     140           0 : NS_EVENT_MESSAGE(eDrop)
     141           0 : NS_EVENT_MESSAGE(eDragLeave)
     142             : NS_EVENT_MESSAGE_FIRST_LAST(eDragDropEvent, eDragEnter, eDragLeave)
     143             : 
     144             : // XUL specific events
     145           0 : NS_EVENT_MESSAGE(eXULPopupShowing)
     146           0 : NS_EVENT_MESSAGE(eXULPopupShown)
     147           0 : NS_EVENT_MESSAGE(eXULPopupPositioned)
     148           0 : NS_EVENT_MESSAGE(eXULPopupHiding)
     149           0 : NS_EVENT_MESSAGE(eXULPopupHidden)
     150           0 : NS_EVENT_MESSAGE(eXULBroadcast)
     151           0 : NS_EVENT_MESSAGE(eXULCommandUpdate)
     152             : 
     153             : // Legacy mouse scroll (wheel) events
     154           0 : NS_EVENT_MESSAGE(eLegacyMouseLineOrPageScroll)
     155           0 : NS_EVENT_MESSAGE(eLegacyMousePixelScroll)
     156             : 
     157           0 : NS_EVENT_MESSAGE(eScrollPortUnderflow)
     158           0 : NS_EVENT_MESSAGE(eScrollPortOverflow)
     159             : 
     160           0 : NS_EVENT_MESSAGE(eLegacySubtreeModified)
     161           0 : NS_EVENT_MESSAGE(eLegacyNodeInserted)
     162           0 : NS_EVENT_MESSAGE(eLegacyNodeRemoved)
     163           0 : NS_EVENT_MESSAGE(eLegacyNodeRemovedFromDocument)
     164           0 : NS_EVENT_MESSAGE(eLegacyNodeInsertedIntoDocument)
     165           0 : NS_EVENT_MESSAGE(eLegacyAttrModified)
     166           0 : NS_EVENT_MESSAGE(eLegacyCharacterDataModified)
     167             : NS_EVENT_MESSAGE_FIRST_LAST(eLegacyMutationEvent,
     168             :   eLegacySubtreeModified, eLegacyCharacterDataModified)
     169             : 
     170           0 : NS_EVENT_MESSAGE(eUnidentifiedEvent)
     171             : 
     172             : // composition events
     173           0 : NS_EVENT_MESSAGE(eCompositionStart)
     174             : // eCompositionEnd is the message for DOM compositionend event.
     175             : // This event should NOT be dispatched from widget if eCompositionCommit
     176             : // is available.
     177           0 : NS_EVENT_MESSAGE(eCompositionEnd)
     178             : // eCompositionUpdate is the message for DOM compositionupdate event.
     179             : // This event should NOT be dispatched from widget since it will be dispatched
     180             : // by mozilla::TextComposition automatically if eCompositionChange event
     181             : // will change composition string.
     182           0 : NS_EVENT_MESSAGE(eCompositionUpdate)
     183             : // eCompositionChange is the message for representing a change of
     184             : // composition string.  This should be dispatched from widget even if
     185             : // composition string isn't changed but the ranges are changed.  This causes
     186             : // a DOM "text" event which is a non-standard DOM event.
     187           0 : NS_EVENT_MESSAGE(eCompositionChange)
     188             : // eCompositionCommitAsIs is the message for representing a commit of
     189             : // composition string.  TextComposition will commit composition with the
     190             : // last data.  TextComposition will dispatch this event to the DOM tree as
     191             : // eCompositionChange without clause information.  After that,
     192             : // eCompositionEnd will be dispatched automatically.
     193             : // Its mData and mRanges should be empty and nullptr.
     194           0 : NS_EVENT_MESSAGE(eCompositionCommitAsIs)
     195             : // eCompositionCommit is the message for representing a commit of
     196             : // composition string with its mData value.  TextComposition will dispatch this
     197             : // event to the DOM tree as eCompositionChange without clause information.
     198             : // After that, eCompositionEnd will be dispatched automatically.
     199             : // Its mRanges should be nullptr.
     200           0 : NS_EVENT_MESSAGE(eCompositionCommit)
     201             : // eCompositionCommitRequestHandled is NOT used with any Widget*Event.
     202             : // This is used only by PBrowser.OnEventNeedingAckHandled().  If active IME
     203             : // commits composition synchronously, TabParent returns the commit string
     204             : // to the remote process synchronously.  Then, TabChild dispatches
     205             : // eCompositionCommit in the remote process.  Finally, this message is sent
     206             : // to TabParent.  (If IME commits composition asynchronously, this message is
     207             : // not used.)
     208           0 : NS_EVENT_MESSAGE(eCompositionCommitRequestHandled)
     209             : 
     210             : // Following events are defined for deprecated DOM events which are using
     211             : // InternalUIEvent class.
     212             : // DOMActivate (mapped with the DOM event and used internally)
     213           0 : NS_EVENT_MESSAGE(eLegacyDOMActivate)
     214             : // DOMFocusIn (only mapped with the DOM event)
     215           0 : NS_EVENT_MESSAGE(eLegacyDOMFocusIn)
     216             : // DOMFocusOut (only mapped with the DOM event)
     217           0 : NS_EVENT_MESSAGE(eLegacyDOMFocusOut)
     218             : 
     219             : // pagetransition events
     220           0 : NS_EVENT_MESSAGE(ePageShow)
     221           0 : NS_EVENT_MESSAGE(ePageHide)
     222             : 
     223             : // SVG events
     224           0 : NS_EVENT_MESSAGE(eSVGLoad)
     225           0 : NS_EVENT_MESSAGE(eSVGUnload)
     226           0 : NS_EVENT_MESSAGE(eSVGResize)
     227           0 : NS_EVENT_MESSAGE(eSVGScroll)
     228             : 
     229             : // SVG Zoom events
     230           0 : NS_EVENT_MESSAGE(eSVGZoom)
     231             : 
     232             : // XUL command events
     233           0 : NS_EVENT_MESSAGE(eXULCommand)
     234             : 
     235             : // Cut, copy, paste events
     236           0 : NS_EVENT_MESSAGE(eCopy)
     237           0 : NS_EVENT_MESSAGE(eCut)
     238           0 : NS_EVENT_MESSAGE(ePaste)
     239           0 : NS_EVENT_MESSAGE(ePasteNoFormatting)
     240             : 
     241             : // Query for the selected text information, it return the selection offset,
     242             : // selection length and selected text.
     243           0 : NS_EVENT_MESSAGE(eQuerySelectedText)
     244             : // Query for the text content of specified range, it returns actual lengh (if
     245             : // the specified range is too long) and the text of the specified range.
     246             : // Returns the entire text if requested length > actual length.
     247           0 : NS_EVENT_MESSAGE(eQueryTextContent)
     248             : // Query for the caret rect of nth insertion point. The offset of the result is
     249             : // relative position from the top level widget.
     250           0 : NS_EVENT_MESSAGE(eQueryCaretRect)
     251             : // Query for the bounding rect of a range of characters. This works on any
     252             : // valid character range given offset and length. Result is relative to top
     253             : // level widget coordinates
     254           0 : NS_EVENT_MESSAGE(eQueryTextRect)
     255             : // Query for the bounding rect array of a range of characters.
     256             : // Thiis similar event of eQueryTextRect.
     257           0 : NS_EVENT_MESSAGE(eQueryTextRectArray)
     258             : // Query for the bounding rect of the current focused frame. Result is relative
     259             : // to top level widget coordinates
     260           0 : NS_EVENT_MESSAGE(eQueryEditorRect)
     261             : // Query for the current state of the content. The particular members of
     262             : // mReply that are set for each query content event will be valid on success.
     263           0 : NS_EVENT_MESSAGE(eQueryContentState)
     264             : // Query for the selection in the form of a nsITransferable.
     265           0 : NS_EVENT_MESSAGE(eQuerySelectionAsTransferable)
     266             : // Query for character at a point.  This returns the character offset, its
     267             : // rect and also tentative caret point if the point is clicked.  The point is
     268             : // specified by Event::mRefPoint.
     269           0 : NS_EVENT_MESSAGE(eQueryCharacterAtPoint)
     270             : // Query if the DOM element under Event::mRefPoint belongs to our widget
     271             : // or not.
     272           0 : NS_EVENT_MESSAGE(eQueryDOMWidgetHittest)
     273             : 
     274             : // Video events
     275           0 : NS_EVENT_MESSAGE(eLoadStart)
     276           0 : NS_EVENT_MESSAGE(eProgress)
     277           0 : NS_EVENT_MESSAGE(eSuspend)
     278           0 : NS_EVENT_MESSAGE(eEmptied)
     279           0 : NS_EVENT_MESSAGE(eStalled)
     280           0 : NS_EVENT_MESSAGE(ePlay)
     281           0 : NS_EVENT_MESSAGE(ePause)
     282           0 : NS_EVENT_MESSAGE(eLoadedMetaData)
     283           0 : NS_EVENT_MESSAGE(eLoadedData)
     284           0 : NS_EVENT_MESSAGE(eWaiting)
     285           0 : NS_EVENT_MESSAGE(ePlaying)
     286           0 : NS_EVENT_MESSAGE(eCanPlay)
     287           0 : NS_EVENT_MESSAGE(eCanPlayThrough)
     288           0 : NS_EVENT_MESSAGE(eSeeking)
     289           0 : NS_EVENT_MESSAGE(eSeeked)
     290           0 : NS_EVENT_MESSAGE(eTimeUpdate)
     291           0 : NS_EVENT_MESSAGE(eEnded)
     292           0 : NS_EVENT_MESSAGE(eRateChange)
     293           0 : NS_EVENT_MESSAGE(eDurationChange)
     294           0 : NS_EVENT_MESSAGE(eVolumeChange)
     295             : 
     296             : // paint notification events
     297           0 : NS_EVENT_MESSAGE(eAfterPaint)
     298             : 
     299             : // Simple gesture events
     300           0 : NS_EVENT_MESSAGE(eSwipeGestureMayStart)
     301           0 : NS_EVENT_MESSAGE(eSwipeGestureStart)
     302           0 : NS_EVENT_MESSAGE(eSwipeGestureUpdate)
     303           0 : NS_EVENT_MESSAGE(eSwipeGestureEnd)
     304           0 : NS_EVENT_MESSAGE(eSwipeGesture)
     305           0 : NS_EVENT_MESSAGE(eMagnifyGestureStart)
     306           0 : NS_EVENT_MESSAGE(eMagnifyGestureUpdate)
     307           0 : NS_EVENT_MESSAGE(eMagnifyGesture)
     308           0 : NS_EVENT_MESSAGE(eRotateGestureStart)
     309           0 : NS_EVENT_MESSAGE(eRotateGestureUpdate)
     310           0 : NS_EVENT_MESSAGE(eRotateGesture)
     311           0 : NS_EVENT_MESSAGE(eTapGesture)
     312           0 : NS_EVENT_MESSAGE(ePressTapGesture)
     313           0 : NS_EVENT_MESSAGE(eEdgeUIStarted)
     314           0 : NS_EVENT_MESSAGE(eEdgeUICanceled)
     315           0 : NS_EVENT_MESSAGE(eEdgeUICompleted)
     316             : 
     317             : // These are used to send native events to plugins.
     318           0 : NS_EVENT_MESSAGE(ePluginInputEvent)
     319             : 
     320             : // Events to manipulate selection (WidgetSelectionEvent)
     321             : // Clear any previous selection and set the given range as the selection
     322           0 : NS_EVENT_MESSAGE(eSetSelection)
     323             : 
     324             : // Events of commands for the contents
     325           0 : NS_EVENT_MESSAGE(eContentCommandCut)
     326           0 : NS_EVENT_MESSAGE(eContentCommandCopy)
     327           0 : NS_EVENT_MESSAGE(eContentCommandPaste)
     328           0 : NS_EVENT_MESSAGE(eContentCommandDelete)
     329           0 : NS_EVENT_MESSAGE(eContentCommandUndo)
     330           0 : NS_EVENT_MESSAGE(eContentCommandRedo)
     331           0 : NS_EVENT_MESSAGE(eContentCommandPasteTransferable)
     332           0 : NS_EVENT_MESSAGE(eContentCommandLookUpDictionary)
     333             : // eContentCommandScroll scrolls the nearest scrollable element to the
     334             : // currently focused content or latest DOM selection. This would normally be
     335             : // the same element scrolled by keyboard scroll commands, except that this event
     336             : // will scroll an element scrollable in either direction.  I.e., if the nearest
     337             : // scrollable ancestor element can only be scrolled vertically, and horizontal
     338             : // scrolling is requested using this event, no scrolling will occur.
     339           0 : NS_EVENT_MESSAGE(eContentCommandScroll)
     340             : 
     341             : // Event to gesture notification
     342           0 : NS_EVENT_MESSAGE(eGestureNotify)
     343             : 
     344           0 : NS_EVENT_MESSAGE(eScrolledAreaChanged)
     345             : 
     346             : // CSS Transition & Animation events:
     347           0 : NS_EVENT_MESSAGE(eTransitionStart)
     348           0 : NS_EVENT_MESSAGE(eTransitionRun)
     349           0 : NS_EVENT_MESSAGE(eTransitionEnd)
     350           0 : NS_EVENT_MESSAGE(eTransitionCancel)
     351           0 : NS_EVENT_MESSAGE(eAnimationStart)
     352           0 : NS_EVENT_MESSAGE(eAnimationEnd)
     353           0 : NS_EVENT_MESSAGE(eAnimationIteration)
     354           0 : NS_EVENT_MESSAGE(eAnimationCancel)
     355             : 
     356             : // Webkit-prefixed versions of Transition & Animation events, for web compat:
     357           0 : NS_EVENT_MESSAGE(eWebkitTransitionEnd)
     358           0 : NS_EVENT_MESSAGE(eWebkitAnimationStart)
     359           0 : NS_EVENT_MESSAGE(eWebkitAnimationEnd)
     360           0 : NS_EVENT_MESSAGE(eWebkitAnimationIteration)
     361             : 
     362           0 : NS_EVENT_MESSAGE(eSMILBeginEvent)
     363           0 : NS_EVENT_MESSAGE(eSMILEndEvent)
     364           0 : NS_EVENT_MESSAGE(eSMILRepeatEvent)
     365             : 
     366           0 : NS_EVENT_MESSAGE(eAudioProcess)
     367           0 : NS_EVENT_MESSAGE(eAudioComplete)
     368             : 
     369             : // script notification events
     370           0 : NS_EVENT_MESSAGE(eBeforeScriptExecute)
     371           0 : NS_EVENT_MESSAGE(eAfterScriptExecute)
     372             : 
     373           0 : NS_EVENT_MESSAGE(eBeforePrint)
     374           0 : NS_EVENT_MESSAGE(eAfterPrint)
     375             : 
     376           0 : NS_EVENT_MESSAGE(eMessage)
     377             : 
     378             : // Menu open event
     379           0 : NS_EVENT_MESSAGE(eOpen)
     380             : 
     381             : // Device motion and orientation
     382           0 : NS_EVENT_MESSAGE(eDeviceOrientation)
     383           0 : NS_EVENT_MESSAGE(eAbsoluteDeviceOrientation)
     384           0 : NS_EVENT_MESSAGE(eDeviceMotion)
     385           0 : NS_EVENT_MESSAGE(eDeviceProximity)
     386           0 : NS_EVENT_MESSAGE(eUserProximity)
     387           0 : NS_EVENT_MESSAGE(eDeviceLight)
     388             : #if defined(MOZ_WIDGET_ANDROID) || defined(MOZ_WIDGET_GONK)
     389             : NS_EVENT_MESSAGE(eOrientationChange)
     390             : #endif
     391             : 
     392             : // WebVR events
     393           0 : NS_EVENT_MESSAGE(eVRDisplayActivate)
     394           0 : NS_EVENT_MESSAGE(eVRDisplayDeactivate)
     395           0 : NS_EVENT_MESSAGE(eVRDisplayConnect)
     396           0 : NS_EVENT_MESSAGE(eVRDisplayDisconnect)
     397           0 : NS_EVENT_MESSAGE(eVRDisplayPresentChange)
     398             : 
     399           0 : NS_EVENT_MESSAGE(eShow)
     400             : 
     401             : // Fullscreen DOM API
     402           0 : NS_EVENT_MESSAGE(eFullscreenChange)
     403           0 : NS_EVENT_MESSAGE(eFullscreenError)
     404           0 : NS_EVENT_MESSAGE(eMozFullscreenChange)
     405           0 : NS_EVENT_MESSAGE(eMozFullscreenError)
     406             : 
     407           0 : NS_EVENT_MESSAGE(eTouchStart)
     408           0 : NS_EVENT_MESSAGE(eTouchMove)
     409           0 : NS_EVENT_MESSAGE(eTouchEnd)
     410           0 : NS_EVENT_MESSAGE(eTouchCancel)
     411           0 : NS_EVENT_MESSAGE(eTouchPointerCancel)
     412             : 
     413             : // Pointerlock DOM API
     414           0 : NS_EVENT_MESSAGE(ePointerLockChange)
     415           0 : NS_EVENT_MESSAGE(ePointerLockError)
     416           0 : NS_EVENT_MESSAGE(eMozPointerLockChange)
     417           0 : NS_EVENT_MESSAGE(eMozPointerLockError)
     418             : 
     419             : // eWheel is the event message of DOM wheel event.
     420           0 : NS_EVENT_MESSAGE(eWheel)
     421             : // eWheelOperationStart may be dispatched when user starts to operate mouse
     422             : // wheel.  This won't be fired on some platforms which don't have corresponding
     423             : // native event.
     424           0 : NS_EVENT_MESSAGE(eWheelOperationStart)
     425             : // eWheelOperationEnd may be dispatched when user ends or cancels operating
     426             : // mouse wheel.  This won't be fired on some platforms which don't have
     427             : // corresponding native event.
     428           0 : NS_EVENT_MESSAGE(eWheelOperationEnd)
     429             : 
     430             : //System time is changed
     431           0 : NS_EVENT_MESSAGE(eTimeChange)
     432             : 
     433             : // Network packet events.
     434           0 : NS_EVENT_MESSAGE(eNetworkUpload)
     435           0 : NS_EVENT_MESSAGE(eNetworkDownload)
     436             : 
     437             : // MediaRecorder events.
     438           0 : NS_EVENT_MESSAGE(eMediaRecorderDataAvailable)
     439           0 : NS_EVENT_MESSAGE(eMediaRecorderWarning)
     440           0 : NS_EVENT_MESSAGE(eMediaRecorderStop)
     441             : 
     442             : // Gamepad input events
     443           0 : NS_EVENT_MESSAGE(eGamepadButtonDown)
     444           0 : NS_EVENT_MESSAGE(eGamepadButtonUp)
     445           0 : NS_EVENT_MESSAGE(eGamepadAxisMove)
     446           0 : NS_EVENT_MESSAGE(eGamepadConnected)
     447           0 : NS_EVENT_MESSAGE(eGamepadDisconnected)
     448             : NS_EVENT_MESSAGE_FIRST_LAST(eGamepadEvent,
     449             :                             eGamepadButtonDown, eGamepadDisconnected)
     450             : 
     451             : // input and beforeinput events.
     452           0 : NS_EVENT_MESSAGE(eEditorInput)
     453             : 
     454             : // selection events
     455           0 : NS_EVENT_MESSAGE(eSelectStart)
     456           0 : NS_EVENT_MESSAGE(eSelectionChange)
     457             : 
     458             : // Details element events.
     459           0 : NS_EVENT_MESSAGE(eToggle)
     460             : 
     461             : // Dialog element events.
     462           0 : NS_EVENT_MESSAGE(eClose)
     463             : 
     464             : #ifdef UNDEF_NS_EVENT_MESSAGE_FIRST_LAST
     465             : #undef UNDEF_NS_EVENT_MESSAGE_FIRST_LAST
     466             : #undef NS_EVENT_MESSAGE_FIRST_LAST
     467             : #endif

Generated by: LCOV version 1.13