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-08-14 23:06:35 +0000
committerkylep@chromium.org <kylep@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-14 23:06:35 +0000
commitfc367afd6b623545150fe601e0316a08e992e731 (patch)
treefbc9084aac79436470af96bda0c15af75be522e0 /webkit/glue/webmediaplayer_impl.h
parenta9840e58da8bb8f462204503c3d86ad65bfee1e8 (diff)
downloadchromium_src-fc367afd6b623545150fe601e0316a08e992e731.zip
chromium_src-fc367afd6b623545150fe601e0316a08e992e731.tar.gz
chromium_src-fc367afd6b623545150fe601e0316a08e992e731.tar.bz2
Framework to display disabled mute button when audio fails.
BUG=18970 TEST=play a video with no audio hardware, verify that UI changes Review URL: http://codereview.chromium.org/169010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23491 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webmediaplayer_impl.h')
-rw-r--r--webkit/glue/webmediaplayer_impl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/glue/webmediaplayer_impl.h b/webkit/glue/webmediaplayer_impl.h
index da1b142..bd4a6e8 100644
--- a/webkit/glue/webmediaplayer_impl.h
+++ b/webkit/glue/webmediaplayer_impl.h
@@ -183,6 +183,7 @@ class WebMediaPlayerImpl : public WebKit::WebMediaPlayer,
// True if a video is loaded.
virtual bool hasVideo() const;
+ virtual bool hasAudio() const;
// Dimensions of the video.
virtual WebKit::WebSize naturalSize() const;