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

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

Issue 2586133003: Remove PlatformWheelEvent and use WebMouseWheelEvent instead (Closed)
Patch Set: Address comments Created 3 years, 12 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..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)
« 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