diff options
author | toyoshim@chromium.org <toyoshim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-19 06:22:51 +0000 |
---|---|---|
committer | toyoshim@chromium.org <toyoshim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-19 06:22:51 +0000 |
commit | 8778b63e6ab02be9c2feef92a13fdca3f2ae4f28 (patch) | |
tree | ae9746f8f453754bc870bd39d8a1d139d0848989 /ppapi/api/dev | |
parent | a189a701d7fefe3c26b76efa529dc3e956e28c30 (diff) | |
download | chromium_src-8778b63e6ab02be9c2feef92a13fdca3f2ae4f28.zip chromium_src-8778b63e6ab02be9c2feef92a13fdca3f2ae4f28.tar.gz chromium_src-8778b63e6ab02be9c2feef92a13fdca3f2ae4f28.tar.bz2 |
WebSocket Pepper API: WebArrayBuffer support
- support SetBinaryType()
- support WebArrayBuffer and stop supporting WebData
- use Var instead of PP_Var to hold received messages
- Add C++ interfaces to handle binary types
BUG=87310
TEST=ui_test --gtest_filter='PPAPITest.WebSocket_*'
Review URL: http://codereview.chromium.org/9026007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118258 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/api/dev')
-rw-r--r-- | ppapi/api/dev/ppb_websocket_dev.idl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ppapi/api/dev/ppb_websocket_dev.idl b/ppapi/api/dev/ppb_websocket_dev.idl index 31c44a6..0836038 100644 --- a/ppapi/api/dev/ppb_websocket_dev.idl +++ b/ppapi/api/dev/ppb_websocket_dev.idl @@ -336,7 +336,7 @@ interface PPB_WebSocket_Dev { * @param[in] web_socket A <code>PP_Resource</code> corresponding to a * WebSocket. * - * @param[in] binary_type Binary object type for receibing binary frames + * @param[in] binary_type Binary object type for receiving binary frames * representation. * * @return Returns <code>PP_FALSE</code> if the specified type is not @@ -347,13 +347,13 @@ interface PPB_WebSocket_Dev { [in] PP_WebSocketBinaryType_Dev binary_type); /** - * GetBinaryType() returns currently specified binary object type for - * receiving binary frames representation. + * GetBinaryType() returns the currently specified binary object type for + * receiving binary frames. * * @param[in] web_socket A <code>PP_Resource</code> corresponding to a * WebSocket. * - * @return Returns <code>PP_WebSocketBinaryType_Dev</code> represents + * @return Returns <code>PP_WebSocketBinaryType_Dev</code> represents the * current binary object type. */ [version=0.9] |