#include <WebEvent.h>
|
| 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
} |
| |
|
| | 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 |
| |
◆ Button
| Enumerator |
|---|
| NoButton | |
| LeftButton | |
| MiddleButton | |
| RightButton | |
◆ SyntheticClickType
| Enumerator |
|---|
| NoTap | |
| OneFingerTap | |
| TwoFingerTap | |
◆ WebMouseEvent() [1/2]
| WebKit::WebMouseEvent::WebMouseEvent |
( |
| ) |
|
◆ WebMouseEvent() [2/2]
| 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 |
|
) |
| |
◆ button()
| Button WebKit::WebMouseEvent::button |
( |
| ) |
const |
|
inline |
◆ clickCount()
| int32_t WebKit::WebMouseEvent::clickCount |
( |
| ) |
const |
|
inline |
◆ decode()
◆ deltaX()
| float WebKit::WebMouseEvent::deltaX |
( |
| ) |
const |
|
inline |
◆ deltaY()
| float WebKit::WebMouseEvent::deltaY |
( |
| ) |
const |
|
inline |
◆ deltaZ()
| float WebKit::WebMouseEvent::deltaZ |
( |
| ) |
const |
|
inline |
◆ encode()
◆ force()
| double WebKit::WebMouseEvent::force |
( |
| ) |
const |
|
inline |
◆ globalPosition()
◆ position()
◆ syntheticClickType()
The documentation for this class was generated from the following files: