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

Unified Diff: mojo/services/native_viewport/native_viewport.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
« no previous file with comments | « mojo/services/native_viewport/DEPS ('k') | mojo/services/native_viewport/native_viewport_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/native_viewport/native_viewport.mojom
diff --git a/mojo/services/native_viewport/native_viewport.mojom b/mojo/services/native_viewport/native_viewport.mojom
index 8e0edb559bbd51635a75401db316827930d96bc3..5535da1d1bedee31e8d96e22f7b3c1f9e9f9daba 100644
--- a/mojo/services/native_viewport/native_viewport.mojom
+++ b/mojo/services/native_viewport/native_viewport.mojom
@@ -2,28 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-import "../../public/interfaces/geometry/geometry.mojom"
+import "../public/interfaces/geometry/geometry.mojom"
+import "../public/interfaces/input_events/input_events.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;
-};
-
[Client=NativeViewportClient]
interface NativeViewport {
Create(Rect bounds);
« no previous file with comments | « mojo/services/native_viewport/DEPS ('k') | mojo/services/native_viewport/native_viewport_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698