diff options
author | achuith@chromium.org <achuith@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-31 20:36:41 +0000 |
---|---|---|
committer | achuith@chromium.org <achuith@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-31 20:36:41 +0000 |
commit | e137610304f8c72c439d2d1a7fd2f1a81efc2ef7 (patch) | |
tree | 2cc307de36a6bdb1fa823f1f88a2259a63b74afa /ash/wm/window_animations.h | |
parent | fdb9bf1417ba001fd1cb6d9f9994293fd9741a11 (diff) | |
download | chromium_src-e137610304f8c72c439d2d1a7fd2f1a81efc2ef7.zip chromium_src-e137610304f8c72c439d2d1a7fd2f1a81efc2ef7.tar.gz chromium_src-e137610304f8c72c439d2d1a7fd2f1a81efc2ef7.tar.bz2 |
Support for showing/hiding status area volume controls in desktop devices.
* Show status area volume control when the command line has --show-volume-status
* Create AudioHandler::VolumeObserver class and helpers so VolumeMenuButton and VolumeControlView can observe volume changes from key presses.
* Move GetAudioHandler() common code in VolumeMenuButton and SystemKeyEventListener that returns the AudioHandler singleton only if the mixer has finished initializing to AudioHandler::GetInitialized().
* Handle mute in VolumeMenuButton correctly.
BUG=chromium-os:22080
TEST=Should see the volume control in the status area on builds with USE flag is_desktop set. The volume control icon and menu should be in sync with volume key button controls.
Review URL: https://chromiumcodereview.appspot.com/9169033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119948 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/wm/window_animations.h')
0 files changed, 0 insertions, 0 deletions