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

Unified Diff: ui/mojo/events/input_event_constants.mojom

Issue 1313353010: Overhaul Mandoline event transport code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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: ui/mojo/events/input_event_constants.mojom
diff --git a/ui/mojo/events/input_event_constants.mojom b/ui/mojo/events/input_event_constants.mojom
index b3e0ea1f663ef3f2009d200bf22859aa8ada5688..ed69f92c31c83d08e6c11615fcf5a63d35b2c91b 100644
--- a/ui/mojo/events/input_event_constants.mojom
+++ b/ui/mojo/events/input_event_constants.mojom
@@ -41,6 +41,16 @@ enum MouseEventFlags {
};
enum PointerKind {
- TOUCH,
+ UNKNOWN,
MOUSE,
+ PEN,
+ TOUCH,
+ WHEEL,
sadrul 2015/09/09 04:19:04 Do we need 'wheel' as a separate kind? e.g. both m
rjkroege 2015/09/09 19:45:38 Based on http://www.w3.org/TR/pointerevents/#point
sadrul 2015/09/10 17:39:15 I am not sure. I feel like the event-type should b
rjkroege 2015/09/12 01:29:02 I agree. In Web spec land, Pointer encompasses tou
+};
+
+enum WheelMode {
+ PIXEL,
+ LINE,
+ PAGE,
+ SCALING,
};

Powered by Google App Engine
This is Rietveld 408576698