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

Unified Diff: webkit/media/webmediaplayer_proxy.h

Issue 10855188: media::BindToLoop() is born, with example uses to slim down WebMediaPlayerProxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased 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
« no previous file with comments | « webkit/media/webmediaplayer_impl.cc ('k') | webkit/media/webmediaplayer_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/media/webmediaplayer_proxy.h
diff --git a/webkit/media/webmediaplayer_proxy.h b/webkit/media/webmediaplayer_proxy.h
index 6c78d279dfe0f1f1d9873b8b9ec8bc57a29b8c07..9e6ca4ffe240ad0b417255214c27c030170eadb6 100644
--- a/webkit/media/webmediaplayer_proxy.h
+++ b/webkit/media/webmediaplayer_proxy.h
@@ -62,7 +62,6 @@ class WebMediaPlayerProxy
// Methods for Filter -> WebMediaPlayerImpl communication.
void Repaint();
- void SetOpaque(bool opaque);
// Methods for WebMediaPlayerImpl -> Filter communication.
void Paint(SkCanvas* canvas, const gfx::Rect& dest_rect, uint8_t alpha);
@@ -74,13 +73,6 @@ class WebMediaPlayerProxy
void AbortDataSource();
- // Methods for Pipeline -> WebMediaPlayerImpl communication.
- void PipelineSeekCallback(media::PipelineStatus status);
- void PipelineEndedCallback(media::PipelineStatus status);
- void PipelineErrorCallback(media::PipelineStatus error);
- void PipelineBufferingStateCallback(
- media::Pipeline::BufferingState buffering_state);
-
// ChunkDemuxerClient implementation.
virtual void DemuxerOpened(media::ChunkDemuxer* demuxer) OVERRIDE;
virtual void DemuxerClosed() OVERRIDE;
@@ -125,23 +117,6 @@ class WebMediaPlayerProxy
// Invoke |webmediaplayer_| to perform a repaint.
void RepaintTask();
- // Notify |webmediaplayer_| that a seek has finished.
- void PipelineSeekTask(media::PipelineStatus status);
-
- // Notify |webmediaplayer_| that the media has ended.
- void PipelineEndedTask(media::PipelineStatus status);
-
- // Notify |webmediaplayer_| that a pipeline error has occurred during
- // playback.
- void PipelineErrorTask(media::PipelineStatus error);
-
- // Notify |webmediaplayer_| of buffering state changes.
- void PipelineBufferingStateTask(
- media::Pipeline::BufferingState buffering_state);
-
- // Inform |webmediaplayer_| whether the video content is opaque.
- void SetOpaqueTask(bool opaque);
-
void DemuxerOpenedTask(const scoped_refptr<media::ChunkDemuxer>& demuxer);
void DemuxerClosedTask();
« no previous file with comments | « webkit/media/webmediaplayer_impl.cc ('k') | webkit/media/webmediaplayer_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698