| 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 /* From ppb_graphics_2d.idl modified Sat Jul 16 16:50:26 2011. */ | 6 /* From ppb_graphics_2d.idl modified Wed Aug 24 20:51:38 2011. */ |
| 7 | 7 |
| 8 #ifndef PPAPI_C_PPB_GRAPHICS_2D_H_ | 8 #ifndef PPAPI_C_PPB_GRAPHICS_2D_H_ |
| 9 #define PPAPI_C_PPB_GRAPHICS_2D_H_ | 9 #define PPAPI_C_PPB_GRAPHICS_2D_H_ |
| 10 | 10 |
| 11 #include "ppapi/c/pp_bool.h" | 11 #include "ppapi/c/pp_bool.h" |
| 12 #include "ppapi/c/pp_completion_callback.h" | 12 #include "ppapi/c/pp_completion_callback.h" |
| 13 #include "ppapi/c/pp_instance.h" | 13 #include "ppapi/c/pp_instance.h" |
| 14 #include "ppapi/c/pp_macros.h" | 14 #include "ppapi/c/pp_macros.h" |
| 15 #include "ppapi/c/pp_point.h" | 15 #include "ppapi/c/pp_point.h" |
| 16 #include "ppapi/c/pp_rect.h" | 16 #include "ppapi/c/pp_rect.h" |
| 17 #include "ppapi/c/pp_resource.h" | 17 #include "ppapi/c/pp_resource.h" |
| 18 #include "ppapi/c/pp_size.h" | 18 #include "ppapi/c/pp_size.h" |
| 19 #include "ppapi/c/pp_stdint.h" | 19 #include "ppapi/c/pp_stdint.h" |
| 20 | 20 |
| 21 #define PPB_GRAPHICS_2D_INTERFACE_0_4 "PPB_Graphics2D;0.4" | |
| 22 #define PPB_GRAPHICS_2D_INTERFACE_1_0 "PPB_Graphics2D;1.0" | 21 #define PPB_GRAPHICS_2D_INTERFACE_1_0 "PPB_Graphics2D;1.0" |
| 23 #define PPB_GRAPHICS_2D_INTERFACE PPB_GRAPHICS_2D_INTERFACE_1_0 | 22 #define PPB_GRAPHICS_2D_INTERFACE PPB_GRAPHICS_2D_INTERFACE_1_0 |
| 24 | 23 |
| 25 /** | 24 /** |
| 26 * @file | 25 * @file |
| 27 * Defines the <code>PPB_Graphics2D</code> struct representing a 2D graphics | 26 * Defines the <code>PPB_Graphics2D</code> struct representing a 2D graphics |
| 28 * context within the browser. | 27 * context within the browser. |
| 29 */ | 28 */ |
| 30 | 29 |
| 31 | 30 |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 */ | 255 */ |
| 257 int32_t (*Flush)(PP_Resource graphics_2d, | 256 int32_t (*Flush)(PP_Resource graphics_2d, |
| 258 struct PP_CompletionCallback callback); | 257 struct PP_CompletionCallback callback); |
| 259 }; | 258 }; |
| 260 /** | 259 /** |
| 261 * @} | 260 * @} |
| 262 */ | 261 */ |
| 263 | 262 |
| 264 #endif /* PPAPI_C_PPB_GRAPHICS_2D_H_ */ | 263 #endif /* PPAPI_C_PPB_GRAPHICS_2D_H_ */ |
| 265 | 264 |
| OLD | NEW |