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

Issue 2624683002: Linux UI: Fix profile chooser button background color (Closed)

Created:
3 years, 11 months ago by Tom (Use chromium acct)
Modified:
3 years, 10 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina, Elliot Glaysher
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Linux UI: Fix profile chooser button background color Previously, the profile chooser hovered background color was hardcoded to 0xEAEAEA. This is about the same color as dark themes will use for their label text, making the hovered text unreadable. This CL changes the color to use the menu item hovered color instead. Images of the change at: https://bugs.chromium.org/p/chromium/issues/detail?id=677286#c7 BUG=677286 R=sky@chromium.org Review-Url: https://codereview.chromium.org/2624683002 Cr-Commit-Position: refs/heads/master@{#448542} Committed: https://chromium.googlesource.com/chromium/src/+/f0de79a0e44c878b66df8012e77ff38896fe8faf

Patch Set 1 #

Patch Set 2 : add ifdefs so this only affects linux #

Patch Set 3 : Rewrite #

Total comments: 12

Patch Set 4 : Address sky@'s comments #

Patch Set 5 : fix win build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -14 lines) Patch
M chrome/browser/ui/libgtkui/native_theme_gtk3.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/profiles/profile_chooser_view.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/profiles/profile_chooser_view.cc View 1 2 3 4 6 chunks +87 lines, -11 lines 0 comments Download
M ui/views/controls/label.h View 1 2 2 chunks +1 line, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 46 (28 generated)
Tom (Use chromium acct)
sky@ ptal
3 years, 11 months ago (2017-01-10 03:18:21 UTC) #4
sky
How are windows and chromeos effected? Is the nativetheme color the same as the old?
3 years, 11 months ago (2017-01-10 15:58:23 UTC) #5
Tom (Use chromium acct)
On 2017/01/10 15:58:23, sky wrote: > How are windows and chromeos effected? Is the nativetheme ...
3 years, 11 months ago (2017-01-10 21:23:19 UTC) #6
sky
Please run this by the designers to make sure they are ok. On Tue, Jan ...
3 years, 11 months ago (2017-01-10 23:37:52 UTC) #7
sky
Also, I think chromoting likely gives different colors, but you should verify that. On Tue, ...
3 years, 11 months ago (2017-01-10 23:38:06 UTC) #8
Tom (Use chromium acct)
sky@ I've added some ifdefs so this only affects linux
3 years, 10 months ago (2017-02-02 21:49:39 UTC) #11
sky
LGTM
3 years, 10 months ago (2017-02-03 00:35:47 UTC) #12
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/2624683002/40001
3 years, 10 months ago (2017-02-03 00:42:48 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/348924)
3 years, 10 months ago (2017-02-03 01:05:34 UTC) #16
Tom (Use chromium acct)
sky@: I've rewritten this CL, can you take another look? There were some things I ...
3 years, 10 months ago (2017-02-06 22:16:26 UTC) #24
sky
https://codereview.chromium.org/2624683002/diff/160001/chrome/browser/ui/views/profiles/profile_chooser_view.cc File chrome/browser/ui/views/profiles/profile_chooser_view.cc (right): https://codereview.chromium.org/2624683002/diff/160001/chrome/browser/ui/views/profiles/profile_chooser_view.cc#newcode222 chrome/browser/ui/views/profiles/profile_chooser_view.cc:222: void set_title(views::Label* label) { title_ = label; } Document ...
3 years, 10 months ago (2017-02-06 22:56:41 UTC) #25
Tom (Use chromium acct)
https://codereview.chromium.org/2624683002/diff/160001/chrome/browser/ui/views/profiles/profile_chooser_view.cc File chrome/browser/ui/views/profiles/profile_chooser_view.cc (right): https://codereview.chromium.org/2624683002/diff/160001/chrome/browser/ui/views/profiles/profile_chooser_view.cc#newcode222 chrome/browser/ui/views/profiles/profile_chooser_view.cc:222: void set_title(views::Label* label) { title_ = label; } On ...
3 years, 10 months ago (2017-02-07 00:45:24 UTC) #28
sky
LGTM
3 years, 10 months ago (2017-02-07 00:58:24 UTC) #29
commit-bot: I haz the power
This CL has an open dependency (Issue 2680643002 Patch 20001). Please resolve the dependency and ...
3 years, 10 months ago (2017-02-07 01:03:44 UTC) #32
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/2624683002/180001
3 years, 10 months ago (2017-02-07 01:16:30 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/343329) win_clang on master.tryserver.chromium.win (JOB_FAILED, ...
3 years, 10 months ago (2017-02-07 01:58:46 UTC) #36
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/2624683002/200001
3 years, 10 months ago (2017-02-07 04:24:58 UTC) #43
commit-bot: I haz the power
3 years, 10 months ago (2017-02-07 04:30:28 UTC) #46
Message was sent while issue was closed.
Committed patchset #5 (id:200001) as
https://chromium.googlesource.com/chromium/src/+/f0de79a0e44c878b66df8012e77f...

Powered by Google App Engine
This is Rietveld 408576698