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

Unified Diff: mojo/services/native_viewport/native_viewport.mojom

Issue 298563003: Move geometry types to a more central location. (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/native_viewport/native_viewport.mojom
diff --git a/mojo/services/native_viewport/native_viewport.mojom b/mojo/services/native_viewport/native_viewport.mojom
index eef750c0e002cf391119c58bdd68c34b213c56a4..8e0edb559bbd51635a75401db316827930d96bc3 100644
--- a/mojo/services/native_viewport/native_viewport.mojom
+++ b/mojo/services/native_viewport/native_viewport.mojom
@@ -2,22 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-module mojo {
-
-struct Point {
- float x;
- float y;
-};
+import "../../public/interfaces/geometry/geometry.mojom"
-struct Size {
- float width;
- float height;
-};
-
-struct Rect {
- Point position;
- Size size;
-};
+module mojo {
struct KeyData {
int32 key_code;
« no previous file with comments | « mojo/services/native_viewport/geometry_conversions.h ('k') | mojo/services/native_viewport/native_viewport_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698