| 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 "mojo/public/interfaces/bindings/tests/rect.mojom"; | 8 import "mojo/public/interfaces/bindings/tests/rect.mojom"; |
| 9 | 9 |
| 10 struct NamedRegion { | 10 struct NamedRegion { |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 // Used to verify that some common or difficult value types can be encoded and | 129 // Used to verify that some common or difficult value types can be encoded and |
| 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 /* Disabled until Java bindings worked correctly. | |
| 140 map<string, Rect?> f6; | 139 map<string, Rect?> f6; |
| 141 map<string, map<string, string>> f7; | 140 map<string, map<string, string>> f7; |
| 142 map<string, array<map<string, string>>> f8; | 141 map<string, array<map<string, string>>> f8; |
| 143 */ | |
| 144 }; | 142 }; |
| OLD | NEW |