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 da654f7d62207b0e9dbbd62ae2e2cd9f5f7017e5..f0a371ef853867cc56c6f212e51188748cb5f3b2 100644 |
--- a/third_party/WebKit/public/platform/WebMouseWheelEvent.h |
+++ b/third_party/WebKit/public/platform/WebMouseWheelEvent.h |
@@ -68,6 +68,16 @@ class WebMouseWheelEvent : public WebMouseEvent { |
hasPreciseScrollingDeltas(false), |
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; } |
+#endif |
}; |
#pragma pack(pop) |