Index: third_party/WebKit/public/platform/WebInputEvent.h |
diff --git a/third_party/WebKit/public/platform/WebInputEvent.h b/third_party/WebKit/public/platform/WebInputEvent.h |
index 2133aaea5b8fd2487290e608eb4a316a31d67035..92d955b5137bf9fa9d3a5a9ccdff4abb6924e3c8 100644 |
--- a/third_party/WebKit/public/platform/WebInputEvent.h |
+++ b/third_party/WebKit/public/platform/WebInputEvent.h |
@@ -230,6 +230,12 @@ class WebInputEvent { |
Type type; |
int modifiers; |
+ // The root frame scale. |
+ float frameScale; |
+ |
+ // The root frame translation (applied post scale). |
+ WebFloatPoint frameTranslate; |
+ |
// Returns true if the WebInputEvent |type| is a mouse event. |
static bool isMouseEventType(int type) { |
return MouseTypeFirst <= type && type <= MouseTypeLast; |
@@ -271,6 +277,7 @@ class WebInputEvent { |
size = sizeParam; |
type = Undefined; |
modifiers = 0; |
+ frameScale = 1.0f; |
} |
}; |