diff options
author | kylep@chromium.org <kylep@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-28 20:00:44 +0000 |
---|---|---|
committer | kylep@chromium.org <kylep@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-28 20:00:44 +0000 |
commit | 4940216a4f034e8de5740d30b413eec3ed495b6d (patch) | |
tree | b8aa9c088d767f309b0a1a880c587ce23040272f /webkit/glue/webmediaplayer_impl.h | |
parent | 024086b48429fe6aab498df59b1f463b81d3073f (diff) | |
download | chromium_src-4940216a4f034e8de5740d30b413eec3ed495b6d.zip chromium_src-4940216a4f034e8de5740d30b413eec3ed495b6d.tar.gz chromium_src-4940216a4f034e8de5740d30b413eec3ed495b6d.tar.bz2 |
Pipeline will execute a callback whenever an run-time error has happened.
BUG=16738
TEST=pipeline_impl_unittest.cc
Review URL: http://codereview.chromium.org/159373
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21877 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webmediaplayer_impl.h')
-rw-r--r-- | webkit/glue/webmediaplayer_impl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/webkit/glue/webmediaplayer_impl.h b/webkit/glue/webmediaplayer_impl.h index a73ea71..841e9bf 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 PipelineErrorCallback(); private: // Invoke |webmediaplayer_| to perform a repaint. @@ -117,6 +118,9 @@ class WebMediaPlayerImpl : public WebKit::WebMediaPlayer, // Notify |webmediaplayer_| that a seek has finished. void PipelineSeekTask(); + // Notify |webmediaplayer_| that a pipeline error has been set. + void PipelineErrorTask(); + // The render message loop where WebKit lives. MessageLoop* render_loop_; WebMediaPlayerImpl* webmediaplayer_; @@ -213,6 +217,8 @@ class WebMediaPlayerImpl : public WebKit::WebMediaPlayer, void OnPipelineSeek(); + void OnPipelineError(); + private: // Helpers that set the network/ready state and notifies the client if // they've changed. |