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

Unified Diff: media/base/renderer.h

Issue 1083683003: Speculative revert by sheriff (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed an unrelated commit that had accidentally slipped in. Created 5 years, 8 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 | « media/base/pipeline_unittest.cc ('k') | media/base/renderer_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/renderer.h
diff --git a/media/base/renderer.h b/media/base/renderer.h
index 31661c48757a49b98445e1b45ef268a25f9e011d..e3647f75fbeee059a0b4f5631d36518cc8ba1f57 100644
--- a/media/base/renderer.h
+++ b/media/base/renderer.h
@@ -38,6 +38,9 @@ class MEDIA_EXPORT Renderer {
// Permanent callbacks:
// - |statistics_cb|: Executed periodically with rendering statistics.
// - |buffering_state_cb|: Executed when buffering state is changed.
+ // - |paint_cb|: Executed when there is a VideoFrame ready to paint. Can be
+ // ignored if the Renderer handles the painting by itself. Can
+ // be called from any thread.
// - |ended_cb|: Executed when rendering has reached the end of stream.
// - |error_cb|: Executed if any error was encountered after initialization.
// - |waiting_for_decryption_key_cb|: Executed whenever the key needed to
@@ -47,6 +50,7 @@ class MEDIA_EXPORT Renderer {
const PipelineStatusCB& init_cb,
const StatisticsCB& statistics_cb,
const BufferingStateCB& buffering_state_cb,
+ const PaintCB& paint_cb,
const base::Closure& ended_cb,
const PipelineStatusCB& error_cb,
const base::Closure& waiting_for_decryption_key_cb) = 0;
« no previous file with comments | « media/base/pipeline_unittest.cc ('k') | media/base/renderer_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698