summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins/pepper_video_decoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/plugins/pepper_video_decoder.h')
-rw-r--r--webkit/glue/plugins/pepper_video_decoder.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/webkit/glue/plugins/pepper_video_decoder.h b/webkit/glue/plugins/pepper_video_decoder.h
index 67ac6c0..c828709 100644
--- a/webkit/glue/plugins/pepper_video_decoder.h
+++ b/webkit/glue/plugins/pepper_video_decoder.h
@@ -6,11 +6,14 @@
#define WEBKIT_GLUE_PLUGINS_PEPPER_VIDEO_DECODER_H_
#include "base/scoped_ptr.h"
-#include "third_party/ppapi/c/pp_video.h"
-#include "third_party/ppapi/c/ppb_video_decoder.h"
#include "webkit/glue/plugins/pepper_plugin_delegate.h"
#include "webkit/glue/plugins/pepper_resource.h"
+struct PP_VideoDecoderConfig_Dev;
+struct PP_VideoCompressedDataBuffer_Dev;
+struct PP_VideoUncompressedDataBuffer_Dev;
+struct PPB_VideoDecoder_Dev;
+
namespace pepper {
class PluginInstance;
@@ -22,7 +25,7 @@ class VideoDecoder : public Resource {
// Returns a pointer to the interface implementing PPB_VideoDecoder that is
// exposed to the plugin.
- static const PPB_VideoDecoder* GetInterface();
+ static const PPB_VideoDecoder_Dev* GetInterface();
// Resource overrides.
VideoDecoder* AsVideoDecoder() { return this; }
@@ -30,10 +33,10 @@ class VideoDecoder : public Resource {
PluginInstance* instance() { return instance_.get(); }
// PPB_VideoDecoder implementation.
- bool Init(const PP_VideoDecoderConfig& decoder_config);
- bool Decode(PP_VideoCompressedDataBuffer& input_buffer);
+ bool Init(const PP_VideoDecoderConfig_Dev& decoder_config);
+ bool Decode(PP_VideoCompressedDataBuffer_Dev& input_buffer);
int32_t Flush(PP_CompletionCallback& callback);
- bool ReturnUncompressedDataBuffer(PP_VideoUncompressedDataBuffer& buffer);
+ bool ReturnUncompressedDataBuffer(PP_VideoUncompressedDataBuffer_Dev& buffer);
private:
// This is NULL before initialization, and if this VideoDecoder is