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 /* This file tests the namespace functions in the parser. */ | 6 /* This file tests the namespace functions in the parser. */ |
7 | 7 |
| 8 label Chrome { |
| 9 M14 = 1.0 |
| 10 }; |
| 11 |
8 /* PPAPI ID */ | 12 /* PPAPI ID */ |
9 typedef int32_t PP_Instance; | 13 typedef int32_t PP_Instance; |
10 | 14 |
11 /* PPAPI ID */ | 15 /* PPAPI ID */ |
12 typedef int32_t PP_Resource; | 16 typedef int32_t PP_Resource; |
13 | 17 |
14 /* Interface test */ | 18 /* Interface test */ |
15 interface PPB_Bar_0_3 { | 19 interface PPB_Bar_0_3 { |
16 /* Face create */ | 20 /* Face create */ |
17 PP_Resource Create( | 21 PP_Resource Create( |
18 [in] PP_Instance instance, | 22 [in] PP_Instance instance, |
19 [in] PP_Size size, | 23 [in] PP_Size size, |
20 [in] PP_Bool is_always_opaque); | 24 [in] PP_Bool is_always_opaque); |
21 | 25 |
22 /* Returns PP_TRUE if the given resource is a valid Graphics2D, PP_FALSE if it | 26 /* Returns PP_TRUE if the given resource is a valid Graphics2D, PP_FALSE if it |
23 * is an invalid resource or is a resource of another type. | 27 * is an invalid resource or is a resource of another type. |
24 */ | 28 */ |
25 PP_Bool IsGraphics2D( | 29 PP_Bool IsGraphics2D( |
26 [in] PP_Resource resource); | 30 [in] PP_Resource resource); |
27 }; | 31 }; |
28 | 32 |
29 | 33 |
OLD | NEW |