| 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 #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_4 "PPB_Graphics2D;0.4" | 19 #define PPB_GRAPHICS_2D_INTERFACE_0_4 "PPB_Graphics2D;0.4" |
| 20 #define PPB_GRAPHICS_2D_INTERFACE_1_0 "PPB_Graphics2D;1.0" | 20 #define PPB_GRAPHICS_2D_INTERFACE PPB_GRAPHICS_2D_INTERFACE_0_4 |
| 21 #define PPB_GRAPHICS_2D_INTERFACE PPB_GRAPHICS_2D_INTERFACE_1_0 | |
| 22 | 21 |
| 23 /** | 22 /** |
| 24 * @file | 23 * @file |
| 25 * Defines the <code>PPB_Graphics2D</code> struct representing a 2D graphics | 24 * Defines the <code>PPB_Graphics2D</code> struct representing a 2D graphics |
| 26 * context within the browser. | 25 * context within the browser. |
| 27 * | 26 * |
| 28 * @addtogroup Interfaces | 27 * @addtogroup Interfaces |
| 29 * @{ | 28 * @{ |
| 30 */ | 29 */ |
| 31 | 30 |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 */ | 259 */ |
| 261 int32_t (*Flush)(PP_Resource graphics_2d, | 260 int32_t (*Flush)(PP_Resource graphics_2d, |
| 262 struct PP_CompletionCallback callback); | 261 struct PP_CompletionCallback callback); |
| 263 | 262 |
| 264 }; | 263 }; |
| 265 | 264 |
| 266 /** | 265 /** |
| 267 * @} | 266 * @} |
| 268 */ | 267 */ |
| 269 #endif /* PPAPI_C_PPB_GRAPHICS_2D_H_ */ | 268 #endif /* PPAPI_C_PPB_GRAPHICS_2D_H_ */ |
| OLD | NEW |