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

Unified Diff: media/base/video_renderer.h

Issue 2372863002: Rename VideoRenderer::OnTimeStateChanged to OnTime{Progressing,Stopped} (Closed)
Patch Set: suggestion Created 4 years, 3 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/mock_filters.h ('k') | media/renderers/renderer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/video_renderer.h
diff --git a/media/base/video_renderer.h b/media/base/video_renderer.h
index bc7c1efbd101b932c4271c3cb0aa58766fc74695..168b7e8ff0771e46178f37c47c553b6092f63616 100644
--- a/media/base/video_renderer.h
+++ b/media/base/video_renderer.h
@@ -54,8 +54,9 @@ class MEDIA_EXPORT VideoRenderer {
// Called when time starts or stops moving. Time progresses when a base time
// has been set and the playback rate is > 0. If either condition changes,
- // |time_progressing| will be false.
- virtual void OnTimeStateChanged(bool time_progressing) = 0;
+ // time stops progressing.
+ virtual void OnTimeProgressing() = 0;
+ virtual void OnTimeStopped() = 0;
private:
DISALLOW_COPY_AND_ASSIGN(VideoRenderer);
« no previous file with comments | « media/base/mock_filters.h ('k') | media/renderers/renderer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698