summaryrefslogtreecommitdiff
path: root/Source/WebKit/chromium/public/WebInputEvent.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/chromium/public/WebInputEvent.h')
-rw-r--r--Source/WebKit/chromium/public/WebInputEvent.h69
1 files changed, 37 insertions, 32 deletions
diff --git a/Source/WebKit/chromium/public/WebInputEvent.h b/Source/WebKit/chromium/public/WebInputEvent.h
index f3edaf95e..328c0337e 100644
--- a/Source/WebKit/chromium/public/WebInputEvent.h
+++ b/Source/WebKit/chromium/public/WebInputEvent.h
@@ -379,38 +379,43 @@ public:
int globalY;
union {
- struct {
- int tapCount;
- int width;
- int height;
- } tap;
-
- struct {
- int width;
- int height;
- } tapDown;
-
- struct {
- int width;
- int height;
- } longPress;
-
- struct {
- float deltaX;
- float deltaY;
- float velocityX;
- float velocityY;
- } scrollUpdate;
-
- struct {
- float velocityX;
- float velocityY;
- SourceDevice sourceDevice;
- } flingStart;
-
- struct {
- float scale;
- } pinchUpdate;
+ struct {
+ int tapCount;
+ int width;
+ int height;
+ } tap;
+
+ struct {
+ int width;
+ int height;
+ } tapDown;
+
+ struct {
+ int width;
+ int height;
+ } longPress;
+
+ struct {
+ int firstFingerWidth;
+ int firstFingerHeight;
+ } twoFingerTap;
+
+ struct {
+ float deltaX;
+ float deltaY;
+ float velocityX;
+ float velocityY;
+ } scrollUpdate;
+
+ struct {
+ float velocityX;
+ float velocityY;
+ SourceDevice sourceDevice;
+ } flingStart;
+
+ struct {
+ float scale;
+ } pinchUpdate;
} data;
WebGestureEvent(unsigned sizeParam = sizeof(WebGestureEvent))