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-30 18:51:52 +0000
committerkylep@chromium.org <kylep@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-30 18:51:52 +0000
commitdb190487d2bc37ef9a2852d948bd8dd4548a98bd (patch)
treebba60ce128d4e214663cbd45e6620224e2cf3ae4 /webkit/glue/webmediaplayer_impl.h
parent66f16b11638993ead4028e853d5565a74b9acba3 (diff)
downloadchromium_src-db190487d2bc37ef9a2852d948bd8dd4548a98bd.zip
chromium_src-db190487d2bc37ef9a2852d948bd8dd4548a98bd.tar.gz
chromium_src-db190487d2bc37ef9a2852d948bd8dd4548a98bd.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/160298 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22075 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 3fd44fe..187c753 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_;
@@ -216,6 +220,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.