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

Issue 162010: Allow theming of colors for the Mac. (Closed)

Created:
11 years, 4 months ago by Avi (use Gerrit)
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, John Grabowski, Ben Goodger (Google), Nicholas Jitkoff
Visibility:
Public.

Description

Allow theming of colors for the Mac. BUG=http://crbug.com/18438 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=23023

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -33 lines) Patch
M app/theme_provider.h View 1 chunk +7 lines, -1 line 0 comments Download
M chrome/browser/browser_theme_provider.h View 3 chunks +7 lines, -2 lines 0 comments Download
M chrome/browser/browser_theme_provider.cc View 2 chunks +68 lines, -30 lines 0 comments Download
M chrome/browser/browser_theme_provider_mac.mm View 1 chunk +27 lines, -0 lines 1 comment Download

Messages

Total messages: 7 (0 generated)
Avi (use Gerrit)
11 years, 4 months ago (2009-08-05 15:55:42 UTC) #1
Avi (use Gerrit)
ping?
11 years, 4 months ago (2009-08-07 21:32:47 UTC) #2
John Grabowski
erikkay out on paternity. jrg On Fri, Aug 7, 2009 at 2:32 PM, <avi@chromium.org> wrote: ...
11 years, 4 months ago (2009-08-07 21:34:52 UTC) #3
Avi (use Gerrit)
Glen, can you give this a look?
11 years, 4 months ago (2009-08-10 15:39:24 UTC) #4
Glen Murphy
LGTM, thanks for cleaning the color stuff up. Feel free to submit before me, but ...
11 years, 4 months ago (2009-08-10 23:35:52 UTC) #5
Avi (use Gerrit)
Can't think of a great way to do that other than special-casing. It doesn't matter ...
11 years, 4 months ago (2009-08-11 03:33:20 UTC) #6
Nico
11 years, 3 months ago (2009-09-05 21:20:20 UTC) #7
Zombie comment!

http://codereview.chromium.org/162010/diff/1/4
File chrome/browser/browser_theme_provider_mac.mm (right):

http://codereview.chromium.org/162010/diff/1/4#newcode82
Line 82: NSColor* color = [NSColor colorWithCalibratedRed:SkColorGetR(sk_color)
Come on guys. NSColor wants its channels in [0.0..1.0], while skia uses the
traditional 0..255.

I will fix this in my "final download item tweaks" CL, but this could've been
caught :-|

Powered by Google App Engine
This is Rietveld 408576698