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

Unified Diff: Source/core/events/Event.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 | « no previous file | Source/core/events/WheelEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/Event.h
diff --git a/Source/core/events/Event.h b/Source/core/events/Event.h
index 51231be70f885302e78bc7d14f58188091fff10a..d79e358601b2b41d899c2ea54f332b9c5760a585 100644
--- a/Source/core/events/Event.h
+++ b/Source/core/events/Event.h
@@ -76,6 +76,12 @@ public:
CHANGE = 32768
};
+ enum RailsMode {
+ RailsModeFree = 0,
+ RailsModeHorizontal = 1,
+ RailsModeVertical = 2
+ };
+
static PassRefPtrWillBeRawPtr<Event> create()
{
return adoptRefWillBeNoop(new Event);
« no previous file with comments | « no previous file | Source/core/events/WheelEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698