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 import "sample_import.mojom" | 5 import "sample_import.mojom" |
6 import "sample_import2.mojom" | 6 import "sample_import2.mojom" |
7 | 7 |
8 [JavaPackage="org.chromium.mojo.bindings.test.mojom.sample"] | 8 [JavaPackage="org.chromium.mojo.bindings.test.mojom.sample"] |
9 module sample { | 9 module sample { |
10 | 10 |
(...skipping 22 matching lines...) Expand all Loading... |
33 bool b@3; | 33 bool b@3; |
34 bool c@4; | 34 bool c@4; |
35 Bar bar@5; | 35 Bar bar@5; |
36 Bar[] extra_bars@7; | 36 Bar[] extra_bars@7; |
37 uint8[] data@6; | 37 uint8[] data@6; |
38 handle<message_pipe> source@9; | 38 handle<message_pipe> source@9; |
39 handle<data_pipe_consumer>[] input_streams@10; | 39 handle<data_pipe_consumer>[] input_streams@10; |
40 handle<data_pipe_producer>[] output_streams@11; | 40 handle<data_pipe_producer>[] output_streams@11; |
41 bool[][] array_of_array_of_bools@12; | 41 bool[][] array_of_array_of_bools@12; |
42 string[][][] multi_array_of_strings@13; | 42 string[][][] multi_array_of_strings@13; |
| 43 bool[] array_of_bools@14; |
43 }; | 44 }; |
44 | 45 |
45 struct DefaultsTest { | 46 struct DefaultsTest { |
46 int8 a0@0 = -12; | 47 int8 a0@0 = -12; |
47 uint8 a1@1 = sample.kTwelve; | 48 uint8 a1@1 = sample.kTwelve; |
48 int16 a2@2 = 1234; | 49 int16 a2@2 = 1234; |
49 uint16 a3@3 = 34567; | 50 uint16 a3@3 = 34567; |
50 int32 a4@4 = 123456; | 51 int32 a4@4 = 123456; |
51 // TODO(vtl): crbug.com/375522 | 52 // TODO(vtl): crbug.com/375522 |
52 uint32 a5@5 /* = 3456789012 */; | 53 uint32 a5@5 /* = 3456789012 */; |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 DidFrobinate@0(int32 result@0); | 101 DidFrobinate@0(int32 result@0); |
101 }; | 102 }; |
102 | 103 |
103 // This interface is referenced above where it is defined. It also refers to | 104 // This interface is referenced above where it is defined. It also refers to |
104 // itself from a method. | 105 // itself from a method. |
105 interface Port { | 106 interface Port { |
106 PostMessage@0(string message_text@0, Port port@1); | 107 PostMessage@0(string message_text@0, Port port@1); |
107 }; | 108 }; |
108 | 109 |
109 } | 110 } |
OLD | NEW |