webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
#include <WebEvent.h>
Public Types | |
enum | Button { NoButton = -1, LeftButton, MiddleButton, RightButton } |
enum | SyntheticClickType { NoTap, OneFingerTap, TwoFingerTap } |
![]() | |
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 | |
WebMouseEvent () | |
WebMouseEvent (Type, Button, const WebCore::IntPoint &position, const WebCore::IntPoint &globalPosition, float deltaX, float deltaY, float deltaZ, int clickCount, Modifiers, double timestamp, double force=0, SyntheticClickType=NoTap) | |
Button | button () const |
const WebCore::IntPoint & | position () const |
const WebCore::IntPoint & | globalPosition () const |
float | deltaX () const |
float | deltaY () const |
float | deltaZ () const |
int32_t | clickCount () const |
double | force () const |
SyntheticClickType | syntheticClickType () const |
void | encode (IPC::Encoder &) const |
![]() | |
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 &, WebMouseEvent &) |
Additional Inherited Members | |
![]() | |
WebEvent () | |
WebEvent (Type, Modifiers, double timestamp) | |
void | encode (IPC::Encoder &) const |
![]() | |
static bool | decode (IPC::Decoder &, WebEvent &) |
WebKit::WebMouseEvent::WebMouseEvent | ( | ) |
WebKit::WebMouseEvent::WebMouseEvent | ( | Type | type, |
Button | button, | ||
const WebCore::IntPoint & | position, | ||
const WebCore::IntPoint & | globalPosition, | ||
float | deltaX, | ||
float | deltaY, | ||
float | deltaZ, | ||
int | clickCount, | ||
Modifiers | modifiers, | ||
double | timestamp, | ||
double | force = 0 , |
||
SyntheticClickType | syntheticClickType = NoTap |
||
) |
|
inline |
|
inline |
|
static |
|
inline |
|
inline |
|
inline |
void WebKit::WebMouseEvent::encode | ( | IPC::Encoder & | encoder | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |