Index: third_party/mojo_services/src/input_events/public/interfaces/input_event_constants.mojom |
diff --git a/third_party/mojo_services/src/input_events/public/interfaces/input_event_constants.mojom b/third_party/mojo_services/src/input_events/public/interfaces/input_event_constants.mojom |
index f137fb387791fc8b82486a4bed2044cf4e983943..b3e0ea1f663ef3f2009d200bf22859aa8ada5688 100644 |
--- a/third_party/mojo_services/src/input_events/public/interfaces/input_event_constants.mojom |
+++ b/third_party/mojo_services/src/input_events/public/interfaces/input_event_constants.mojom |
@@ -4,50 +4,14 @@ |
module mojo; |
-// This mirrors ui::EventType |
enum EventType { |
- UNKNOWN , |
- MOUSE_PRESSED, |
- MOUSE_DRAGGED, |
- MOUSE_RELEASED, |
- MOUSE_MOVED, |
- MOUSE_ENTERED, |
- MOUSE_EXITED, |
+ UNKNOWN, |
KEY_PRESSED, |
KEY_RELEASED, |
- MOUSEWHEEL, |
- MOUSE_CAPTURE_CHANGED, |
- TOUCH_RELEASED, |
- TOUCH_PRESSED, |
- TOUCH_MOVED, |
- TOUCH_CANCELLED, |
- DROP_TARGET_EVENT, |
- TRANSLATED_KEY_PRESS, |
- TRANSLATED_KEY_RELEASE, |
- GESTURE_SCROLL_BEGIN, |
- GESTURE_SCROLL_END, |
- GESTURE_SCROLL_UPDATE, |
- GESTURE_TAP, |
- GESTURE_TAP_DOWN, |
- GESTURE_TAP_CANCEL, |
- GESTURE_TAP_UNCONFIRMED, |
- GESTURE_DOUBLE_TAP, |
- GESTURE_BEGIN, |
- GESTURE_END, |
- GESTURE_TWO_FINGER_TAP, |
- GESTURE_PINCH_BEGIN, |
- GESTURE_PINCH_END, |
- GESTURE_PINCH_UPDATE, |
- GESTURE_LONG_PRESS, |
- GESTURE_LONG_TAP, |
- GESTURE_SWIPE, |
- GESTURE_SHOW_PRESS, |
- GESTURE_WIN8_EDGE_SWIPE, |
- SCROLL, |
- SCROLL_FLING_START, |
- SCROLL_FLING_CANCEL, |
- CANCEL_MODE, |
- UMA_DATA |
+ POINTER_CANCEL, |
+ POINTER_DOWN, |
+ POINTER_MOVE, |
+ POINTER_UP, |
}; |
// This mirrors ui::EventFlags |
@@ -75,3 +39,8 @@ enum MouseEventFlags { |
// TODO(erg): Move accessibility flags and maybe synthetic touch events here. |
}; |
+ |
+enum PointerKind { |
+ TOUCH, |
+ MOUSE, |
+}; |