OLD | NEW |
1 /* Copyright (c) 2010 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 #ifndef PPAPI_C_PPB_GRAPHICS_2D_H_ | 5 #ifndef PPAPI_C_PPB_GRAPHICS_2D_H_ |
6 #define PPAPI_C_PPB_GRAPHICS_2D_H_ | 6 #define PPAPI_C_PPB_GRAPHICS_2D_H_ |
7 | 7 |
8 #include "ppapi/c/pp_bool.h" | 8 #include "ppapi/c/pp_bool.h" |
9 #include "ppapi/c/pp_instance.h" | 9 #include "ppapi/c/pp_instance.h" |
10 #include "ppapi/c/pp_module.h" | 10 #include "ppapi/c/pp_module.h" |
11 #include "ppapi/c/pp_resource.h" | 11 #include "ppapi/c/pp_resource.h" |
12 #include "ppapi/c/pp_stdint.h" | 12 #include "ppapi/c/pp_stdint.h" |
13 | 13 |
14 struct PP_CompletionCallback; | 14 struct PP_CompletionCallback; |
15 struct PP_Point; | 15 struct PP_Point; |
16 struct PP_Rect; | 16 struct PP_Rect; |
17 struct PP_Size; | 17 struct PP_Size; |
18 | 18 |
19 #define PPB_GRAPHICS_2D_INTERFACE_0_3 "PPB_Graphics2D;0.3" | 19 #define PPB_GRAPHICS_2D_INTERFACE_0_4 "PPB_Graphics2D;0.4" |
20 #define PPB_GRAPHICS_2D_INTERFACE PPB_GRAPHICS_2D_INTERFACE_0_3 | 20 #define PPB_GRAPHICS_2D_INTERFACE PPB_GRAPHICS_2D_INTERFACE_0_4 |
21 | 21 |
22 /** | 22 /** |
23 * @file | 23 * @file |
24 * Defines the PPB_Graphics2D struct. | 24 * Defines the PPB_Graphics2D struct. |
25 * | 25 * |
26 * @addtogroup Interfaces | 26 * @addtogroup Interfaces |
27 * @{ | 27 * @{ |
28 */ | 28 */ |
29 | 29 |
30 /** {PENDING: describe PPB_Graphics2D. */ | 30 /** {PENDING: describe PPB_Graphics2D. */ |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 */ | 224 */ |
225 int32_t (*Flush)(PP_Resource graphics_2d, | 225 int32_t (*Flush)(PP_Resource graphics_2d, |
226 struct PP_CompletionCallback callback); | 226 struct PP_CompletionCallback callback); |
227 | 227 |
228 }; | 228 }; |
229 | 229 |
230 /** | 230 /** |
231 * @} | 231 * @} |
232 */ | 232 */ |
233 #endif /* PPAPI_C_PPB_GRAPHICS_2D_H_ */ | 233 #endif /* PPAPI_C_PPB_GRAPHICS_2D_H_ */ |
234 | |
OLD | NEW |