webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
WebCore::PlatformEvent Class Reference

#include <PlatformEvent.h>

Inheritance diagram for WebCore::PlatformEvent:
WebCore::PlatformKeyboardEvent WebCore::PlatformKeyboardEvent WebCore::PlatformMouseEvent WebCore::PlatformMouseEvent WebCore::PlatformWheelEvent WebCore::PlatformWheelEvent WebCore::PlatformKeyboardEventBuilder WebCore::PlatformKeyboardEventBuilder WebKit::WebKit2PlatformKeyboardEvent WebCore::PlatformKeyboardEventBuilder WebCore::PlatformKeyboardEventBuilder WebKit::WebKit2PlatformKeyboardEvent WebCore::PlatformMouseEventBuilder WebCore::PlatformMouseEventBuilder WebKit::WebKit2PlatformMouseEvent WebCore::PlatformMouseEventBuilder WebCore::PlatformMouseEventBuilder WebKit::WebKit2PlatformMouseEvent WebCore::PlatformWheelEventBuilder WebCore::PlatformWheelEventBuilder WebKit::WebKit2PlatformWheelEvent WebCore::PlatformWheelEventBuilder WebCore::PlatformWheelEventBuilder WebKit::WebKit2PlatformWheelEvent

Public Types

enum  Type : uint8_t {
  NoType = 0, KeyDown, KeyUp, RawKeyDown,
  Char, MouseMoved, MousePressed, MouseReleased,
  MouseForceChanged, MouseForceDown, MouseForceUp, MouseScroll,
  Wheel, NoType = 0, KeyDown, KeyUp,
  RawKeyDown, Char, MouseMoved, MousePressed,
  MouseReleased, MouseForceChanged, MouseForceDown, MouseForceUp,
  MouseScroll, Wheel
}
 
enum  Modifier {
  Modifier::AltKey = 1 << 0, Modifier::CtrlKey = 1 << 1, Modifier::MetaKey = 1 << 2, Modifier::ShiftKey = 1 << 3,
  Modifier::CapsLockKey = 1 << 4, Modifier::AltKey = 1 << 0, Modifier::CtrlKey = 1 << 1, Modifier::MetaKey = 1 << 2,
  Modifier::ShiftKey = 1 << 3, Modifier::CapsLockKey = 1 << 4
}
 
enum  Type : uint8_t {
  NoType = 0, KeyDown, KeyUp, RawKeyDown,
  Char, MouseMoved, MousePressed, MouseReleased,
  MouseForceChanged, MouseForceDown, MouseForceUp, MouseScroll,
  Wheel, NoType = 0, KeyDown, KeyUp,
  RawKeyDown, Char, MouseMoved, MousePressed,
  MouseReleased, MouseForceChanged, MouseForceDown, MouseForceUp,
  MouseScroll, Wheel
}
 
enum  Modifier {
  Modifier::AltKey = 1 << 0, Modifier::CtrlKey = 1 << 1, Modifier::MetaKey = 1 << 2, Modifier::ShiftKey = 1 << 3,
  Modifier::CapsLockKey = 1 << 4, Modifier::AltKey = 1 << 0, Modifier::CtrlKey = 1 << 1, Modifier::MetaKey = 1 << 2,
  Modifier::ShiftKey = 1 << 3, Modifier::CapsLockKey = 1 << 4
}
 

Public Member Functions

Type type () const
 
bool shiftKey () const
 
bool ctrlKey () const
 
bool altKey () const
 
bool metaKey () const
 
OptionSet< Modifiermodifiers () const
 
double timestamp () const
 
Type type () const
 
bool shiftKey () const
 
bool ctrlKey () const
 
bool altKey () const
 
bool metaKey () const
 
OptionSet< Modifiermodifiers () const
 
double timestamp () const
 

Protected Member Functions

 PlatformEvent ()
 
 PlatformEvent (Type type)
 
 PlatformEvent (Type type, OptionSet< Modifier > modifiers, double timestamp)
 
 PlatformEvent (Type type, bool shiftKey, bool ctrlKey, bool altKey, bool metaKey, double timestamp)
 
 ~PlatformEvent ()
 
 PlatformEvent ()
 
 PlatformEvent (Type type)
 
 PlatformEvent (Type type, OptionSet< Modifier > modifiers, double timestamp)
 
 PlatformEvent (Type type, bool shiftKey, bool ctrlKey, bool altKey, bool metaKey, double timestamp)
 
 ~PlatformEvent ()
 

Protected Attributes

unsigned m_type
 
OptionSet< Modifierm_modifiers
 
double m_timestamp
 

Member Enumeration Documentation

◆ Modifier [1/2]

Enumerator
AltKey 
CtrlKey 
MetaKey 
ShiftKey 
CapsLockKey 
AltKey 
CtrlKey 
MetaKey 
ShiftKey 
CapsLockKey 

◆ Modifier [2/2]

Enumerator
AltKey 
CtrlKey 
MetaKey 
ShiftKey 
CapsLockKey 
AltKey 
CtrlKey 
MetaKey 
ShiftKey 
CapsLockKey 

◆ Type [1/2]

Enumerator
NoType 
KeyDown 
KeyUp 
RawKeyDown 
Char 
MouseMoved 
MousePressed 
MouseReleased 
MouseForceChanged 
MouseForceDown 
MouseForceUp 
MouseScroll 
Wheel 
NoType 
KeyDown 
KeyUp 
RawKeyDown 
Char 
MouseMoved 
MousePressed 
MouseReleased 
MouseForceChanged 
MouseForceDown 
MouseForceUp 
MouseScroll 
Wheel 

◆ Type [2/2]

Enumerator
NoType 
KeyDown 
KeyUp 
RawKeyDown 
Char 
MouseMoved 
MousePressed 
MouseReleased 
MouseForceChanged 
MouseForceDown 
MouseForceUp 
MouseScroll 
Wheel 
NoType 
KeyDown 
KeyUp 
RawKeyDown 
Char 
MouseMoved 
MousePressed 
MouseReleased 
MouseForceChanged 
MouseForceDown 
MouseForceUp 
MouseScroll 
Wheel 

Constructor & Destructor Documentation

◆ PlatformEvent() [1/8]

WebCore::PlatformEvent::PlatformEvent ( )
inlineprotected

◆ PlatformEvent() [2/8]

WebCore::PlatformEvent::PlatformEvent ( Type  type)
inlineexplicitprotected

◆ PlatformEvent() [3/8]

WebCore::PlatformEvent::PlatformEvent ( Type  type,
OptionSet< Modifier modifiers,
double  timestamp 
)
inlineprotected

◆ PlatformEvent() [4/8]

WebCore::PlatformEvent::PlatformEvent ( Type  type,
bool  shiftKey,
bool  ctrlKey,
bool  altKey,
bool  metaKey,
double  timestamp 
)
inlineprotected

◆ ~PlatformEvent() [1/2]

WebCore::PlatformEvent::~PlatformEvent ( )
inlineprotected

◆ PlatformEvent() [5/8]

WebCore::PlatformEvent::PlatformEvent ( )
inlineprotected

◆ PlatformEvent() [6/8]

WebCore::PlatformEvent::PlatformEvent ( Type  type)
inlineexplicitprotected

◆ PlatformEvent() [7/8]

WebCore::PlatformEvent::PlatformEvent ( Type  type,
OptionSet< Modifier modifiers,
double  timestamp 
)
inlineprotected

◆ PlatformEvent() [8/8]

WebCore::PlatformEvent::PlatformEvent ( Type  type,
bool  shiftKey,
bool  ctrlKey,
bool  altKey,
bool  metaKey,
double  timestamp 
)
inlineprotected

◆ ~PlatformEvent() [2/2]

WebCore::PlatformEvent::~PlatformEvent ( )
inlineprotected

Member Function Documentation

◆ altKey() [1/2]

bool WebCore::PlatformEvent::altKey ( ) const
inline

◆ altKey() [2/2]

bool WebCore::PlatformEvent::altKey ( ) const
inline

◆ ctrlKey() [1/2]

bool WebCore::PlatformEvent::ctrlKey ( ) const
inline

◆ ctrlKey() [2/2]

bool WebCore::PlatformEvent::ctrlKey ( ) const
inline

◆ metaKey() [1/2]

bool WebCore::PlatformEvent::metaKey ( ) const
inline

◆ metaKey() [2/2]

bool WebCore::PlatformEvent::metaKey ( ) const
inline

◆ modifiers() [1/2]

OptionSet<Modifier> WebCore::PlatformEvent::modifiers ( ) const
inline

◆ modifiers() [2/2]

OptionSet<Modifier> WebCore::PlatformEvent::modifiers ( ) const
inline

◆ shiftKey() [1/2]

bool WebCore::PlatformEvent::shiftKey ( ) const
inline

◆ shiftKey() [2/2]

bool WebCore::PlatformEvent::shiftKey ( ) const
inline

◆ timestamp() [1/2]

double WebCore::PlatformEvent::timestamp ( ) const
inline

◆ timestamp() [2/2]

double WebCore::PlatformEvent::timestamp ( ) const
inline

◆ type() [1/2]

Type WebCore::PlatformEvent::type ( ) const
inline

◆ type() [2/2]

Type WebCore::PlatformEvent::type ( ) const
inline

Member Data Documentation

◆ m_modifiers

OptionSet< Modifier > WebCore::PlatformEvent::m_modifiers
protected

◆ m_timestamp

double WebCore::PlatformEvent::m_timestamp
protected

◆ m_type

unsigned WebCore::PlatformEvent::m_type
protected

The documentation for this class was generated from the following file: