OLD | NEW |
1 | 1 |
2 // Copyright 2013 The Chromium Authors. All rights reserved. | 2 // Copyright 2013 The Chromium Authors. All rights reserved. |
3 // Use of this source code is governed by a BSD-style license that can be | 3 // Use of this source code is governed by a BSD-style license that can be |
4 // found in the LICENSE file. | 4 // found in the LICENSE file. |
5 | 5 |
6 [JavaPackage="org.chromium.mojo.bindings.test.mojom.sample"] | 6 [JavaPackage="org.chromium.mojo.bindings.test.mojom.sample"] |
7 module sample; | 7 module sample; |
8 | 8 |
9 import "sample_import.mojom"; | 9 import "sample_import.mojom"; |
10 import "sample_import2.mojom"; | 10 import "sample_import2.mojom"; |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 const uint8 kFavoriteBaz = 1; | 103 const uint8 kFavoriteBaz = 1; |
104 Frobinate@0(Foo? foo@0, BazOptions baz@1, Port? port@2) => (int32 result@0); | 104 Frobinate@0(Foo? foo@0, BazOptions baz@1, Port? port@2) => (int32 result@0); |
105 GetPort@1(Port& port @0); | 105 GetPort@1(Port& port @0); |
106 }; | 106 }; |
107 | 107 |
108 // This interface is referenced above where it is defined. It also refers to | 108 // This interface is referenced above where it is defined. It also refers to |
109 // itself from a method. | 109 // itself from a method. |
110 interface Port { | 110 interface Port { |
111 PostMessageToPort@0(string message_text@0, Port port@1); | 111 PostMessageToPort@0(string message_text@0, Port port@1); |
112 }; | 112 }; |
OLD | NEW |