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

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: review comments2 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..a3e65e5feed462c3c525850a42fbeb51010186d1 100644
--- a/ui/mojo/events/input_event_constants.mojom
+++ b/ui/mojo/events/input_event_constants.mojom
@@ -12,6 +12,7 @@ enum EventType {
POINTER_DOWN,
POINTER_MOVE,
POINTER_UP,
+ WHEEL,
};
// This mirrors ui::EventFlags
@@ -41,6 +42,15 @@ enum MouseEventFlags {
};
enum PointerKind {
- TOUCH,
+ UNKNOWN,
sky 2015/09/14 19:27:25 When would the pointer kind be unknown? You should
rjkroege 2015/09/14 21:07:38 I can't think of a good reason why we need this. R
MOUSE,
+ PEN,
+ TOUCH,
+};
+
+enum WheelMode {
+ PIXEL,
+ LINE,
+ PAGE,
+ SCALING,
};

Powered by Google App Engine
This is Rietveld 408576698