LCOV - code coverage report
Current view: top level - widget - EventClassList.h (source / functions) Hit Total Coverage
Test: output.info Lines: 5 30 16.7 %
Date: 2017-07-14 16:53:18 Functions: 6 58 10.3 %
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 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)
      15             :  */
      16             : 
      17             : // BasicEvents.h
      18           0 : NS_ROOT_EVENT_CLASS(Widget, Event)
      19          54 : NS_EVENT_CLASS(Widget, GUIEvent)
      20           0 : NS_EVENT_CLASS(Widget, InputEvent)
      21           0 : NS_EVENT_CLASS(Internal, UIEvent)
      22             : 
      23             : // TextEvents.h
      24          10 : NS_EVENT_CLASS(Widget, KeyboardEvent)
      25           0 : NS_EVENT_CLASS(Widget, CompositionEvent)
      26           0 : NS_EVENT_CLASS(Widget, QueryContentEvent)
      27           0 : NS_EVENT_CLASS(Widget, SelectionEvent)
      28           0 : NS_EVENT_CLASS(Internal, EditorInputEvent)
      29             : 
      30             : // MouseEvents.h
      31           0 : NS_EVENT_CLASS(Widget, MouseEventBase)
      32          77 : NS_EVENT_CLASS(Widget, MouseEvent)
      33           0 : NS_EVENT_CLASS(Widget, DragEvent)
      34           0 : NS_EVENT_CLASS(Widget, MouseScrollEvent)
      35           0 : NS_EVENT_CLASS(Widget, WheelEvent)
      36          13 : NS_EVENT_CLASS(Widget, PointerEvent)
      37             : 
      38             : // TouchEvents.h
      39           0 : NS_EVENT_CLASS(Widget, GestureNotifyEvent)
      40           0 : NS_EVENT_CLASS(Widget, SimpleGestureEvent)
      41          21 : NS_EVENT_CLASS(Widget, TouchEvent)
      42             : 
      43             : // ContentEvents.h
      44           0 : NS_EVENT_CLASS(Internal, ScrollPortEvent)
      45           0 : NS_EVENT_CLASS(Internal, ScrollAreaEvent)
      46           0 : NS_EVENT_CLASS(Internal, FormEvent)
      47           0 : NS_EVENT_CLASS(Internal, ClipboardEvent)
      48           0 : NS_EVENT_CLASS(Internal, FocusEvent)
      49           0 : NS_EVENT_CLASS(Internal, TransitionEvent)
      50           0 : NS_EVENT_CLASS(Internal, AnimationEvent)
      51           0 : NS_EVENT_CLASS(Internal, SMILTimeEvent)
      52             : 
      53             : // MiscEvents.h
      54           0 : NS_EVENT_CLASS(Widget, CommandEvent)
      55           0 : NS_EVENT_CLASS(Widget, ContentCommandEvent)
      56           0 : NS_EVENT_CLASS(Widget, PluginEvent)
      57             : 
      58             : // InternalMutationEvent.h (dom/events)
      59           0 : NS_EVENT_CLASS(Internal, MutationEvent)

Generated by: LCOV version 1.13