DescriptionRevert 119948 - 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
TBR=achuith@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=120019
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|