| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 | 5 |
| 6 [JavaPackage="org.chromium.mojo.bindings.test.mojom.mojo"] | 6 [JavaPackage="org.chromium.mojo.bindings.test.mojom.mojo"] |
| 7 module mojo.test; | 7 module mojo.test; |
| 8 | 8 |
| 9 struct StructA { | 9 struct StructA { |
| 10 uint64 i; | 10 uint64 i; |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 E = 0xA | 88 E = 0xA |
| 89 }; | 89 }; |
| 90 | 90 |
| 91 // The enum validation function should be generated within the scope of this | 91 // The enum validation function should be generated within the scope of this |
| 92 // struct. | 92 // struct. |
| 93 struct StructWithEnum { | 93 struct StructWithEnum { |
| 94 enum EnumWithin { | 94 enum EnumWithin { |
| 95 A, B, C, D | 95 A, B, C, D |
| 96 }; | 96 }; |
| 97 }; | 97 }; |
| OLD | NEW |