OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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.test_constants"] | 5 [JavaPackage="org.chromium.mojo.bindings.test.mojom.test_constants"] |
6 module mojo.test; | 6 module mojo.test; |
7 | 7 |
8 // Integral types. | 8 // Integral types. |
9 const bool kBoolValue = true; | 9 const bool kBoolValue = true; |
10 | 10 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 | 44 |
45 struct StructWithConstants { | 45 struct StructWithConstants { |
46 const int8 kInt8Value = 5; | 46 const int8 kInt8Value = 5; |
47 const float kFloatValue = 765.432; | 47 const float kFloatValue = 765.432; |
48 }; | 48 }; |
49 | 49 |
50 interface InterfaceWithConstants { | 50 interface InterfaceWithConstants { |
51 const uint32 kUint32Value = 20100722; | 51 const uint32 kUint32Value = 20100722; |
52 const double kDoubleValue = 12.34567; | 52 const double kDoubleValue = 12.34567; |
53 }; | 53 }; |
OLD | NEW |