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

Issue 2736613008: Improve appearance of higlighting in profile chooser view. (Closed)

Created:
3 years, 9 months ago by Evan Stade
Modified:
3 years, 9 months ago
CC:
chromium-reviews, tfarina, Tom Anderson
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Improve appearance of higlighting in profile chooser view. 1. Use NativeTheme menu colors for selected rows on all platforms. This allows us to remove platform ifdefs (only Linux did this before). This has almost no visible effect on a classic theme as the theme menu colors were almost identical to the colors being used in the profile chooser. One thing that does change is that the color of the hovered text is a smidgeon darker, improving contrast. 2. Don't draw a dashed focus rect, instead reuse selection. This matches how menus look. Also make focus actually follow the mouse, also matching how menus work. BUG=696003 Review-Url: https://codereview.chromium.org/2736613008 Cr-Commit-Position: refs/heads/master@{#457494} Committed: https://chromium.googlesource.com/chromium/src/+/e5ec3568878feddb6978cb2a352e1226ccb74bd2

Patch Set 1 #

Patch Set 2 : unfocus on unhover #

Patch Set 3 : remove erroneous change #

Total comments: 12

Patch Set 4 : msw review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -57 lines) Patch
M chrome/browser/ui/views/profiles/profile_chooser_view.cc View 1 2 3 2 chunks +46 lines, -57 lines 0 comments Download

Messages

Total messages: 36 (19 generated)
Evan Stade
+tapted for review (will send to a c/b/u/v/ owner later) +thomasanderson for fyi/optional review
3 years, 9 months ago (2017-03-08 19:29:07 UTC) #3
Tom (Use chromium acct)
When I test this patch locally, and I press tab over the profile chooser, I ...
3 years, 9 months ago (2017-03-08 20:12:31 UTC) #5
Evan Stade
On 2017/03/08 20:12:31, Tom Anderson wrote: > When I test this patch locally, and I ...
3 years, 9 months ago (2017-03-08 20:38:04 UTC) #6
Tom (Use chromium acct)
On 2017/03/08 20:38:04, Evan Stade wrote: > On 2017/03/08 20:12:31, Tom Anderson wrote: > > ...
3 years, 9 months ago (2017-03-08 20:59:06 UTC) #7
Evan Stade
On 2017/03/08 20:59:06, Tom Anderson wrote: > On 2017/03/08 20:38:04, Evan Stade wrote: > > ...
3 years, 9 months ago (2017-03-08 21:06:19 UTC) #8
Evan Stade
updated, PTAL. Unhovering blurs the view. This does align with menus, where if you interleave ...
3 years, 9 months ago (2017-03-15 23:16:12 UTC) #9
Tom (Use chromium acct)
lgtm
3 years, 9 months ago (2017-03-15 23:30:31 UTC) #14
tapted
lgtm - my only concern is around having RequestFocus() follow mouse hover. It's not how ...
3 years, 9 months ago (2017-03-15 23:33:29 UTC) #15
Evan Stade
On 2017/03/15 23:33:29, tapted wrote: > lgtm - my only concern is around having RequestFocus() ...
3 years, 9 months ago (2017-03-16 00:20:29 UTC) #18
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/2736613008/40001
3 years, 9 months ago (2017-03-16 00:21:31 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/386673)
3 years, 9 months ago (2017-03-16 00:34:47 UTC) #22
Evan Stade
+msw for owners (for some reason I thought tapted was an owner)
3 years, 9 months ago (2017-03-16 01:21:12 UTC) #24
msw
lgtm with nits https://codereview.chromium.org/2736613008/diff/40001/chrome/browser/ui/views/profiles/profile_chooser_view.cc File chrome/browser/ui/views/profiles/profile_chooser_view.cc (right): https://codereview.chromium.org/2736613008/diff/40001/chrome/browser/ui/views/profiles/profile_chooser_view.cc#newcode239 chrome/browser/ui/views/profiles/profile_chooser_view.cc:239: if ((state() == STATE_HOVERED || state() ...
3 years, 9 months ago (2017-03-16 01:41:45 UTC) #25
Evan Stade
https://codereview.chromium.org/2736613008/diff/40001/chrome/browser/ui/views/profiles/profile_chooser_view.cc File chrome/browser/ui/views/profiles/profile_chooser_view.cc (right): https://codereview.chromium.org/2736613008/diff/40001/chrome/browser/ui/views/profiles/profile_chooser_view.cc#newcode239 chrome/browser/ui/views/profiles/profile_chooser_view.cc:239: if ((state() == STATE_HOVERED || state() == STATE_PRESSED)) On ...
3 years, 9 months ago (2017-03-16 17:28:15 UTC) #26
msw
Nice, lgtm https://codereview.chromium.org/2736613008/diff/40001/chrome/browser/ui/views/profiles/profile_chooser_view.cc File chrome/browser/ui/views/profiles/profile_chooser_view.cc (right): https://codereview.chromium.org/2736613008/diff/40001/chrome/browser/ui/views/profiles/profile_chooser_view.cc#newcode241 chrome/browser/ui/views/profiles/profile_chooser_view.cc:241: else if (state() == STATE_NORMAL && HasFocus()) ...
3 years, 9 months ago (2017-03-16 17:40:17 UTC) #29
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/2736613008/60001
3 years, 9 months ago (2017-03-16 17:42:33 UTC) #33
commit-bot: I haz the power
3 years, 9 months ago (2017-03-16 18:15:29 UTC) #36
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/e5ec3568878feddb6978cb2a352e...

Powered by Google App Engine
This is Rietveld 408576698