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

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

Issue 2586133003: Remove PlatformWheelEvent and use WebMouseWheelEvent instead (Closed)
Patch Set: Adjust function name Created 3 years, 11 months 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
« no previous file with comments | « third_party/WebKit/public/platform/WebInputEvent.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..b699d3fd9f6dd1b96392444c439f020f6db70c24 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 isCancelable() const { return dispatchType == Blocking; }
+#endif
};
#pragma pack(pop)
« no previous file with comments | « third_party/WebKit/public/platform/WebInputEvent.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698