summaryrefslogtreecommitdiff
path: root/Source/WebKit/chromium/public/WebInputEvent.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2012-02-09 14:16:12 +0100
committerSimon Hausmann <simon.hausmann@nokia.com>2012-02-09 14:16:12 +0100
commit03e12282df9aa1e1fb05a8b90f1cfc2e08764cec (patch)
tree52599cd0ab782b1768e23ad176f7618f98333cb6 /Source/WebKit/chromium/public/WebInputEvent.h
parentcd44dc59cdfc39534aef4d417e9f3c412e3be139 (diff)
downloadqtwebkit-03e12282df9aa1e1fb05a8b90f1cfc2e08764cec.tar.gz
Imported WebKit commit e09a82039aa4273ab318b71122e92d8e5f233525 (http://svn.webkit.org/repository/webkit/trunk@107223)
Diffstat (limited to 'Source/WebKit/chromium/public/WebInputEvent.h')
-rw-r--r--Source/WebKit/chromium/public/WebInputEvent.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/WebKit/chromium/public/WebInputEvent.h b/Source/WebKit/chromium/public/WebInputEvent.h
index 57b1f4b5c..e42e45134 100644
--- a/Source/WebKit/chromium/public/WebInputEvent.h
+++ b/Source/WebKit/chromium/public/WebInputEvent.h
@@ -109,6 +109,9 @@ public:
GestureTap,
GestureTapDown,
GestureDoubleTap,
+ GesturePinchBegin,
+ GesturePinchEnd,
+ GesturePinchUpdate,
// WebTouchEvent
TouchStart,
@@ -351,6 +354,8 @@ public:
int y;
int globalX;
int globalY;
+
+ // NOTE: |deltaX| and |deltaY| represents the amount to scroll for Scroll gesture events. For Pinch gesture events, |deltaX| represents the scaling/magnification factor.
float deltaX;
float deltaY;