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 [DartPackage="_mojo_for_test_only", JavaPackage="org.chromium.mojo.bindings.test
.mojom.imported"] | 5 [DartPackage="_mojo_for_test_only", |
| 6 JavaPackage="org.chromium.mojo.bindings.test.mojom.imported"] |
6 module imported; | 7 module imported; |
7 | 8 |
8 // This sample just defines some types that are imported into | 9 // This sample just defines some types that are imported into |
9 // sample_service.mojom, to show how import works. | 10 // sample_service.mojom, to show how import works. |
10 | 11 |
11 enum Shape { | 12 enum Shape { |
12 RECTANGLE = 1, | 13 RECTANGLE = 1, |
13 CIRCLE, | 14 CIRCLE, |
14 TRIANGLE, | 15 TRIANGLE, |
15 LAST = TRIANGLE, | 16 LAST = TRIANGLE, |
(...skipping 13 matching lines...) Expand all Loading... |
29 }; | 30 }; |
30 | 31 |
31 struct Point { | 32 struct Point { |
32 int32 x; | 33 int32 x; |
33 int32 y; | 34 int32 y; |
34 }; | 35 }; |
35 | 36 |
36 interface ImportedInterface { | 37 interface ImportedInterface { |
37 DoSomething(); | 38 DoSomething(); |
38 }; | 39 }; |
OLD | NEW |