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

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

Issue 7553003: Video Capture Pepper API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make Clang happy Created 9 years, 4 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
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.cc ('k') | webkit/plugins/ppapi/plugin_module.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.cc ('k') | webkit/plugins/ppapi/plugin_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698