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

Issue 10781021: Make audio volume icon HDC (Closed)

Created:
8 years, 5 months ago by oshima
Modified:
8 years, 5 months ago
Reviewers:
pkotwicz, Daniel Erat
CC:
chromium-reviews, sadrul, oshima+watch_chromium.org, ben+watch_chromium.org
Visibility:
Public.

Description

Make audio volume icon HDC Update the image for 2x which only had 4 icons Show mute icon when volume is 0 (+ some simplification) BUG=122992, 137763 TEST=manual Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=148089

Patch Set 1 #

Patch Set 2 : . #

Total comments: 6

Patch Set 3 : update comments + fix #

Total comments: 6

Patch Set 4 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -19 lines) Patch
M ash/system/audio/tray_volume.cc View 1 2 3 4 chunks +17 lines, -18 lines 0 comments Download
M ash/system/tray/system_tray_delegate.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
A ui/resources/default_200_percent/ash/status_volume_dark.png View 1 0 chunks +-1 lines, --1 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
oshima
8 years, 5 months ago (2012-07-16 18:15:58 UTC) #1
pkotwicz
lgtm
8 years, 5 months ago (2012-07-16 18:49:24 UTC) #2
oshima
8 years, 5 months ago (2012-07-24 00:13:44 UTC) #3
oshima
On 2012/07/24 00:13:44, oshima wrote: Dan, I updated the CL to include the fix for ...
8 years, 5 months ago (2012-07-24 00:14:38 UTC) #4
Daniel Erat
http://codereview.chromium.org/10781021/diff/10001/ash/system/audio/tray_volume.cc File ash/system/audio/tray_volume.cc (right): http://codereview.chromium.org/10781021/diff/10001/ash/system/audio/tray_volume.cc#newcode37 ash/system/audio/tray_volume.cc:37: const int kVolumeLevel = 4; nit: Add a comment ...
8 years, 5 months ago (2012-07-24 00:24:33 UTC) #5
oshima
http://codereview.chromium.org/10781021/diff/10001/ash/system/audio/tray_volume.cc File ash/system/audio/tray_volume.cc (right): http://codereview.chromium.org/10781021/diff/10001/ash/system/audio/tray_volume.cc#newcode37 ash/system/audio/tray_volume.cc:37: const int kVolumeLevel = 4; On 2012/07/24 00:24:33, Daniel ...
8 years, 5 months ago (2012-07-24 00:44:20 UTC) #6
Daniel Erat
LGTM w/nits http://codereview.chromium.org/10781021/diff/7002/ash/system/audio/tray_volume.cc File ash/system/audio/tray_volume.cc (right): http://codereview.chromium.org/10781021/diff/7002/ash/system/audio/tray_volume.cc#newcode38 ash/system/audio/tray_volume.cc:38: // IDR_AURA_UBER_TRAY_VOLUME_LEVELS contains 5 images, nit: "... ...
8 years, 5 months ago (2012-07-24 00:50:09 UTC) #7
oshima
8 years, 5 months ago (2012-07-24 11:34:33 UTC) #8
http://codereview.chromium.org/10781021/diff/7002/ash/system/audio/tray_volum...
File ash/system/audio/tray_volume.cc (right):

http://codereview.chromium.org/10781021/diff/7002/ash/system/audio/tray_volum...
ash/system/audio/tray_volume.cc:38: // IDR_AURA_UBER_TRAY_VOLUME_LEVELS contains
5 images,
On 2012/07/24 00:50:10, Daniel Erat wrote:
> nit: "... contains 5 images.  The one for mute is at the 0 index and the other
> four are used for ascending volume levels."

Done.

http://codereview.chromium.org/10781021/diff/7002/ash/system/audio/tray_volum...
ash/system/audio/tray_volume.cc:41: const int kVolumeLevel = 4;
On 2012/07/24 00:50:10, Daniel Erat wrote:
> nit: rename to kVolumeLevels?

Done.

http://codereview.chromium.org/10781021/diff/7002/ash/system/audio/tray_volum...
ash/system/audio/tray_volume.cc:66: kVolumeLevel : std::ceil(level *
(kVolumeLevel -1)));
On 2012/07/24 00:50:10, Daniel Erat wrote:
> nit: space between "-" and "1"

Done.

Powered by Google App Engine
This is Rietveld 408576698