OLD | NEW |
1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2011 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 /* File Comment. */ | 6 /* File Comment. */ |
7 | 7 |
8 label Chrome { | 8 label Chrome { |
9 M13 = 0.0, | 9 M13 = 0.0, |
10 M14 = 1.0, | 10 M14 = 1.0, |
11 M15 = 2.0 | 11 M15 = 2.0 |
12 }; | 12 }; |
13 | 13 |
14 [version=0.0] | |
15 describe { | 14 describe { |
16 /** Standard Ints. */ | |
17 int32_t; | 15 int32_t; |
18 }; | 16 }; |
19 | 17 |
20 | 18 |
21 /* Bogus Struct */ | 19 /* Bogus Struct Foo */ |
22 [version=0.0] | 20 [version=0.0] |
23 struct PP_Size { | 21 struct Foo { |
| 22 /** |
| 23 * Comment for function x |
| 24 */ |
| 25 [version=0.0] int32_t Foo(int32_t x); |
| 26 /** |
| 27 * Comment for function x,y |
| 28 */ |
| 29 [version=1.0] int32_t Foo(int32_t x, int32_t y); |
| 30 /** |
| 31 * Comment for function x,y,z |
| 32 */ |
| 33 [version=2.0] int32_t Foo(int32_t x, int32_t y, int32_t z); |
| 34 }; |
| 35 |
| 36 |
| 37 /* Inherit revisions thanks to Foo */ |
| 38 [version=0.0] |
| 39 interface Bar { |
24 /** | 40 /** |
25 * Comment for function | 41 * Comment for function |
26 */ | 42 */ |
27 [version=0.0] int32_t Foo(int32_t x); | 43 int32_t UseFoo(Foo val); |
28 /** | |
29 * Comment for function | |
30 */ | |
31 [version=1.0] int32_t Foo(int32_t x, int32_t y); | |
32 /** | |
33 * Comment for function | |
34 */ | |
35 [version=2.0] int32_t Foo(int32_t x, int32_t y, int32_t z); | |
36 }; | 44 }; |
OLD | NEW |