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

Issue 440001: Mac: improve hover/clicked state appearance of bookmark bar buttons. (Closed)

Created:
11 years ago by viettrungluu
Modified:
9 years, 6 months ago
Reviewers:
Avi (use Gerrit), Nico
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Mac: improve hover/clicked state appearance of bookmark bar buttons. I more or less implemented things as per discussion with Cole and Glen. (This does not re-create the appearance on Win Chrome, which is not exactly right either.) BUG=28477 TEST=Load various themes (in particular, "Karim Rashid") and make sure bookmark bar buttons look good and legible in hover and pressed states. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=32930

Patch Set 1 #

Patch Set 2 : Got rid of ugly shadow which was shown on click. #

Patch Set 3 : Oops. #

Total comments: 10

Patch Set 4 : Changes per reviews, added TODO, a few drive-by style fixes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -33 lines) Patch
M chrome/browser/cocoa/gradient_button_cell.mm View 1 2 3 9 chunks +56 lines, -33 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
viettrungluu
11 years ago (2009-11-24 02:14:21 UTC) #1
Nico
Screenshot? http://codereview.chromium.org/440001/diff/3001/3002 File chrome/browser/cocoa/gradient_button_cell.mm (right): http://codereview.chromium.org/440001/diff/3001/3002#newcode176 chrome/browser/cocoa/gradient_button_cell.mm:176: // unless clicked. This also affects browser action ...
11 years ago (2009-11-24 02:24:11 UTC) #2
viettrungluu
Sent email about screenshots. Will try to clean that function up a bit more tomorrow ...
11 years ago (2009-11-24 06:54:27 UTC) #3
Nico
LG. Thanks for the screenshots and double-checking that this does what it should. http://codereview.chromium.org/440001/diff/3001/3002 File ...
11 years ago (2009-11-24 07:27:04 UTC) #4
Avi (use Gerrit)
LG. http://codereview.chromium.org/440001/diff/3001/3002 File chrome/browser/cocoa/gradient_button_cell.mm (right): http://codereview.chromium.org/440001/diff/3001/3002#newcode118 chrome/browser/cocoa/gradient_button_cell.mm:118: // often interact badly with the theme. This ...
11 years ago (2009-11-24 14:39:53 UTC) #5
viettrungluu
11 years ago (2009-11-24 16:08:54 UTC) #6
Thanks, Nico and Avi.

http://codereview.chromium.org/440001/diff/3001/3002
File chrome/browser/cocoa/gradient_button_cell.mm (right):

http://codereview.chromium.org/440001/diff/3001/3002#newcode118
chrome/browser/cocoa/gradient_button_cell.mm:118: // often interact badly with
the theme.
On 2009/11/24 14:39:53, Avi wrote:
> This comment fits better inside the function, as it's explaining the return
> value rather than the function itself.

Done.

http://codereview.chromium.org/440001/diff/3001/3002#newcode188
chrome/browser/cocoa/gradient_button_cell.mm:188: }
On 2009/11/24 07:27:04, Nico wrote:
> Oh, you don't have to if you don't feel like it. I just rant a bit when doing
> reviews at times. Bear with me.

No, you're entirely right about it being a mess (that was my reaction to it!).
But since I have a number of pressing things to do, I just inserted a TODO
before this function. :-P

Powered by Google App Engine
This is Rietveld 408576698