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

Unified Diff: sky/services/viewport/input_event.mojom

Issue 997073003: Wire up gesturetap in SkyShell (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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
« no previous file with comments | « no previous file | sky/shell/org/domokit/sky/shell/GestureProvider.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/services/viewport/input_event.mojom
diff --git a/sky/services/viewport/input_event.mojom b/sky/services/viewport/input_event.mojom
index 3e8461959f7a94ae963518f2a4f0367f5356e8a3..b89571e47b83f6a9a1a0cf366e7afc6fd7e1bc06 100644
--- a/sky/services/viewport/input_event.mojom
+++ b/sky/services/viewport/input_event.mojom
@@ -6,15 +6,19 @@ module sky;
enum EventType {
UNKNOWN,
+ POINTER_CANCEL,
POINTER_DOWN,
- POINTER_UP,
POINTER_MOVE,
- POINTER_CANCEL,
+ POINTER_UP,
+ GESTURE_FLING_CANCEL,
+ GESTURE_FLING_START,
+ GESTURE_LONG_PRESS,
GESTURE_SCROLL_BEGIN,
- GESTURE_SCROLL_UPDATE,
GESTURE_SCROLL_END,
- GESTURE_FLING_START,
- GESTURE_FLING_CANCEL,
+ GESTURE_SCROLL_UPDATE,
+ GESTURE_SHOW_PRESS,
+ GESTURE_TAP,
+ GESTURE_TAP_DOWN,
};
enum PointerKind {
@@ -42,12 +46,12 @@ struct PointerData {
};
struct GestureData {
- float x;
- float y;
- float dx;
- float dy;
- float velocityX;
- float velocityY;
+ float x;
+ float y;
+ float dx;
+ float dy;
+ float velocityX;
+ float velocityY;
};
struct InputEvent {
« no previous file with comments | « no previous file | sky/shell/org/domokit/sky/shell/GestureProvider.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698