OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 | 5 |
6 [JavaPackage="org.chromium.mojo.bindings.test.mojom.mojo"] | 6 [JavaPackage="org.chromium.mojo.bindings.test.mojom.mojo"] |
7 module mojo.test; | 7 module mojo.test; |
8 | 8 |
9 struct StructA { | 9 struct StructA { |
10 uint64 i; | 10 uint64 i; |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 Method10(map<string, uint8> param0); | 84 Method10(map<string, uint8> param0); |
85 Method11(StructG param0); | 85 Method11(StructG param0); |
86 Method12(float param0) => (float param0); | 86 Method12(float param0) => (float param0); |
87 Method13(InterfaceA? param0, uint32 param1, InterfaceA? param2); | 87 Method13(InterfaceA? param0, uint32 param1, InterfaceA? param2); |
88 Method14(EnumA param0, EnumB param1); | 88 Method14(EnumA param0, EnumB param1); |
89 Method15(array<EnumA>? param0, array<EnumB>? param1); | 89 Method15(array<EnumA>? param0, array<EnumB>? param1); |
90 Method16(map<EnumA, EnumA>? param0); | 90 Method16(map<EnumA, EnumA>? param0); |
91 Method17(array<InterfaceA> param0); | 91 Method17(array<InterfaceA> param0); |
92 Method18(UnionA? param0); | 92 Method18(UnionA? param0); |
93 Method19(Recursive recursive); | 93 Method19(Recursive recursive); |
| 94 Method20(map<StructB, uint8> param0); |
94 }; | 95 }; |
95 | 96 |
96 struct BasicStruct { | 97 struct BasicStruct { |
97 int32 a; | 98 int32 a; |
98 }; | 99 }; |
99 | 100 |
100 interface IntegrationTestInterface { | 101 interface IntegrationTestInterface { |
101 Method0(BasicStruct param0) => (array<uint8> param0); | 102 Method0(BasicStruct param0) => (array<uint8> param0); |
102 }; | 103 }; |
103 | 104 |
(...skipping 12 matching lines...) Expand all Loading... |
116 struct StructWithEnum { | 117 struct StructWithEnum { |
117 enum EnumWithin { | 118 enum EnumWithin { |
118 A, B, C, D | 119 A, B, C, D |
119 }; | 120 }; |
120 }; | 121 }; |
121 | 122 |
122 // This is used to test that deeply recursive structures don't blow the stack. | 123 // This is used to test that deeply recursive structures don't blow the stack. |
123 struct Recursive { | 124 struct Recursive { |
124 Recursive? recursive; | 125 Recursive? recursive; |
125 }; | 126 }; |
OLD | NEW |