Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Unified Diff: webkit/plugins/ppapi/mock_plugin_delegate.h

Issue 9234064: Implement device enumeration for PPB_VideoCapture_Dev. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changes in response to Antoine's comments. Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/plugins/ppapi/mock_plugin_delegate.h
diff --git a/webkit/plugins/ppapi/mock_plugin_delegate.h b/webkit/plugins/ppapi/mock_plugin_delegate.h
index fbd961a23bf779cb8eaca65dad21336ea76ce521..d9cb34ee11131c8692805b1cc43afe400b46bd4d 100644
--- a/webkit/plugins/ppapi/mock_plugin_delegate.h
+++ b/webkit/plugins/ppapi/mock_plugin_delegate.h
@@ -31,7 +31,8 @@ class MockPluginDelegate : public PluginDelegate {
media::VideoDecodeAccelerator::Client* client,
int32 command_buffer_route_id);
virtual PlatformVideoCapture* CreateVideoCapture(
- media::VideoCapture::EventHandler* handler);
+ const std::string& device_id,
+ PlatformVideoCaptureEventHandler* handler);
virtual PlatformAudio* CreateAudio(uint32_t sample_rate,
uint32_t sample_count,
PlatformAudioCommonClient* client);
@@ -156,6 +157,8 @@ class MockPluginDelegate : public PluginDelegate {
virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE;
virtual bool IsInFullscreenMode();
virtual bool IsPageVisible() const;
+ virtual int EnumerateDevices(PP_DeviceType_Dev type,
+ const EnumerateDevicesCallback& callback);
};
} // namespace ppapi

Powered by Google App Engine
This is Rietveld 408576698