| Index: webkit/plugins/ppapi/plugin_delegate.h
|
| diff --git a/webkit/plugins/ppapi/plugin_delegate.h b/webkit/plugins/ppapi/plugin_delegate.h
|
| index 7c2ad189559f16c69cd8c7ce5de3f0b088c7a55e..c094a974ce77053d1fe193dba808ae550b974648 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"
|
| @@ -219,6 +220,11 @@ class PluginDelegate {
|
| virtual ~PlatformVideoDecoder() {}
|
| };
|
|
|
| + class PlatformVideoCapture : public media::VideoCapture {
|
| + public:
|
| + virtual ~PlatformVideoCapture() {}
|
| + };
|
| +
|
| // Provides access to the ppapi broker.
|
| class PpapiBroker {
|
| public:
|
| @@ -261,6 +267,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;
|
|
|