summaryrefslogtreecommitdiffstats
path: root/ppapi/api
diff options
context:
space:
mode:
authornoelallen@google.com <noelallen@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-19 23:25:48 +0000
committernoelallen@google.com <noelallen@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-19 23:25:48 +0000
commitbf5bdfffbe033f9bcce95dc0a3c841344fa10adb (patch)
tree6bc91f074a5391a25d117fa53b1e39c1a1d71732 /ppapi/api
parent5e0a917feb3abdc18eac7951f178be5b9458a8d0 (diff)
downloadchromium_src-bf5bdfffbe033f9bcce95dc0a3c841344fa10adb.zip
chromium_src-bf5bdfffbe033f9bcce95dc0a3c841344fa10adb.tar.gz
chromium_src-bf5bdfffbe033f9bcce95dc0a3c841344fa10adb.tar.bz2
Missing changes for IDL
To minor changes to comments for the IDL. Updated pp_stdint.idl so that we could generate it instead of checking in pp_stdint.h. In addition it now provides a location for defining built in types. Eventually we can migrate type properties into this file. Review URL: http://codereview.chromium.org/7448005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93125 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/api')
-rw-r--r--ppapi/api/pp_stdint.idl41
-rw-r--r--ppapi/api/trusted/ppb_file_io_trusted.idl8
2 files changed, 45 insertions, 4 deletions
diff --git a/ppapi/api/pp_stdint.idl b/ppapi/api/pp_stdint.idl
index 51a3eeb..fba15dd 100644
--- a/ppapi/api/pp_stdint.idl
+++ b/ppapi/api/pp_stdint.idl
@@ -9,7 +9,46 @@
* for trusted modules.
*/
-#inline
+label Chrome {
+ M13 = 0.0,
+ M14 = 1.0
+};
+
+[version=0.0]
+describe {
+ /** Standard Ints. */
+ int8_t;
+ int16_t;
+ int32_t;
+ int64_t;
+ uint8_t;
+ uint16_t;
+ uint32_t;
+ uint64_t;
+ /** Small and large floats. */
+ double_t;
+ float_t;
+
+ /** Native file handle (int). */
+ handle_t;
+
+ /** Interface object (void *). */
+ interface_t;
+
+ /** Used for padding, should be (u)int8_t */
+ char;
+
+ /** Pointer to memory (void *). */
+ mem_t;
+
+ /** Pointer to null terminated string (char *). */
+ str_t;
+
+ /** No return value. */
+ void;
+};
+
+#inline c
/**
*
diff --git a/ppapi/api/trusted/ppb_file_io_trusted.idl b/ppapi/api/trusted/ppb_file_io_trusted.idl
index 12f167a..a3c35e7 100644
--- a/ppapi/api/trusted/ppb_file_io_trusted.idl
+++ b/ppapi/api/trusted/ppb_file_io_trusted.idl
@@ -22,9 +22,11 @@ interface PPB_FileIOTrusted {
*/
int32_t GetOSFileDescriptor([in] PP_Resource file_io);
- // Notifies the browser that underlying file will be modified. This gives
- // the browser the opportunity to apply quota restrictions and possibly
- // return an error to indicate that the write is not allowed.
+ /**
+ * Notifies the browser that underlying file will be modified. This gives
+ * the browser the opportunity to apply quota restrictions and possibly
+ * return an error to indicate that the write is not allowed.
+ */
int32_t WillWrite([in] PP_Resource file_io,
[in] int64_t offset,
[in] int32_t bytes_to_write,