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, |
}; |