| Index: webkit/glue/media/web_video_renderer.h
|
| diff --git a/webkit/glue/media/web_video_renderer.h b/webkit/glue/media/web_video_renderer.h
|
| index efd31095ed2f944a1525bc404f6bcb25f1c5f4e3..161f85d5a9b4aa7b41c048ca6743cf5119ad45ba 100644
|
| --- a/webkit/glue/media/web_video_renderer.h
|
| +++ b/webkit/glue/media/web_video_renderer.h
|
| @@ -28,6 +28,17 @@ class WebVideoRenderer : public media::VideoRendererBase {
|
| // Method called on the render thread.
|
| virtual void SetRect(const gfx::Rect& rect) = 0;
|
|
|
| + // Paint the current front frame on the |bitmap|.
|
| + // Returns true if there was anything to render.
|
| + //
|
| + // Method called on the render thread.
|
| + virtual bool GetCurrentBitmap(SkBitmap* bitmap) = 0;
|
| +
|
| + // Scales the given bitmap to the given canvas.
|
| + virtual void CopyBitmapToCanvas(const SkBitmap& bitmap,
|
| + skia::PlatformCanvas* canvas,
|
| + const gfx::Rect& dest_rect) = 0;
|
| +
|
| // Paint the current front frame on the |canvas| stretching it to fit the
|
| // |dest_rect|.
|
| //
|
|
|