| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_module.h" | 9 #include "ppapi/c/pp_module.h" |
| 10 #include "ppapi/c/pp_resource.h" | 10 #include "ppapi/c/pp_resource.h" |
| 11 #include "ppapi/c/pp_stdint.h" | 11 #include "ppapi/c/pp_stdint.h" |
| 12 | 12 |
| 13 struct PP_CompletionCallback; | 13 struct PP_CompletionCallback; |
| 14 struct PP_Point; | 14 struct PP_Point; |
| 15 struct PP_Rect; | 15 struct PP_Rect; |
| 16 struct PP_Size; | 16 struct PP_Size; |
| 17 | 17 |
| 18 #define PPB_GRAPHICS_2D_INTERFACE "PPB_Graphics2D;0.2" | 18 #define PPB_GRAPHICS_2D_INTERFACE "PPB_Graphics2D;0.3" |
| 19 | 19 |
| 20 /** | 20 /** |
| 21 * @file | 21 * @file |
| 22 * Defines the PPB_Graphics2D struct. | 22 * Defines the PPB_Graphics2D struct. |
| 23 * | 23 * |
| 24 * @addtogroup PPB | 24 * @addtogroup PPB |
| 25 * @{ | 25 * @{ |
| 26 */ | 26 */ |
| 27 | 27 |
| 28 /** {PENDING: describe PPB_Graphics2D. */ | 28 /** {PENDING: describe PPB_Graphics2D. */ |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 int32_t (*Flush)(PP_Resource graphics_2d, | 215 int32_t (*Flush)(PP_Resource graphics_2d, |
| 216 struct PP_CompletionCallback callback); | 216 struct PP_CompletionCallback callback); |
| 217 | 217 |
| 218 }; | 218 }; |
| 219 | 219 |
| 220 /** | 220 /** |
| 221 * @} | 221 * @} |
| 222 * End addtogroup PPB | 222 * End addtogroup PPB |
| 223 */ | 223 */ |
| 224 #endif // PPAPI_C_PPB_GRAPHICS_2D_H_ | 224 #endif // PPAPI_C_PPB_GRAPHICS_2D_H_ |
| OLD | NEW |