webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
WebKit::WebKit2PlatformMouseEvent Class Reference
Inheritance diagram for WebKit::WebKit2PlatformMouseEvent:
WebCore::PlatformMouseEvent WebCore::PlatformEvent WebCore::PlatformEvent

Public Member Functions

 WebKit2PlatformMouseEvent (const WebMouseEvent &webEvent)
 
- Public Member Functions inherited from WebCore::PlatformMouseEvent
 PlatformMouseEvent ()
 
 PlatformMouseEvent (const IntPoint &position, const IntPoint &globalPosition, MouseButton button, PlatformEvent::Type type, int clickCount, bool shiftKey, bool ctrlKey, bool altKey, bool metaKey, double timestamp, double force, SyntheticClickType syntheticClickType)
 
const IntPoint & position () const
 
const IntPoint & globalPosition () const
 
MouseButton button () const
 
int clickCount () const
 
unsigned modifierFlags () const
 
double force () const
 
SyntheticClickType syntheticClickType () const
 
 PlatformMouseEvent ()
 
 PlatformMouseEvent (const IntPoint &position, const IntPoint &globalPosition, MouseButton button, PlatformEvent::Type type, int clickCount, bool shiftKey, bool ctrlKey, bool altKey, bool metaKey, double timestamp, double force, SyntheticClickType syntheticClickType)
 
const IntPoint & position () const
 
const IntPoint & globalPosition () const
 
MouseButton button () const
 
int clickCount () const
 
unsigned modifierFlags () const
 
double force () const
 
SyntheticClickType syntheticClickType () const
 
- Public Member Functions inherited from WebCore::PlatformEvent
Type type () const
 
bool shiftKey () const
 
bool ctrlKey () const
 
bool altKey () const
 
bool metaKey () const
 
OptionSet< Modifier > modifiers () const
 
double timestamp () const
 
Type type () const
 
bool shiftKey () const
 
bool ctrlKey () const
 
bool altKey () const
 
bool metaKey () const
 
OptionSet< Modifier > modifiers () const
 
double timestamp () const
 

Additional Inherited Members

- Public Types inherited from WebCore::PlatformEvent
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
}
 
- Protected Member Functions inherited from WebCore::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 ()
 
 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 inherited from WebCore::PlatformMouseEvent
IntPoint m_position
 
IntPoint m_globalPosition
 
MouseButton m_button
 
int m_clickCount
 
unsigned m_modifierFlags
 
double m_force { 0 }
 
SyntheticClickType m_syntheticClickType { NoTap }
 
- Protected Attributes inherited from WebCore::PlatformEvent
unsigned m_type
 
OptionSet< Modifier > m_modifiers
 
double m_timestamp
 

Constructor & Destructor Documentation

◆ WebKit2PlatformMouseEvent()

WebKit::WebKit2PlatformMouseEvent::WebKit2PlatformMouseEvent ( const WebMouseEvent &  webEvent)
inline

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