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 /ppapi/proxy/serialized_var.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 'ppapi/proxy/serialized_var.cc')
-rw-r--r-- | ppapi/proxy/serialized_var.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ppapi/proxy/serialized_var.cc b/ppapi/proxy/serialized_var.cc index afd493f..7a9eb6f 100644 --- a/ppapi/proxy/serialized_var.cc +++ b/ppapi/proxy/serialized_var.cc @@ -157,6 +157,7 @@ void SerializedVar::Inner::WriteToMessage(IPC::Message* m) const { break; case PP_VARTYPE_ARRAY: case PP_VARTYPE_DICTIONARY: + case PP_VARTYPE_ARRAY_BUFFER: // TODO(brettw) when these are supported, implement this. NOTIMPLEMENTED(); break; |