summaryrefslogtreecommitdiffstats
path: root/ppapi/c/ppb_image_data.h
diff options
context:
space:
mode:
authornoelallen@google.com <noelallen@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-17 20:45:57 +0000
committernoelallen@google.com <noelallen@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-17 20:45:57 +0000
commit49aa13876dd02aeea1b22443a127796c9a3bfebd (patch)
tree9a5a1ecc878359f21e5fe97a9bdc6ac94fdfae3c /ppapi/c/ppb_image_data.h
parent51e2f797693a966fca67779eb67475184be2c24d (diff)
downloadchromium_src-49aa13876dd02aeea1b22443a127796c9a3bfebd.zip
chromium_src-49aa13876dd02aeea1b22443a127796c9a3bfebd.tar.gz
chromium_src-49aa13876dd02aeea1b22443a127796c9a3bfebd.tar.bz2
Update placement of interface 'Define'
A minor change to the way we output the headers. This change moves the defines which are used to name the interfaces and thier versions to the top of the header, moving out of the @file block. This prevents them from being 'spewed' in the documentation. BUG= none TEST= none Review URL: http://codereview.chromium.org/7669001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97201 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/c/ppb_image_data.h')
-rw-r--r--ppapi/c/ppb_image_data.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/ppapi/c/ppb_image_data.h b/ppapi/c/ppb_image_data.h
index d06602e..d81a97b 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 Sat Jul 16 16:50:26 2011. */
+/* From ppb_image_data.idl modified Mon Aug 15 11:01:06 2011. */
#ifndef PPAPI_C_PPB_IMAGE_DATA_H_
#define PPAPI_C_PPB_IMAGE_DATA_H_
@@ -15,6 +15,10 @@
#include "ppapi/c/pp_size.h"
#include "ppapi/c/pp_stdint.h"
+#define PPB_IMAGEDATA_INTERFACE_0_3 "PPB_ImageData;0.3"
+#define PPB_IMAGEDATA_INTERFACE_1_0 "PPB_ImageData;1.0"
+#define PPB_IMAGEDATA_INTERFACE PPB_IMAGEDATA_INTERFACE_1_0
+
/**
* @file
* This file defines the <code>PPB_ImageData</code> struct for determining how
@@ -102,10 +106,6 @@ 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.
*/
-#define PPB_IMAGEDATA_INTERFACE_0_3 "PPB_ImageData;0.3"
-#define PPB_IMAGEDATA_INTERFACE_1_0 "PPB_ImageData;1.0"
-#define PPB_IMAGEDATA_INTERFACE PPB_IMAGEDATA_INTERFACE_1_0
-
struct PPB_ImageData {
/**
* GetNativeImageDataFormat() returns the browser's preferred format for