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

Unified Diff: ppapi/api/pp_var.idl

Issue 8502030: Draft of a PPAPI interface for ArrayBuffer and typed arrays. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge 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
« no previous file with comments | « ppapi/api/dev/ppb_var_array_buffer_dev.idl ('k') | ppapi/c/dev/ppb_var_array_buffer_dev.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/api/pp_var.idl
diff --git a/ppapi/api/pp_var.idl b/ppapi/api/pp_var.idl
index 1a6ad7e62b3f6b6cc7712c8148bf9ae2fde7d2a9..8a1b05ab0ab39c98313671b8845454ba94145a6a 100644
--- a/ppapi/api/pp_var.idl
+++ b/ppapi/api/pp_var.idl
@@ -61,7 +61,16 @@ enum PP_VarType {
* module will continue to work with future versions of the API.
*/
PP_VARTYPE_ARRAY = 7,
- PP_VARTYPE_DICTIONARY = 8
+ PP_VARTYPE_DICTIONARY = 8,
+
+ /**
+ * ArrayBuffer represents a JavaScript ArrayBuffer. This is the type which
+ * represents Typed Arrays in JavaScript. Unlike JavaScript 'Array', it is
+ * only meant to contain basic numeric types, and is always stored
+ * contiguously. See PPB_VarArrayBuffer_Dev for functions special to
+ * ArrayBuffer vars.
+ */
+ PP_VARTYPE_ARRAY_BUFFER = 9
};
« no previous file with comments | « ppapi/api/dev/ppb_var_array_buffer_dev.idl ('k') | ppapi/c/dev/ppb_var_array_buffer_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698