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..97eec2d3ee508ac4c098da7a45b9fccf360981de 100644 |
--- a/third_party/WebKit/public/platform/WebInputEvent.h |
+++ b/third_party/WebKit/public/platform/WebInputEvent.h |
@@ -229,6 +229,9 @@ class WebInputEvent { |
unsigned size; // The size of this structure, for serialization. |
Type type; |
int modifiers; |
+ float frameScale; // Scalar applied at frame time. |
majidvp
2016/12/01 15:46:31
frame time? do you mean frame conversion time?
dtapuska
2016/12/01 16:26:43
Ya this comment needs some work. I mean that when
|
+ float frameTranslateX; // post scale translation x value. |
+ float frameTranslateY; // post scale translation y value. |
majidvp
2016/12/01 15:46:31
should frameTranslateX and frameTranslateY just be
dtapuska
2016/12/01 16:26:43
WebFloatPoint isn't packed. So I might be able to
|
// Returns true if the WebInputEvent |type| is a mouse event. |
static bool isMouseEventType(int type) { |
@@ -271,6 +274,7 @@ class WebInputEvent { |
size = sizeParam; |
type = Undefined; |
modifiers = 0; |
+ frameScale = 1.0f; |
} |
}; |