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

Issue 2605443002: Ensure UI elements contrast with the right frame color. (Closed)

Created:
4 years ago by Bret
Modified:
3 years, 11 months ago
Reviewers:
Evan Stade
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ensure UI elements contrast with the right frame color. With a Windows-drawn titlebar we need to make sure we're reporting the frame color that Windows uses so that elements like the incognito icon will contrast correctly. This patch changes theme_service_win to not assume custom titlebar mode is on when calculating colors. R=estade@chromium.org BUG=676566 Committed: https://crrev.com/b052bbc63d486e85df9da4b073c5decd16972a4d Cr-Commit-Position: refs/heads/master@{#441254}

Patch Set 1 #

Total comments: 6

Patch Set 2 : use optional #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -16 lines) Patch
M chrome/browser/themes/theme_service_win.h View 1 2 chunks +8 lines, -7 lines 0 comments Download
M chrome/browser/themes/theme_service_win.cc View 1 2 chunks +30 lines, -9 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
Bret
Don't worry about this until January. I'll ping it then.
4 years ago (2016-12-22 23:25:32 UTC) #1
Evan Stade
lgtm https://codereview.chromium.org/2605443002/diff/1/chrome/browser/themes/theme_service_win.cc File chrome/browser/themes/theme_service_win.cc (right): https://codereview.chromium.org/2605443002/diff/1/chrome/browser/themes/theme_service_win.cc#newcode57 chrome/browser/themes/theme_service_win.cc:57: // Fallthrough and use default. nit: "Fall through" ...
3 years, 11 months ago (2016-12-29 16:34:07 UTC) #2
Bret
https://codereview.chromium.org/2605443002/diff/1/chrome/browser/themes/theme_service_win.cc File chrome/browser/themes/theme_service_win.cc (right): https://codereview.chromium.org/2605443002/diff/1/chrome/browser/themes/theme_service_win.cc#newcode57 chrome/browser/themes/theme_service_win.cc:57: // Fallthrough and use default. On 2016/12/29 16:34:07, Evan ...
3 years, 11 months ago (2017-01-03 22:49:53 UTC) #3
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/2605443002/20001
3 years, 11 months ago (2017-01-03 22:50:29 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
3 years, 11 months ago (2017-01-03 23:37:23 UTC) #9
commit-bot: I haz the power
3 years, 11 months ago (2017-01-03 23:41:21 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b052bbc63d486e85df9da4b073c5decd16972a4d
Cr-Commit-Position: refs/heads/master@{#441254}

Powered by Google App Engine
This is Rietveld 408576698