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

Unified Diff: third_party/mojo_services/src/input_events/public/interfaces/input_event_constants.mojom

Issue 1029113005: Update mojo sdk to rev cb6c5abfadfea0ca73dca466e2894554ac1ae144 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment 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
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,
+};

Powered by Google App Engine
This is Rietveld 408576698