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

Unified Diff: third_party/WebKit/Source/platform/PlatformWheelEvent.h

Issue 2227803003: Plumb phase/momentum for WheelEvent. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
Index: third_party/WebKit/Source/platform/PlatformWheelEvent.h
diff --git a/third_party/WebKit/Source/platform/PlatformWheelEvent.h b/third_party/WebKit/Source/platform/PlatformWheelEvent.h
index e6c8890e407775558b248bcf5f38568bd6919dc0..634ada1e58c31aebd06a2a2383efcea3dc4eef42 100644
--- a/third_party/WebKit/Source/platform/PlatformWheelEvent.h
+++ b/third_party/WebKit/Source/platform/PlatformWheelEvent.h
@@ -42,6 +42,9 @@ enum PlatformWheelEventGranularity {
};
#if OS(MACOSX)
+// Note: do to the use of static_casts to convert this type to WheelEventPhase,
+// and WheelEventPhase to WebMouseWheelEvent::Phase, the definition that follows
+// must be kept in sync with that used for the corresponding types.
enum PlatformWheelEventPhase {
PlatformWheelEventPhaseNone = 0,
PlatformWheelEventPhaseBegan = 1 << 0,

Powered by Google App Engine
This is Rietveld 408576698