Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Unified Diff: webkit/glue/media/web_video_renderer.h

Issue 7726002: Completely random typo fixes and style corrections cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR response. Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/media/video_renderer_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 aa938a8e33e36af6503d081990ab33ab9cdf6779..c2762e19e8d736bb1c3d8f1206e4b41668492dbf 100644
--- a/webkit/glue/media/web_video_renderer.h
+++ b/webkit/glue/media/web_video_renderer.h
@@ -36,17 +36,7 @@ class WebVideoRenderer : public media::VideoRendererBase {
// |dest_rect|.
//
// Method called on the render thread.
- virtual void Paint(SkCanvas* canvas,
- const gfx::Rect& dest_rect) = 0;
-
- // Clients of this class (painter/compositor) should use GetCurrentFrame()
- // obtain ownership of VideoFrame, it should always relinquish the ownership
- // by use PutCurrentFrame(). Current frame is not guaranteed to be non-NULL.
- // It expects clients to use color-fill the background if current frame
- // is NULL. This could happen when before pipeline is pre-rolled or during
- // pause/flush/seek.
- virtual void GetCurrentFrame(scoped_refptr<media::VideoFrame>* frame_out) {}
- virtual void PutCurrentFrame(scoped_refptr<media::VideoFrame> frame) {}
+ virtual void Paint(SkCanvas* canvas, const gfx::Rect& dest_rect) = 0;
private:
DISALLOW_COPY_AND_ASSIGN(WebVideoRenderer);
« no previous file with comments | « webkit/glue/media/video_renderer_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698