summaryrefslogtreecommitdiffstats
path: root/mojo/public/interfaces/bindings/tests/rect.mojom
diff options
context:
space:
mode:
Diffstat (limited to 'mojo/public/interfaces/bindings/tests/rect.mojom')
-rw-r--r--mojo/public/interfaces/bindings/tests/rect.mojom9
1 files changed, 9 insertions, 0 deletions
diff --git a/mojo/public/interfaces/bindings/tests/rect.mojom b/mojo/public/interfaces/bindings/tests/rect.mojom
index b8cc977..833c76b 100644
--- a/mojo/public/interfaces/bindings/tests/rect.mojom
+++ b/mojo/public/interfaces/bindings/tests/rect.mojom
@@ -11,3 +11,12 @@ struct Rect {
int32 width;
int32 height;
};
+
+// A copy of Rect that can be typemapped. Arrays of Rect are currently used,
+// which do not support typemapping.
+struct TypemappedRect {
+ int32 x;
+ int32 y;
+ int32 width;
+ int32 height;
+};