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

Unified Diff: mojo/public/interfaces/geometry/geometry.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
« no previous file with comments | « mojo/mojo_services.gypi ('k') | mojo/services/native_viewport/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/interfaces/geometry/geometry.mojom
diff --git a/mojo/services/dbus_echo/echo.mojom b/mojo/public/interfaces/geometry/geometry.mojom
similarity index 58%
copy from mojo/services/dbus_echo/echo.mojom
copy to mojo/public/interfaces/geometry/geometry.mojom
index 937737c223cf423c989c0eb76b41b12bb0f6df0b..3e7490f5ce0cdfd28873a525882ae83822e826c2 100644
--- a/mojo/services/dbus_echo/echo.mojom
+++ b/mojo/public/interfaces/geometry/geometry.mojom
@@ -4,8 +4,19 @@
module mojo {
-interface EchoService {
- Echo(string to_echo) => (string echoed);
+struct Point {
+ int32 x;
+ int32 y;
+};
+
+struct Size {
+ int32 width;
+ int32 height;
+};
+
+struct Rect {
+ Point position;
+ Size size;
};
}
« no previous file with comments | « mojo/mojo_services.gypi ('k') | mojo/services/native_viewport/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698