Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Unified Diff: third_party/WebKit/public/platform/WebMouseWheelEvent.h

Issue 2586133003: Remove PlatformWheelEvent and use WebMouseWheelEvent instead (Closed)
Patch Set: Rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)

Powered by Google App Engine
This is Rietveld 408576698