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

Issue 2541873004: Change default frame colors. Change custom titlebar colors on Windows. (Closed)

Created:
4 years ago by Bret
Modified:
4 years ago
CC:
chromium-reviews, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change default frame colors. Change custom titlebar colors on Windows. Default frame colors are changed so that inactive frames are always a blend of 80% white/20% active color to increase contrast. * The normal/inactive frame is changed to #F6F6F6 on all platforms. (OSX was already at this color.) * The incognito/inactive frame is changed to #D4D5D5 on all platforms except OSX. * The tints applied to theme images are changed to match the new lightness ratio as well. Inactive tint is changed to 80% lightness. Incognito/inactive is changed to be 74% lightness, which approximates blending 80% white on top of the active tint's 30% black. Also increased saturation change of incognito/inactive to match incognito/active. Windows will now pick up the user colors specified by the system and use them when custom drawing the titlebar. It will never draw the titlebar white unless the user explicitly specifies that color. It uses an 80% white/20% active blend to calculate inactive frame colors if the user has no frame color specified, just like above. BUG=505013, 645682 Committed: https://crrev.com/5afcb514af8ccd26ef17078957483f1be72bc592 Cr-Commit-Position: refs/heads/master@{#439030}

Patch Set 1 #

Total comments: 19

Patch Set 2 : comments 1 #

Patch Set 3 : comments 2 #

Patch Set 4 : final osx behavior #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -40 lines) Patch
M chrome/browser/themes/browser_theme_pack.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/themes/theme_properties.cc View 1 2 3 3 chunks +10 lines, -13 lines 0 comments Download
M chrome/browser/themes/theme_service_win.h View 1 2 chunks +17 lines, -7 lines 0 comments Download
M chrome/browser/themes/theme_service_win.cc View 1 2 chunks +30 lines, -18 lines 0 comments Download
M chrome/browser/ui/views/frame/glass_browser_frame_view.cc View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 25 (12 generated)
Bret
4 years ago (2016-11-30 23:14:19 UTC) #6
Evan Stade
Theme changes look pretty straight-forward and lgtm as I assume some designer has approved screenshots. ...
4 years ago (2016-11-30 23:27:49 UTC) #7
Bret
It sort of affects the inactive tab contrast... making the titlebar not white will indirectly ...
4 years ago (2016-11-30 23:39:30 UTC) #8
Evan Stade
On 2016/11/30 23:39:30, Bret Sepulveda wrote: > It sort of affects the inactive tab contrast... ...
4 years ago (2016-11-30 23:41:34 UTC) #11
Peter Kasting
https://codereview.chromium.org/2541873004/diff/1/chrome/browser/themes/theme_properties.cc File chrome/browser/themes/theme_properties.cc (right): https://codereview.chromium.org/2541873004/diff/1/chrome/browser/themes/theme_properties.cc#newcode27 chrome/browser/themes/theme_properties.cc:27: const SkColor kDefaultColorFrameInactive = SkColorSetRGB(0xF6, 0xF6, 0xF6); Shouldn't this ...
4 years ago (2016-12-01 06:19:04 UTC) #12
Bret
https://codereview.chromium.org/2541873004/diff/1/chrome/browser/themes/theme_properties.cc File chrome/browser/themes/theme_properties.cc (right): https://codereview.chromium.org/2541873004/diff/1/chrome/browser/themes/theme_properties.cc#newcode27 chrome/browser/themes/theme_properties.cc:27: const SkColor kDefaultColorFrameInactive = SkColorSetRGB(0xF6, 0xF6, 0xF6); On 2016/12/01 ...
4 years ago (2016-12-08 00:16:07 UTC) #13
Peter Kasting
https://codereview.chromium.org/2541873004/diff/1/chrome/browser/themes/theme_properties.cc File chrome/browser/themes/theme_properties.cc (right): https://codereview.chromium.org/2541873004/diff/1/chrome/browser/themes/theme_properties.cc#newcode27 chrome/browser/themes/theme_properties.cc:27: const SkColor kDefaultColorFrameInactive = SkColorSetRGB(0xF6, 0xF6, 0xF6); On 2016/12/08 ...
4 years ago (2016-12-08 00:24:51 UTC) #14
Bret
https://codereview.chromium.org/2541873004/diff/1/chrome/browser/themes/theme_properties.cc File chrome/browser/themes/theme_properties.cc (right): https://codereview.chromium.org/2541873004/diff/1/chrome/browser/themes/theme_properties.cc#newcode27 chrome/browser/themes/theme_properties.cc:27: const SkColor kDefaultColorFrameInactive = SkColorSetRGB(0xF6, 0xF6, 0xF6); On 2016/12/08 ...
4 years ago (2016-12-08 02:16:59 UTC) #15
Peter Kasting
LGTM https://codereview.chromium.org/2541873004/diff/1/chrome/browser/themes/theme_service_win.h File chrome/browser/themes/theme_service_win.h (right): https://codereview.chromium.org/2541873004/diff/1/chrome/browser/themes/theme_service_win.h#newcode37 chrome/browser/themes/theme_service_win.h:37: bool use_dwm_frame_color_; On 2016/12/08 02:16:59, Bret Sepulveda wrote: ...
4 years ago (2016-12-08 04:59:47 UTC) #16
Bret
On 2016/12/08 04:59:47, Peter Kasting wrote: > LGTM > > https://codereview.chromium.org/2541873004/diff/1/chrome/browser/themes/theme_service_win.h > File chrome/browser/themes/theme_service_win.h (right): ...
4 years ago (2016-12-16 02:20:12 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2541873004/60001
4 years ago (2016-12-16 02:21:14 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-12-16 05:05:16 UTC) #23
commit-bot: I haz the power
4 years ago (2016-12-16 05:10:09 UTC) #25
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/5afcb514af8ccd26ef17078957483f1be72bc592
Cr-Commit-Position: refs/heads/master@{#439030}

Powered by Google App Engine
This is Rietveld 408576698