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

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

Issue 298253005: Move geometry to mojo/services, extract input events to their own mojom (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 7 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: 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;
+};
+
+}

Powered by Google App Engine
This is Rietveld 408576698