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

Public Member Functions

 PlatformMouseEventBuilder (WebEvent *event)
 
 PlatformMouseEventBuilder (NSEvent *event, NSEvent *correspondingPressureEvent, NSView *windowView)
 
- 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 IntPointposition () const
 
const IntPointglobalPosition () 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 IntPointposition () const
 
const IntPointglobalPosition () 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< 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
 

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< Modifierm_modifiers
 
double m_timestamp
 

Constructor & Destructor Documentation

◆ PlatformMouseEventBuilder() [1/2]

WebCore::PlatformMouseEventBuilder::PlatformMouseEventBuilder ( WebEvent *  event)
inline

◆ PlatformMouseEventBuilder() [2/2]

WebCore::PlatformMouseEventBuilder::PlatformMouseEventBuilder ( NSEvent event,
NSEvent correspondingPressureEvent,
NSView windowView 
)
inline

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