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

Unified Diff: mojo/services/input_events/public/interfaces/input_events.mojom

Issue 1042363003: Makes touch event have a time from android (Closed) Base URL: https://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 | services/native_viewport/platform_viewport_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/input_events/public/interfaces/input_events.mojom
diff --git a/mojo/services/input_events/public/interfaces/input_events.mojom b/mojo/services/input_events/public/interfaces/input_events.mojom
index 008626572d0efd09cb1db132d5128aa7f3c5c9f6..9fa363034e94c4eb99ee19b8a59ce6af6b312106 100644
--- a/mojo/services/input_events/public/interfaces/input_events.mojom
+++ b/mojo/services/input_events/public/interfaces/input_events.mojom
@@ -70,6 +70,8 @@ struct Event {
EventType action;
// TODO(sky): parts of this should move to PointerData.
EventFlags flags;
+ // Time the event was delivered. The time is in milliseconds and corresponds
+ // to the uptime of the machine.
int64 time_stamp;
KeyData? key_data;
PointerData? pointer_data;
« no previous file with comments | « no previous file | services/native_viewport/platform_viewport_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698