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

Issue 10830027: Implement new slider control and disable the volume control when audio is muted. (Closed)

Created:
8 years, 5 months ago by jennyz
Modified:
8 years, 4 months ago
Reviewers:
sadrul
CC:
chromium-reviews, nkostylev+watch_chromium.org, ben+watch_chromium.org, tfarina, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Implement new slider control and disable the volume control when audio is muted. Horizontal slider is implemented with image resources, and it changes UI based the on/off state. Vertical slider is kept in the old way, since I don't have the UI resources for drawing the vertical slider. I wonder if I should remove the vertical slider bar supporting code, or leave it as it which is what I choose to do currently. BUG=124097 TEST=Audio and brightness slider control should be in new UI, and audio slider bar should dim when muted. TBR=oshima@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=148778

Patch Set 1 #

Total comments: 2

Patch Set 2 : Move enum from .h to .cc. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -56 lines) Patch
M ash/system/audio/audio_observer.h View 1 chunk +1 line, -0 lines 0 comments Download
M ash/system/audio/tray_volume.h View 1 chunk +1 line, -0 lines 0 comments Download
M ash/system/audio/tray_volume.cc View 7 chunks +40 lines, -15 lines 0 comments Download
M ash/system/tray/tray_views.cc View 1 chunk +6 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/audio/audio_handler.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/audio/audio_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/system/ash_system_tray_delegate.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M ui/resources/ui_resources.grd View 2 chunks +11 lines, -6 lines 0 comments Download
M ui/views/controls/slider.h View 1 3 chunks +13 lines, -0 lines 0 comments Download
M ui/views/controls/slider.cc View 1 6 chunks +93 lines, -28 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
jennyz
8 years, 5 months ago (2012-07-25 23:55:55 UTC) #1
sadrul
On 2012/07/25 23:55:55, jennyz wrote: Keeping vertical sliders unchanged sounds good. Question: when audio is ...
8 years, 5 months ago (2012-07-26 00:05:45 UTC) #2
jennyz
On 2012/07/26 00:05:45, sadrul wrote: > On 2012/07/25 23:55:55, jennyz wrote: > > Keeping vertical ...
8 years, 5 months ago (2012-07-26 00:13:37 UTC) #3
jennyz
8 years, 5 months ago (2012-07-26 00:13:43 UTC) #4
sadrul
LGTM http://codereview.chromium.org/10830027/diff/1/ui/views/controls/slider.h File ui/views/controls/slider.h (right): http://codereview.chromium.org/10830027/diff/1/ui/views/controls/slider.h#newcode110 ui/views/controls/slider.h:110: enum BorderElements { Perhaps move the enum into ...
8 years, 5 months ago (2012-07-26 18:10:40 UTC) #5
jennyz
http://codereview.chromium.org/10830027/diff/1/ui/views/controls/slider.h File ui/views/controls/slider.h (right): http://codereview.chromium.org/10830027/diff/1/ui/views/controls/slider.h#newcode110 ui/views/controls/slider.h:110: enum BorderElements { On 2012/07/26 18:10:40, sadrul wrote: > ...
8 years, 4 months ago (2012-07-27 16:51:57 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jennyz@chromium.org/10830027/4003
8 years, 4 months ago (2012-07-27 16:52:09 UTC) #7
commit-bot: I haz the power
Presubmit check for 10830027-4003 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 4 months ago (2012-07-27 16:52:17 UTC) #8
jennyz
8 years, 4 months ago (2012-07-27 16:54:45 UTC) #9
commit-bot: I haz the power
8 years, 4 months ago (2012-07-27 16:54:58 UTC) #10

Powered by Google App Engine
This is Rietveld 408576698