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

Unified Diff: Source/platform/PlatformEvent.h

Issue 1018183002: Add rails to input wheel events. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: More plumbing and tests Created 5 years, 9 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 | « Source/core/frame/PinchViewport.cpp ('k') | Source/platform/PlatformWheelEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/PlatformEvent.h
diff --git a/Source/platform/PlatformEvent.h b/Source/platform/PlatformEvent.h
index c47f2a6702e9d718f0b9a8697745f0a41c59297f..ca813eec329ea07da3d0cf4a0af3c9b5f636f0fa 100644
--- a/Source/platform/PlatformEvent.h
+++ b/Source/platform/PlatformEvent.h
@@ -83,6 +83,12 @@ public:
RightButtonDown = 1 << 8,
};
+ enum RailsMode {
+ RailsModeFree = 0,
+ RailsModeHorizontal = 1,
+ RailsModeVertical = 2,
+ };
+
Type type() const { return static_cast<Type>(m_type); }
bool shiftKey() const { return m_modifiers & ShiftKey; }
« no previous file with comments | « Source/core/frame/PinchViewport.cpp ('k') | Source/platform/PlatformWheelEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698