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"] |
| 6 module mojo.test; |
| 7 |
5 import "mojo/public/interfaces/bindings/tests/rect.mojom"; | 8 import "mojo/public/interfaces/bindings/tests/rect.mojom"; |
6 | 9 |
7 [JavaPackage="org.chromium.mojo.bindings.test.mojom.test_structs"] | |
8 module mojo.test { | |
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 }; |
19 | 19 |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 // decoded successfully. | 130 // decoded successfully. |
131 | 131 |
132 struct MapValueTypes { | 132 struct MapValueTypes { |
133 map<string, array<string>> f0; | 133 map<string, array<string>> f0; |
134 map<string, array<string>?> f1; | 134 map<string, array<string>?> f1; |
135 map<string, array<string?>> f2; | 135 map<string, array<string?>> f2; |
136 map<string, array<string, 2>> f3; | 136 map<string, array<string, 2>> f3; |
137 map<string, array<array<string, 2>?>> f4; | 137 map<string, array<array<string, 2>?>> f4; |
138 map<string, array<array<string, 2>, 1>> f5; | 138 map<string, array<array<string, 2>, 1>> f5; |
139 }; | 139 }; |
140 | |
141 } | |
OLD | NEW |