summaryrefslogtreecommitdiffstats
path: root/ppapi/api/pp_var.idl
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/api/pp_var.idl')
-rw-r--r--ppapi/api/pp_var.idl11
1 files changed, 10 insertions, 1 deletions
diff --git a/ppapi/api/pp_var.idl b/ppapi/api/pp_var.idl
index 1a6ad7e..8a1b05a 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
};