| Index: webkit/glue/webmediaplayer_impl.h
|
| diff --git a/webkit/glue/webmediaplayer_impl.h b/webkit/glue/webmediaplayer_impl.h
|
| index e8794dc116d6b19728ebe66699a04925e8cac1d6..95c94951a88403c9b22f82d47e367099aabc9c0a 100644
|
| --- a/webkit/glue/webmediaplayer_impl.h
|
| +++ b/webkit/glue/webmediaplayer_impl.h
|
| @@ -103,6 +103,8 @@ class WebMediaPlayerImpl : public WebKit::WebMediaPlayer,
|
| void Paint(skia::PlatformCanvas* canvas, const gfx::Rect& dest_rect);
|
| void SetSize(const gfx::Rect& rect);
|
| void Detach();
|
| + void GetCurrentFrame(scoped_refptr<media::VideoFrame>* frame_out);
|
| + void PutCurrentFrame(scoped_refptr<media::VideoFrame> frame);
|
|
|
| // Public methods called from the pipeline via callback issued by
|
| // WebMediaPlayerImpl.
|
| @@ -229,6 +231,8 @@ class WebMediaPlayerImpl : public WebKit::WebMediaPlayer,
|
|
|
| virtual bool hasSingleSecurityOrigin() const;
|
| virtual WebKit::WebMediaPlayer::MovieLoadType movieLoadType() const;
|
| + virtual void getCurrentFrame(WebKit::WebVideoFrame** output);
|
| + virtual void putCurrentFrame(WebKit::WebVideoFrame* frame);
|
|
|
| // As we are closing the tab or even the browser, |main_loop_| is destroyed
|
| // even before this object gets destructed, so we need to know when
|
|
|