| Index: webkit/plugins/ppapi/plugin_delegate.h
|
| diff --git a/webkit/plugins/ppapi/plugin_delegate.h b/webkit/plugins/ppapi/plugin_delegate.h
|
| index a776ea2fc37e8a4248cd002de90810e7db2f1b63..38e659122bdaf0261eee10a029af045f21380d9d 100644
|
| --- a/webkit/plugins/ppapi/plugin_delegate.h
|
| +++ b/webkit/plugins/ppapi/plugin_delegate.h
|
| @@ -15,6 +15,7 @@
|
| #include "base/sync_socket.h"
|
| #include "base/time.h"
|
| #include "googleurl/src/gurl.h"
|
| +#include "media/video/capture/video_capture.h"
|
| #include "media/video/video_decode_accelerator.h"
|
| #include "ppapi/c/dev/pp_video_dev.h"
|
| #include "ppapi/c/pp_completion_callback.h"
|
| @@ -220,6 +221,11 @@ class PluginDelegate {
|
| virtual ~PlatformVideoDecoder() {}
|
| };
|
|
|
| + class PlatformVideoCapture : public media::VideoCapture {
|
| + public:
|
| + virtual ~PlatformVideoCapture() {}
|
| + };
|
| +
|
| // Provides access to the ppapi broker.
|
| class PpapiBroker {
|
| public:
|
| @@ -262,6 +268,10 @@ class PluginDelegate {
|
| virtual PlatformContext3D* CreateContext3D() = 0;
|
|
|
| // The caller will own the pointer returned from this.
|
| + virtual PlatformVideoCapture* CreateVideoCapture(
|
| + media::VideoCapture::EventHandler* handler) = 0;
|
| +
|
| + // The caller will own the pointer returned from this.
|
| virtual PlatformVideoDecoder* CreateVideoDecoder(
|
| media::VideoDecodeAccelerator::Client* client,
|
| int32 command_buffer_route_id) = 0;
|
|
|