diff options
author | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-09 22:05:40 +0000 |
---|---|---|
committer | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-09 22:05:40 +0000 |
commit | c8c9712650efaa201c97ad6ff4edb6aa092dfd17 (patch) | |
tree | 4f9a369e0d37d4f1d90b61150e46f9cd45b00363 /chrome/app/theme | |
parent | 9ed3e76cd612d249d995c268fa4274da93d54548 (diff) | |
download | chromium_src-c8c9712650efaa201c97ad6ff4edb6aa092dfd17.zip chromium_src-c8c9712650efaa201c97ad6ff4edb6aa092dfd17.tar.gz chromium_src-c8c9712650efaa201c97ad6ff4edb6aa092dfd17.tar.bz2 |
Mute when clicked on sound button in ChromeOS media player.
- Add a sound mute icon and swap between sound high and mute icon based on
volume change;
- Change sound button click to toggle volume mute;
- Show volume control when mouse over sound button and hide it when mouse
leaves;
- Call volumeChange after we setupPlaybackControls so that volume slider's
value syncs with media element's volume;
- Removed "controlbutton" class from "volume" element because it is really
a control button and "controlbutton" style sets its hight to 30px;
BUG=chromium-os:3148
TEST=Verify click on sound button mute/unmute audio and volume slider shows up when mouse over sound button.
Review URL: http://codereview.chromium.org/2722006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49331 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/theme')
-rw-r--r-- | chrome/app/theme/mediaplayer_vol_mute.png | bin | 0 -> 727 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/chrome/app/theme/mediaplayer_vol_mute.png b/chrome/app/theme/mediaplayer_vol_mute.png Binary files differnew file mode 100644 index 0000000..cc1a576 --- /dev/null +++ b/chrome/app/theme/mediaplayer_vol_mute.png |