diff options
author | dmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-07 06:49:00 +0000 |
---|---|---|
committer | dmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-07 06:49:00 +0000 |
commit | ddd61db54184ca4491521f8ce8f4e50a4ca5025f (patch) | |
tree | 5b39af5a2fc0910a9c33a7595432189ea716a9de /webkit/plugins/ppapi/npapi_glue.cc | |
parent | d4067421c536731f986013afb0551dc0bcc164c9 (diff) | |
download | chromium_src-ddd61db54184ca4491521f8ce8f4e50a4ca5025f.zip chromium_src-ddd61db54184ca4491521f8ce8f4e50a4ca5025f.tar.gz chromium_src-ddd61db54184ca4491521f8ce8f4e50a4ca5025f.tar.bz2 |
Draft of a PPAPI interface for ArrayBuffer.
See the TypedArray spec for reference:
http://www.khronos.org/registry/typedarray/specs/latest/
Things in the spec that I'm omiting:
- slice (Having a view of the ArrayBuffer that has a different offset/length)
TODO in future CLs:
-Implementation for in-process/trusted + tests (almost ready)
-NaCl proxy
-OOP proxy
Later still:
- Support for ArrayBufferView and TypedArray based on that.
BUG=103435
TEST=N/A
Review URL: http://codereview.chromium.org/8502030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113355 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins/ppapi/npapi_glue.cc')
-rw-r--r-- | webkit/plugins/ppapi/npapi_glue.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/plugins/ppapi/npapi_glue.cc b/webkit/plugins/ppapi/npapi_glue.cc index ecc5a41..7f166cd 100644 --- a/webkit/plugins/ppapi/npapi_glue.cc +++ b/webkit/plugins/ppapi/npapi_glue.cc @@ -75,6 +75,7 @@ bool PPVarToNPVariant(PP_Var var, NPVariant* result) { } case PP_VARTYPE_ARRAY: case PP_VARTYPE_DICTIONARY: + case PP_VARTYPE_ARRAY_BUFFER: VOID_TO_NPVARIANT(*result); break; } |