diff options
Diffstat (limited to 'mojo/public/interfaces/bindings/tests/test_native_types.mojom')
-rw-r--r-- | mojo/public/interfaces/bindings/tests/test_native_types.mojom | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/mojo/public/interfaces/bindings/tests/test_native_types.mojom b/mojo/public/interfaces/bindings/tests/test_native_types.mojom index 3fcedde..4bfeba1 100644 --- a/mojo/public/interfaces/bindings/tests/test_native_types.mojom +++ b/mojo/public/interfaces/bindings/tests/test_native_types.mojom @@ -4,7 +4,7 @@ module mojo.test; -// import "mojo/public/interfaces/bindings/tests/rect.mojom"; +import "mojo/public/interfaces/bindings/tests/rect.mojom"; // Used to verify that structs can be declared with no body in mojom. @@ -23,11 +23,10 @@ interface PicklePasser { => (array<array<PickledStruct>> passed); }; -// TODO: crbug.com/596202 // Used to verify support for native serialization of mojom-defined structs // using StrucTraits with different variants of the Rect type from rect.mojom. -// interface RectService { -// AddRect(Rect r); -// GetLargestRect() => (Rect largest); -// }; +interface RectService { + AddRect(TypemappedRect r); + GetLargestRect() => (TypemappedRect largest); +}; |