Index: mojo/services/public/interfaces/input_events/input_events.mojom |
diff --git a/mojo/services/public/interfaces/input_events/input_events.mojom b/mojo/services/public/interfaces/input_events/input_events.mojom |
new file mode 100644 |
index 0000000000000000000000000000000000000000..255fe284fe0d9f4262e98a566a88865889396f02 |
--- /dev/null |
+++ b/mojo/services/public/interfaces/input_events/input_events.mojom |
@@ -0,0 +1,27 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+import "../geometry/geometry.mojom" |
+ |
+module mojo { |
+ |
+struct KeyData { |
+ int32 key_code; |
+ bool is_char; |
+}; |
+ |
+struct TouchData { |
+ int32 pointer_id; |
+}; |
+ |
+struct Event { |
+ int32 action; |
+ int32 flags; |
+ int64 time_stamp; |
+ Point location; |
+ KeyData key_data; |
+ TouchData touch_data; |
+}; |
+ |
+} |