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

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: Oops, remove Resize Created 9 years, 1 month 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/api/pp_var.idl
diff --git a/ppapi/api/pp_var.idl b/ppapi/api/pp_var.idl
index 5927cbcf5435f8083c5988a9cedd9461688ad96e..7e706cc0b5d199493ff298b0b8b92dd8b56a522b 100644
--- a/ppapi/api/pp_var.idl
+++ b/ppapi/api/pp_var.idl
@@ -61,7 +61,15 @@ enum PP_VarType {
* module will continue to work with future versions of the API.
*/
PP_VARTYPE_ARRAY,
- PP_VARTYPE_DICTIONARY
+ PP_VARTYPE_DICTIONARY,
+
+ /**
+ * 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.
+ */
+ PP_VARTYPE_ARRAY_BUFFER
darin (slow to review) 2011/11/08 22:16:18 I'm very curious about the idea of making this be
dmichael (off chromium) 2011/11/08 22:32:20 PPB_Buffer is a PP_Resource, whereas I really want
};

Powered by Google App Engine
This is Rietveld 408576698