summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webmediaplayer_impl.h
diff options
context:
space:
mode:
authorkylep@chromium.org <kylep@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-28 20:00:44 +0000
committerkylep@chromium.org <kylep@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-28 20:00:44 +0000
commit4940216a4f034e8de5740d30b413eec3ed495b6d (patch)
treeb8aa9c088d767f309b0a1a880c587ce23040272f /webkit/glue/webmediaplayer_impl.h
parent024086b48429fe6aab498df59b1f463b81d3073f (diff)
downloadchromium_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.h6
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.