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

Issue 2790012: Volume bubble added for ChromeOS. (Closed)

Created:
10 years, 6 months ago by glotov
Modified:
9 years, 7 months ago
Reviewers:
Nikita (slow), sky, zel
CC:
chromium-reviews, davemoore+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Volume bubble added for ChromeOS. BUG=crosbug.com/525 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=49970

Patch Set 1 #

Total comments: 34

Patch Set 2 : '' #

Total comments: 53

Patch Set 3 : '' #

Total comments: 4

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+287 lines, -3 lines) Patch
M chrome/browser/chromeos/system_key_event_listener.cc View 1 2 3 4 5 4 chunks +7 lines, -3 lines 0 comments Download
A chrome/browser/chromeos/volume_bubble.h View 1 2 3 4 1 chunk +61 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/volume_bubble.cc View 1 2 3 4 5 1 chunk +107 lines, -0 lines 2 comments Download
A chrome/browser/chromeos/volume_bubble_view.h View 1 2 1 chunk +42 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/volume_bubble_view.cc View 1 2 3 1 chunk +66 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
glotov
10 years, 6 months ago (2010-06-11 12:50:13 UTC) #1
Nikita (slow)
Please fix lint errors - add nl to the end of each added file. http://codereview.chromium.org/2790012/diff/1/2 ...
10 years, 6 months ago (2010-06-11 14:22:27 UTC) #2
glotov
http://codereview.chromium.org/2790012/diff/1/2 File app/resources/app_resources.grd (right): http://codereview.chromium.org/2790012/diff/1/2#newcode154 app/resources/app_resources.grd:154: <!-- Volume bubble picture --> On 2010/06/11 14:22:27, Nikita ...
10 years, 6 months ago (2010-06-11 15:36:47 UTC) #3
glotov
Scott, Zel, Here is a volume bubble implementation. Could you have a look? -- Thank ...
10 years, 6 months ago (2010-06-11 15:39:43 UTC) #4
Nikita (slow)
http://codereview.chromium.org/2790012/diff/1/7 File chrome/browser/chromeos/volume_bubble.h (right): http://codereview.chromium.org/2790012/diff/1/7#newcode1 chrome/browser/chromeos/volume_bubble.h:1: // Copyright (c) 2010 The Chromium Authors. All rights ...
10 years, 6 months ago (2010-06-11 16:30:08 UTC) #5
sky
http://codereview.chromium.org/2790012/diff/4002/11001 File app/resources/app_resources.grd (right): http://codereview.chromium.org/2790012/diff/4002/11001#newcode155 app/resources/app_resources.grd:155: <if expr="pp_ifdef('chromeos')"> This should in chrome/app/theme/theme_resources.grd and the image ...
10 years, 6 months ago (2010-06-11 16:33:16 UTC) #6
sky
http://codereview.chromium.org/2790012/diff/4002/11005 File chrome/browser/chromeos/volume_bubble.cc (right): http://codereview.chromium.org/2790012/diff/4002/11005#newcode88 chrome/browser/chromeos/volume_bubble.cc:88: // TODO(glotov): Place volume bubble over the keys initiated ...
10 years, 6 months ago (2010-06-11 16:36:40 UTC) #7
glotov
http://codereview.chromium.org/2790012/diff/1/7 File chrome/browser/chromeos/volume_bubble.h (right): http://codereview.chromium.org/2790012/diff/1/7#newcode1 chrome/browser/chromeos/volume_bubble.h:1: // Copyright (c) 2010 The Chromium Authors. All rights ...
10 years, 6 months ago (2010-06-11 18:13:36 UTC) #8
glotov
Scott, one small question. Currently volume bubble sometimes (rarely but still) is flicking in the ...
10 years, 6 months ago (2010-06-11 18:26:26 UTC) #9
sky
http://codereview.chromium.org/2790012/diff/4002/11003 File chrome/browser/chromeos/system_key_event_listener.cc (right): http://codereview.chromium.org/2790012/diff/4002/11003#newcode26 chrome/browser/chromeos/system_key_event_listener.cc:26: volume_bubble_(VolumeBubble::instance()) { On 2010/06/11 18:13:36, glotov wrote: > You ...
10 years, 6 months ago (2010-06-11 20:02:42 UTC) #10
sky
It may the same as 43611. Try commenting out the call to DrawTransparentBackground in WidgetGtk::OnPaint. ...
10 years, 6 months ago (2010-06-11 20:03:37 UTC) #11
sky
Oshima just landed this fix, so if you sync you should have it. -Scott On ...
10 years, 6 months ago (2010-06-11 20:53:53 UTC) #12
Nikita (slow)
LGTM but please check on trybots. http://codereview.chromium.org/2790012/diff/12002/13007 File chrome/browser/chromeos/volume_bubble.cc (right): http://codereview.chromium.org/2790012/diff/12002/13007#newcode108 chrome/browser/chromeos/volume_bubble.cc:108: if (bubble_) bubble_->Close(); ...
10 years, 6 months ago (2010-06-15 11:27:29 UTC) #13
glotov
http://codereview.chromium.org/2790012/diff/4002/11003 File chrome/browser/chromeos/system_key_event_listener.cc (right): http://codereview.chromium.org/2790012/diff/4002/11003#newcode26 chrome/browser/chromeos/system_key_event_listener.cc:26: volume_bubble_(VolumeBubble::instance()) { On 2010/06/11 20:02:42, sky wrote: > On ...
10 years, 6 months ago (2010-06-15 12:05:20 UTC) #14
glotov
Great, it works now, thank you. On 2010/06/11 20:53:53, sky wrote: > Oshima just landed ...
10 years, 6 months ago (2010-06-15 12:15:55 UTC) #15
glotov
http://codereview.chromium.org/2790012/diff/4002/11003 File chrome/browser/chromeos/system_key_event_listener.cc (right): http://codereview.chromium.org/2790012/diff/4002/11003#newcode26 chrome/browser/chromeos/system_key_event_listener.cc:26: volume_bubble_(VolumeBubble::instance()) { Sorry, hit 'Done' too fast. Scott, how ...
10 years, 6 months ago (2010-06-15 12:58:37 UTC) #16
sky
On Tue, Jun 15, 2010 at 5:58 AM, <glotov@chromium.org> wrote: > > http://codereview.chromium.org/2790012/diff/4002/11003 > File ...
10 years, 6 months ago (2010-06-15 16:25:26 UTC) #17
glotov
All done. Scott, please have a look. Sorry for missing the idea.
10 years, 6 months ago (2010-06-16 14:26:22 UTC) #18
sky
LGTM http://codereview.chromium.org/2790012/diff/48001/49002 File chrome/browser/chromeos/volume_bubble.cc (right): http://codereview.chromium.org/2790012/diff/48001/49002#newcode53 chrome/browser/chromeos/volume_bubble.cc:53: if (percent < 0) percent = 0; Please, ...
10 years, 6 months ago (2010-06-16 15:14:08 UTC) #19
glotov
10 years, 6 months ago (2010-06-16 16:30:38 UTC) #20
http://codereview.chromium.org/2790012/diff/48001/49002
File chrome/browser/chromeos/volume_bubble.cc (right):

http://codereview.chromium.org/2790012/diff/48001/49002#newcode53
chrome/browser/chromeos/volume_bubble.cc:53: if (percent < 0) percent = 0;
On 2010/06/16 15:14:08, sky wrote:
> Please, no single line ifs.

Done.

Powered by Google App Engine
This is Rietveld 408576698