| 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 [JavaPackage="org.chromium.mojo.bindings.test.mojom.sample"] |
| 6 module sample; |
| 7 |
| 5 import "sample_import.mojom"; | 8 import "sample_import.mojom"; |
| 6 import "sample_import2.mojom"; | 9 import "sample_import2.mojom"; |
| 7 | 10 |
| 8 [JavaPackage="org.chromium.mojo.bindings.test.mojom.sample"] | |
| 9 module sample { | |
| 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; |
| 17 | 17 |
| 18 const float kFloatInfinity = float.INFINITY; | 18 const float kFloatInfinity = float.INFINITY; |
| 19 const float kFloatNegativeInfinity = float.NEGATIVE_INFINITY; | 19 const float kFloatNegativeInfinity = float.NEGATIVE_INFINITY; |
| 20 const float kFloatNaN = float.NAN; | 20 const float kFloatNaN = float.NAN; |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 | 117 |
| 118 interface ServiceClient { | 118 interface ServiceClient { |
| 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 | |
| 128 } | |
| OLD | NEW |