Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(240)

Side by Side Diff: ppapi/c/ppb_image_data.h

Issue 6893022: Add version-specific defines for each C interface. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/c/ppb_graphics_2d.h ('k') | ppapi/c/ppb_instance.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_IMAGE_DATA_H_ 5 #ifndef PPAPI_C_PPB_IMAGE_DATA_H_
6 #define PPAPI_C_PPB_IMAGE_DATA_H_ 6 #define PPAPI_C_PPB_IMAGE_DATA_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_macros.h" 10 #include "ppapi/c/pp_macros.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 * This value represents the row width in bytes. This may be different than 65 * This value represents the row width in bytes. This may be different than
66 * width * 4 since there may be padding at the end of the lines. 66 * width * 4 since there may be padding at the end of the lines.
67 */ 67 */
68 int32_t stride; 68 int32_t stride;
69 }; 69 };
70 PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_ImageDataDesc, 16); 70 PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_ImageDataDesc, 16);
71 /** 71 /**
72 * @} 72 * @}
73 */ 73 */
74 74
75 #define PPB_IMAGEDATA_INTERFACE "PPB_ImageData;0.3" 75 #define PPB_IMAGEDATA_INTERFACE_0_3 "PPB_ImageData;0.3"
76 #define PPB_IMAGEDATA_INTERFACE PPB_IMAGEDATA_INTERFACE_0_3
76 77
77 /** 78 /**
78 * @addtogroup Interfaces 79 * @addtogroup Interfaces
79 * @{ 80 * @{
80 */ 81 */
81 82
82 /** 83 /**
83 * The PPB_ImageData interface contains pointers to several functions for 84 * The PPB_ImageData interface contains pointers to several functions for
84 * determining the browser's treatment of image data. 85 * determining the browser's treatment of image data.
85 */ 86 */
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 * 169 *
169 * @param[in] image_data A PP_Resource corresponding to image data. 170 * @param[in] image_data A PP_Resource corresponding to image data.
170 */ 171 */
171 void (*Unmap)(PP_Resource image_data); 172 void (*Unmap)(PP_Resource image_data);
172 }; 173 };
173 /** 174 /**
174 * @} 175 * @}
175 */ 176 */
176 177
177 #endif /* PPAPI_C_PPB_IMAGE_DATA_H_ */ 178 #endif /* PPAPI_C_PPB_IMAGE_DATA_H_ */
OLDNEW
« no previous file with comments | « ppapi/c/ppb_graphics_2d.h ('k') | ppapi/c/ppb_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698