Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Issue 9310018: Revert 119948 - Support for showing/hiding status area volume controls in desktop devices. (Closed)

Created:
8 years, 10 months ago by kinuko
Modified:
8 years, 10 months ago
Reviewers:
achuithb
CC:
chromium-reviews, sadrul, nkostylev+watch_chromium.org, derat+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, yusukes+watch_chromium.org
Visibility:
Public.

Description

Revert 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -116 lines) Patch
M chrome/browser/chromeos/audio/audio_handler.h View 4 chunks +2 lines, -22 lines 0 comments Download
M chrome/browser/chromeos/audio/audio_handler.cc View 5 chunks +3 lines, -19 lines 0 comments Download
M chrome/browser/chromeos/status/volume_menu_button.h View 3 chunks +1 line, -6 lines 0 comments Download
M chrome/browser/chromeos/status/volume_menu_button.cc View 9 chunks +22 lines, -53 lines 0 comments Download
M chrome/browser/chromeos/system_key_event_listener.h View 2 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/system_key_event_listener.cc View 5 chunks +13 lines, -7 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.cc View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
kinuko
8 years, 10 months ago (2012-02-01 03:35:06 UTC) #1
kinuko
On 2012/02/01 03:35:06, kinuko wrote: Hi, I'm reverting this as we suspected as we suspected ...
8 years, 10 months ago (2012-02-01 03:37:10 UTC) #2
falken
I suspected this broke the bot due to the stack traces here: http://build.chromium.org/p/chromium.chromiumos/builders/ChromiumOS%20%28aura%29/builds/2834 https://sandbox.google.com/storage/?arg=chromeos-image-archive/aura-tot-chrome-pfq-informational/R19-1661.0.0-a1-b2834#chromeos-image-archive%2Faura-tot-chrome-pfq-informational%2FR19-1661.0.0-a1-b2834 See ...
8 years, 10 months ago (2012-02-01 03:41:51 UTC) #3
achuithb
8 years, 10 months ago (2012-02-01 03:59:50 UTC) #4
On 2012/02/01 03:41:51, falken wrote:
> I suspected this broke the bot due to the stack traces here:
> 
>
http://build.chromium.org/p/chromium.chromiumos/builders/ChromiumOS%2520%2528...
> 
>
https://sandbox.google.com/storage/?arg=chromeos-image-archive/aura-tot-chrom...
> 
> See the *.dmp.txt files, e.g.:
> 
> Crash reason:  SIGSEGV
> Crash address: 0x0
> 
> Thread 0 (crashed)
>  0  chrome!chromeos::AudioHandler::RemoveVolumeObserver [audio_handler.cc :
132
> + 0x0]
>     eip = 0x73c47b85   esp = 0x7fa589e0   ebp = 0x7fa58a38   ebx = 0x77927ff4
>     esi = 0x00000000   edi = 0x7fa58a18   eax = 0x7fa58a0c   ecx = 0x00000000
>     edx = 0x799109ec   efl = 0x00210212
>     Found by: given as instruction pointer in context
>  1  chrome!chromeos::VolumeMenuButton::~VolumeMenuButton
[volume_menu_button.cc
> : 67 + 0x4]
>     eip = 0x736ee837   esp = 0x7fa58a40   ebp = 0x7fa58a58   ebx = 0x77927ff4
>     esi = 0x79910800   edi = 0x789c2e00
>     Found by: call frame info
>  2  chrome!chromeos::VolumeMenuButton::~VolumeMenuButton
[volume_menu_button.cc
> : 208 + 0x7]
>     eip = 0x736ee8c3   esp = 0x7fa58a60   ebp = 0x7fa58a78   ebx = 0x77927ff4
>     esi = 0x79910800   edi = 0x789c2e00
>     Found by: call frame info
>  3  chrome!views::View::~View [view.cc : 141 + 0x7]
>     eip = 0x76182ac1   esp = 0x7fa58a80   ebp = 0x7fa58ab8   ebx = 0x77927ff4
>     esi = 0x799126cc   edi = 0x789c2e00
>     Found by: call frame info
> [...]

Yup, that looks like me...

Powered by Google App Engine
This is Rietveld 408576698