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

Unified Diff: webkit/media/webmediaplayer_proxy.h

Issue 10854151: Allow transitioning to HAVE_METADATA before pipeline initialization completes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: webkit/media/webmediaplayer_proxy.h
diff --git a/webkit/media/webmediaplayer_proxy.h b/webkit/media/webmediaplayer_proxy.h
index 30bd1d544c59d2e57a01169d6304cd17029f3bc8..84e96606cbb7c4f488a9e6ec9f0122182f41c521 100644
--- a/webkit/media/webmediaplayer_proxy.h
+++ b/webkit/media/webmediaplayer_proxy.h
@@ -79,6 +79,7 @@ class WebMediaPlayerProxy
void PipelineSeekCallback(media::PipelineStatus status);
void PipelineEndedCallback(media::PipelineStatus status);
void PipelineErrorCallback(media::PipelineStatus error);
+ void PipelineReadyStateCallback(media::Pipeline::ReadyState readyState);
// ChunkDemuxerClient implementation.
virtual void DemuxerOpened(media::ChunkDemuxer* demuxer) OVERRIDE;
@@ -137,6 +138,9 @@ class WebMediaPlayerProxy
// playback.
void PipelineErrorTask(media::PipelineStatus error);
+ // Notify |webmediaplayer_| of readyState changes.
+ void PipelineReadyStateTask(media::Pipeline::ReadyState readyState);
+
// Inform |webmediaplayer_| whether the video content is opaque.
void SetOpaqueTask(bool opaque);

Powered by Google App Engine
This is Rietveld 408576698