OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 [JavaPackage="org.chromium.mojo.bindings.test.mojom.test_structs"] | 5 [JavaPackage="org.chromium.mojo.bindings.test.mojom.test_structs"] |
6 module mojo.test; | 6 module mojo.test; |
7 | 7 |
8 import "third_party/mojo/src/mojo/public/interfaces/bindings/tests/rect.mojom"; | 8 import "mojo/public/interfaces/bindings/tests/rect.mojom"; |
9 | 9 |
10 struct NamedRegion { | 10 struct NamedRegion { |
11 string? name; | 11 string? name; |
12 array<Rect>? rects; | 12 array<Rect>? rects; |
13 }; | 13 }; |
14 | 14 |
15 struct RectPair { | 15 struct RectPair { |
16 Rect? first; | 16 Rect? first; |
17 Rect? second; | 17 Rect? second; |
18 }; | 18 }; |
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
368 | 368 |
369 struct ContainsOther { | 369 struct ContainsOther { |
370 int32 other; | 370 int32 other; |
371 }; | 371 }; |
372 | 372 |
373 // Used to verify that structs can contain interface requests. | 373 // Used to verify that structs can contain interface requests. |
374 | 374 |
375 struct ContainsInterfaceRequest { | 375 struct ContainsInterfaceRequest { |
376 SomeInterface& request; | 376 SomeInterface& request; |
377 }; | 377 }; |
OLD | NEW |