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

Unified Diff: ppapi/c/ppb_image_data.h

Issue 8989006: Update PPAPI IDL generator to define versioned structs, and unversioned typedef. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ppapi/tests/ forward declares to includes. Created 9 years 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/c/ppb_image_data.h
diff --git a/ppapi/c/ppb_image_data.h b/ppapi/c/ppb_image_data.h
index e8b42c484b5b0737964d5e4b06038914ff21e69a..0ed8e652bbc8f11db8888ed3003e146f0d26b1bf 100644
--- a/ppapi/c/ppb_image_data.h
+++ b/ppapi/c/ppb_image_data.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From ppb_image_data.idl modified Mon Aug 29 10:11:34 2011. */
+/* From ppb_image_data.idl modified Wed Oct 5 14:06:02 2011. */
#ifndef PPAPI_C_PPB_IMAGE_DATA_H_
#define PPAPI_C_PPB_IMAGE_DATA_H_
@@ -105,7 +105,7 @@ PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_ImageDataDesc, 16);
* The <code>PPB_ImageData</code> interface contains pointers to several
* functions for determining the browser's treatment of image data.
*/
-struct PPB_ImageData {
+struct PPB_ImageData_1_0 {
/**
* GetNativeImageDataFormat() returns the browser's preferred format for
* image data. The browser uses this format internally for painting. Other
@@ -195,6 +195,8 @@ struct PPB_ImageData {
*/
void (*Unmap)(PP_Resource image_data);
};
+
+typedef struct PPB_ImageData_1_0 PPB_ImageData;
/**
* @}
*/

Powered by Google App Engine
This is Rietveld 408576698