diff options
author | raymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-11 02:02:11 +0000 |
---|---|---|
committer | raymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-11 02:02:11 +0000 |
commit | 11d0c36550b865bc690712a07bca9de01b91000c (patch) | |
tree | 58aa6ffaabbfbdfe4dcb99ca7dd1010336ab5928 /ppapi/proxy/ppb_instance_proxy.h | |
parent | 70c7b2f7275b0815a97df029ed599ed7e46c7bfb (diff) | |
download | chromium_src-11d0c36550b865bc690712a07bca9de01b91000c.zip chromium_src-11d0c36550b865bc690712a07bca9de01b91000c.tar.gz chromium_src-11d0c36550b865bc690712a07bca9de01b91000c.tar.bz2 |
Implement plugin side of sync EnumerateVideoCaptureDevices
This implements the plugin side of PPB_Flash::EnumerateVideoCaptureDevices which is a synchronous version of PPB_VideoCapture::EnumerateVideoDevices. The result is output into a PP_ArrayOutput. This also adds a unittest which does some basic testing of the messages sent, but mainly demonstrates how to write PluginResource unittests when dealing with sync messages (and adds some infrastructure to make it easy to do this).
Once VideoCapture is implemented as a new-style resource, the code for this will simplify a lot.
Review URL: https://chromiumcodereview.appspot.com/11039012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161265 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/ppb_instance_proxy.h')
-rw-r--r-- | ppapi/proxy/ppb_instance_proxy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ppapi/proxy/ppb_instance_proxy.h b/ppapi/proxy/ppb_instance_proxy.h index 61155b6d..274d1e3 100644 --- a/ppapi/proxy/ppb_instance_proxy.h +++ b/ppapi/proxy/ppb_instance_proxy.h @@ -70,6 +70,8 @@ class PPB_Instance_Proxy : public InterfaceProxy, virtual PP_Bool GetScreenSize(PP_Instance instance, PP_Size* size) OVERRIDE; virtual thunk::PPB_Flash_API* GetFlashAPI() OVERRIDE; + virtual thunk::PPB_Flash_Functions_API* GetFlashFunctionsAPI( + PP_Instance instance) OVERRIDE; virtual thunk::PPB_Gamepad_API* GetGamepadAPI(PP_Instance instance) OVERRIDE; virtual int32_t RequestInputEvents(PP_Instance instance, uint32_t event_classes) OVERRIDE; |