Index: third_party/WebKit/public/platform/WebMouseWheelEvent.h |
diff --git a/third_party/WebKit/public/platform/WebMouseWheelEvent.h b/third_party/WebKit/public/platform/WebMouseWheelEvent.h |
index a252e638e108687f27070bf3d33bead94c75b0bc..4704da0069dd6c67b04e96a271688278b9b47e30 100644 |
--- a/third_party/WebKit/public/platform/WebMouseWheelEvent.h |
+++ b/third_party/WebKit/public/platform/WebMouseWheelEvent.h |
@@ -85,6 +85,17 @@ class WebMouseWheelEvent : public WebMouseEvent { |
momentumPhase(PhaseNone), |
railsMode(RailsModeFree), |
dispatchType(Blocking) {} |
+ |
+#if INSIDE_BLINK |
+ BLINK_PLATFORM_EXPORT float deltaXInRootFrame() const; |
+ BLINK_PLATFORM_EXPORT float deltaYInRootFrame() const; |
+ |
+ // Sets any scaled values to be their computed values and sets |frameScale| |
+ // back to 1 and |translateX|, |translateY| back to 0. |
+ BLINK_PLATFORM_EXPORT WebMouseWheelEvent flattenTransform() const; |
+ |
+ bool cancelable() const { return dispatchType == Blocking; } |
esprehn
2017/01/04 22:00:53
isCancelable() ?
dtapuska
2017/01/05 14:16:18
Done.
|
+#endif |
}; |
#pragma pack(pop) |