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; |
}; |
} |