Chromium Code Reviews| 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
|
| }; |