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

Public Member Functions

 PlatformWheelEventBuilder (WebEvent *event)
 
 PlatformWheelEventBuilder (NSEvent *event, NSView *windowView)
 
- Public Member Functions inherited from WebCore::PlatformWheelEvent
 PlatformWheelEvent ()
 
 PlatformWheelEvent (IntPoint position, IntPoint globalPosition, float deltaX, float deltaY, float wheelTicksX, float wheelTicksY, PlatformWheelEventGranularity granularity, bool shiftKey, bool ctrlKey, bool altKey, bool metaKey)
 
PlatformWheelEvent copyTurningVerticalTicksIntoHorizontalTicks () const
 
PlatformWheelEvent copyWithDeltasAndVelocity (float deltaX, float deltaY, const FloatSize &velocity) const
 
const IntPointposition () const
 
const IntPointglobalPosition () const
 
float deltaX () const
 
float deltaY () const
 
float wheelTicksX () const
 
float wheelTicksY () const
 
PlatformWheelEventGranularity granularity () const
 
bool directionInvertedFromDevice () const
 
const FloatSizescrollingVelocity () const
 
bool useLatchedEventElement () const
 
 PlatformWheelEvent ()
 
 PlatformWheelEvent (IntPoint position, IntPoint globalPosition, float deltaX, float deltaY, float wheelTicksX, float wheelTicksY, PlatformWheelEventGranularity granularity, bool shiftKey, bool ctrlKey, bool altKey, bool metaKey)
 
PlatformWheelEvent copyTurningVerticalTicksIntoHorizontalTicks () const
 
PlatformWheelEvent copyWithDeltasAndVelocity (float deltaX, float deltaY, const FloatSize &velocity) const
 
const IntPointposition () const
 
const IntPointglobalPosition () const
 
float deltaX () const
 
float deltaY () const
 
float wheelTicksX () const
 
float wheelTicksY () const
 
PlatformWheelEventGranularity granularity () const
 
bool directionInvertedFromDevice () const
 
const FloatSizescrollingVelocity () const
 
bool useLatchedEventElement () 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::PlatformWheelEvent
IntPoint m_position
 
IntPoint m_globalPosition
 
float m_deltaX { 0 }
 
float m_deltaY { 0 }
 
float m_wheelTicksX { 0 }
 
float m_wheelTicksY { 0 }
 
PlatformWheelEventGranularity m_granularity { ScrollByPixelWheelEvent }
 
bool m_directionInvertedFromDevice { false }
 
FloatSize m_scrollingVelocity
 
- Protected Attributes inherited from WebCore::PlatformEvent
unsigned m_type
 
OptionSet< Modifierm_modifiers
 
double m_timestamp
 

Constructor & Destructor Documentation

◆ PlatformWheelEventBuilder() [1/2]

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

◆ PlatformWheelEventBuilder() [2/2]

WebCore::PlatformWheelEventBuilder::PlatformWheelEventBuilder ( NSEvent event,
NSView windowView 
)
inline

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