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.sample"] |
9 module sample { | 9 module sample { |
10 | 10 |
11 const uint8 kTwelve = 12; | 11 const uint8 kTwelve = 12; |
12 | 12 |
13 struct Bar { | 13 struct Bar { |
14 enum Type { | 14 enum Type { |
15 TYPE_VERTICAL = 1, | 15 TYPE_VERTICAL = 1, |
16 TYPE_HORIZONTAL, | 16 TYPE_HORIZONTAL, |
17 TYPE_BOTH, | 17 TYPE_BOTH, |
18 TYPE_INVALID | 18 TYPE_INVALID |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 DidFrobinate@0(int32 result@0); | 100 DidFrobinate@0(int32 result@0); |
101 }; | 101 }; |
102 | 102 |
103 // This interface is referenced above where it is defined. It also refers to | 103 // This interface is referenced above where it is defined. It also refers to |
104 // itself from a method. | 104 // itself from a method. |
105 interface Port { | 105 interface Port { |
106 PostMessage@0(string message_text@0, Port port@1); | 106 PostMessage@0(string message_text@0, Port port@1); |
107 }; | 107 }; |
108 | 108 |
109 } | 109 } |
OLD | NEW |