webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Static Public Member Functions | List of all members
WebKit::WebWheelEvent Class Reference

#include <WebEvent.h>

Inheritance diagram for WebKit::WebWheelEvent:
WebKit::WebEvent WebKit::NativeWebWheelEvent

Public Types

enum  Granularity { ScrollByPageWheelEvent, ScrollByPixelWheelEvent }
 
- Public Types inherited from WebKit::WebEvent
enum  Type {
  NoType = -1, MouseDown, MouseUp, MouseMove,
  MouseForceChanged, MouseForceDown, MouseForceUp, Wheel,
  KeyDown, KeyUp, RawKeyDown, Char
}
 
enum  Modifiers {
  ShiftKey = 1 << 0, ControlKey = 1 << 1, AltKey = 1 << 2, MetaKey = 1 << 3,
  CapsLockKey = 1 << 4
}
 

Public Member Functions

 WebWheelEvent ()
 
 WebWheelEvent (Type, const WebCore::IntPoint &position, const WebCore::IntPoint &globalPosition, const WebCore::FloatSize &delta, const WebCore::FloatSize &wheelTicks, Granularity, Modifiers, double timestamp)
 
const WebCore::IntPoint position () const
 
const WebCore::IntPoint globalPosition () const
 
const WebCore::FloatSize delta () const
 
const WebCore::FloatSize wheelTicks () const
 
Granularity granularity () const
 
bool directionInvertedFromDevice () const
 
void encode (IPC::Encoder &) const
 
- Public Member Functions inherited from WebKit::WebEvent
Type type () const
 
bool shiftKey () const
 
bool controlKey () const
 
bool altKey () const
 
bool metaKey () const
 
bool capsLockKey () const
 
Modifiers modifiers () const
 
double timestamp () const
 

Static Public Member Functions

static bool decode (IPC::Decoder &, WebWheelEvent &)
 

Additional Inherited Members

- Protected Member Functions inherited from WebKit::WebEvent
 WebEvent ()
 
 WebEvent (Type, Modifiers, double timestamp)
 
void encode (IPC::Encoder &) const
 
- Static Protected Member Functions inherited from WebKit::WebEvent
static bool decode (IPC::Decoder &, WebEvent &)
 

Member Enumeration Documentation

◆ Granularity

Enumerator
ScrollByPageWheelEvent 
ScrollByPixelWheelEvent 

Constructor & Destructor Documentation

◆ WebWheelEvent() [1/2]

WebKit::WebWheelEvent::WebWheelEvent ( )
inline

◆ WebWheelEvent() [2/2]

WebKit::WebWheelEvent::WebWheelEvent ( Type  type,
const WebCore::IntPoint position,
const WebCore::IntPoint globalPosition,
const WebCore::FloatSize delta,
const WebCore::FloatSize wheelTicks,
Granularity  granularity,
Modifiers  modifiers,
double  timestamp 
)

Member Function Documentation

◆ decode()

bool WebKit::WebWheelEvent::decode ( IPC::Decoder decoder,
WebWheelEvent t 
)
static

◆ delta()

const WebCore::FloatSize WebKit::WebWheelEvent::delta ( ) const
inline

◆ directionInvertedFromDevice()

bool WebKit::WebWheelEvent::directionInvertedFromDevice ( ) const
inline

◆ encode()

void WebKit::WebWheelEvent::encode ( IPC::Encoder encoder) const

◆ globalPosition()

const WebCore::IntPoint WebKit::WebWheelEvent::globalPosition ( ) const
inline

◆ granularity()

Granularity WebKit::WebWheelEvent::granularity ( ) const
inline

◆ position()

const WebCore::IntPoint WebKit::WebWheelEvent::position ( ) const
inline

◆ wheelTicks()

const WebCore::FloatSize WebKit::WebWheelEvent::wheelTicks ( ) const
inline

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