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

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

Issue 7292033: First pass at freezing stable pepper interfaces to 1.0. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 9 years, 5 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) 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_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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 * width * 4 since there may be padding at the end of the lines. 90 * width * 4 since there may be padding at the end of the lines.
91 */ 91 */
92 int32_t stride; 92 int32_t stride;
93 }; 93 };
94 PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_ImageDataDesc, 16); 94 PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_ImageDataDesc, 16);
95 /** 95 /**
96 * @} 96 * @}
97 */ 97 */
98 98
99 #define PPB_IMAGEDATA_INTERFACE_0_3 "PPB_ImageData;0.3" 99 #define PPB_IMAGEDATA_INTERFACE_0_3 "PPB_ImageData;0.3"
100 #define PPB_IMAGEDATA_INTERFACE PPB_IMAGEDATA_INTERFACE_0_3 100 #define PPB_IMAGEDATA_INTERFACE_1_0 "PPB_ImageData;1.0"
101 #define PPB_IMAGEDATA_INTERFACE PPB_IMAGEDATA_INTERFACE_1_0
101 102
102 /** 103 /**
103 * @addtogroup Interfaces 104 * @addtogroup Interfaces
104 * @{ 105 * @{
105 */ 106 */
106 107
107 /** 108 /**
108 * The <code>PPB_ImageData</code> interface contains pointers to several 109 * The <code>PPB_ImageData</code> interface contains pointers to several
109 * functions for determining the browser's treatment of image data. 110 * functions for determining the browser's treatment of image data.
110 */ 111 */
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 * @param[in] image_data A <code>PP_Resource</code> corresponding to image 204 * @param[in] image_data A <code>PP_Resource</code> corresponding to image
204 * data. 205 * data.
205 */ 206 */
206 void (*Unmap)(PP_Resource image_data); 207 void (*Unmap)(PP_Resource image_data);
207 }; 208 };
208 /** 209 /**
209 * @} 210 * @}
210 */ 211 */
211 212
212 #endif /* PPAPI_C_PPB_IMAGE_DATA_H_ */ 213 #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