summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/ppapi/plugin_delegate.h
diff options
context:
space:
mode:
authorvrk@google.com <vrk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-10 22:01:32 +0000
committervrk@google.com <vrk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-10 22:01:32 +0000
commit48e1ffea05883acdc563f767211dfbc0fbc41df7 (patch)
treec4fa65547f41aa48c4e7bd740e7d964a86b3d7c8 /webkit/plugins/ppapi/plugin_delegate.h
parent4f74b78fabcacdc703d725cdd704ec5edb141d95 (diff)
downloadchromium_src-48e1ffea05883acdc563f767211dfbc0fbc41df7.zip
chromium_src-48e1ffea05883acdc563f767211dfbc0fbc41df7.tar.gz
chromium_src-48e1ffea05883acdc563f767211dfbc0fbc41df7.tar.bz2
Update VideoDecode PPAPI structs to be consistent with media structures, part 1
This patch fixes some of the inconsistencies between the VideoDecode structs in the ppapi namespace and their wrappers in the media namespace. It also implements some of the hooks to pass messages to and from the browser and plugin. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6901036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84871 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins/ppapi/plugin_delegate.h')
-rw-r--r--webkit/plugins/ppapi/plugin_delegate.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/webkit/plugins/ppapi/plugin_delegate.h b/webkit/plugins/ppapi/plugin_delegate.h
index bbd7cfe..d05e8e9 100644
--- a/webkit/plugins/ppapi/plugin_delegate.h
+++ b/webkit/plugins/ppapi/plugin_delegate.h
@@ -16,6 +16,7 @@
#include "base/time.h"
#include "googleurl/src/gurl.h"
#include "media/video/video_decode_accelerator.h"
+#include "ppapi/c/dev/pp_video_dev.h"
#include "ppapi/c/pp_completion_callback.h"
#include "ppapi/c/pp_errors.h"
#include "ppapi/c/pp_instance.h"
@@ -61,7 +62,6 @@ class P2PTransport;
} // namespace webkit_glue
struct PP_Flash_NetAddress;
-struct PP_VideoDecoderConfig_Dev;
class TransportDIB;
@@ -251,7 +251,8 @@ class PluginDelegate {
// The caller will own the pointer returned from this.
virtual PlatformVideoDecoder* CreateVideoDecoder(
- PP_VideoDecoderConfig_Dev* decoder_config) = 0;
+ PP_VideoConfigElement* decoder_config,
+ media::VideoDecodeAccelerator::Client* client) = 0;
// The caller is responsible for calling Shutdown() on the returned pointer
// to clean up the corresponding resources allocated during this call.