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

Unified Diff: webkit/glue/webmediaplayer_impl.h

Issue 164403: Implemented end-of-stream callback for media::PipelineImpl. (Closed)
Patch Set: Baz Created 11 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 | « media/filters/video_renderer_base_unittest.cc ('k') | webkit/glue/webmediaplayer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webmediaplayer_impl.h
diff --git a/webkit/glue/webmediaplayer_impl.h b/webkit/glue/webmediaplayer_impl.h
index 187c753880a58f78e7c258def2ea48e4bcad1e7c..da1b142bfe0a3bcdd06537db687a380ffdb2c176 100644
--- a/webkit/glue/webmediaplayer_impl.h
+++ b/webkit/glue/webmediaplayer_impl.h
@@ -106,6 +106,7 @@ class WebMediaPlayerImpl : public WebKit::WebMediaPlayer,
// WebMediaPlayerImpl.
void PipelineInitializationCallback();
void PipelineSeekCallback();
+ void PipelineEndedCallback();
void PipelineErrorCallback();
private:
@@ -118,6 +119,9 @@ class WebMediaPlayerImpl : public WebKit::WebMediaPlayer,
// Notify |webmediaplayer_| that a seek has finished.
void PipelineSeekTask();
+ // Notify |webmediaplayer_| that the media has ended.
+ void PipelineEndedTask();
+
// Notify |webmediaplayer_| that a pipeline error has been set.
void PipelineErrorTask();
@@ -220,6 +224,8 @@ class WebMediaPlayerImpl : public WebKit::WebMediaPlayer,
void OnPipelineSeek();
+ void OnPipelineEnded();
+
void OnPipelineError();
private:
« no previous file with comments | « media/filters/video_renderer_base_unittest.cc ('k') | webkit/glue/webmediaplayer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698