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 |
11 const uint8 kTwelve = 12; | 11 const uint8 kTwelve = 12; |
12 const uint64 kTooBigForSignedInt64 = 9999999999999999999; | 12 const uint64 kTooBigForSignedInt64 = 9999999999999999999; |
13 | 13 |
14 const double kDoubleInfinity = double.INFINITY; | 14 const double kDoubleInfinity = double.INFINITY; |
15 const double kDoubleNegativeInfinity = double.NEGATIVE_INFINITY; | 15 const double kDoubleNegativeInfinity = double.NEGATIVE_INFINITY; |
16 const double kDoubleNaN = double.NAN; | 16 const double kDoubleNaN = double.NAN; |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 DidFrobinate@0(int32 result@0); | 119 DidFrobinate@0(int32 result@0); |
120 }; | 120 }; |
121 | 121 |
122 // This interface is referenced above where it is defined. It also refers to | 122 // This interface is referenced above where it is defined. It also refers to |
123 // itself from a method. | 123 // itself from a method. |
124 interface Port { | 124 interface Port { |
125 PostMessage@0(string message_text@0, Port port@1); | 125 PostMessage@0(string message_text@0, Port port@1); |
126 }; | 126 }; |
127 | 127 |
128 } | 128 } |
OLD | NEW |