summaryrefslogtreecommitdiff
path: root/Source/WebKit/chromium/src/WebMediaPlayerClientImpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/chromium/src/WebMediaPlayerClientImpl.h')
-rw-r--r--Source/WebKit/chromium/src/WebMediaPlayerClientImpl.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/Source/WebKit/chromium/src/WebMediaPlayerClientImpl.h b/Source/WebKit/chromium/src/WebMediaPlayerClientImpl.h
index e75e73ae1..d85e0d1fc 100644
--- a/Source/WebKit/chromium/src/WebMediaPlayerClientImpl.h
+++ b/Source/WebKit/chromium/src/WebMediaPlayerClientImpl.h
@@ -40,7 +40,9 @@
#include "VideoLayerChromium.h"
#include "WebAudioSourceProviderClient.h"
#include "WebMediaPlayerClient.h"
+#include "WebStreamTextureClient.h"
#include <wtf/OwnPtr.h>
+#include <wtf/PassOwnPtr.h>
namespace WebCore { class AudioSourceProviderClient; }
@@ -56,7 +58,8 @@ class WebMediaPlayerClientImpl : public WebCore::MediaPlayerPrivateInterface
#if USE(ACCELERATED_COMPOSITING)
, public WebCore::VideoFrameProvider
#endif
- , public WebMediaPlayerClient {
+ , public WebMediaPlayerClient
+ , public WebStreamTextureClient {
public:
static bool isEnabled();
@@ -150,6 +153,10 @@ public:
virtual void sourceEndOfStream(WebCore::MediaPlayer::EndOfStreamStatus);
#endif
+ // WebStreamTextureClient methods:
+ virtual void didReceiveFrame();
+ virtual void didUpdateMatrix(const float*);
+
private:
WebMediaPlayerClientImpl();
void startDelayedLoad();