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

Issue 2342723002: Reland: Update image and text color when row is selected in the chooser on Mac (Closed)

Created:
4 years, 3 months ago by juncai
Modified:
4 years, 2 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, tfarina, oshima+watch_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update image and text color when row is selected in the chooser on Mac This CL added code to change the image and text color in the chooser row when it is selected so that it is more visible. 1. changed text from black to white when row is selected. 2. changed image from black to white when row is selected. 3. changed "Paired" text color to use gfx::kGoogleGreen300 when row is selected. I uploaded screenshots to the issue page. BUG=645693 Committed: https://crrev.com/188a5ae80ab8cca65c8c987a5bfb8a37e33a773e Committed: https://crrev.com/310655348f28d0b2135ff8eff52ba1945782587c Cr-Original-Commit-Position: refs/heads/master@{#421606} Cr-Commit-Position: refs/heads/master@{#421752}

Patch Set 1 : updated image and text color when row is selected in the chooser on Mac #

Patch Set 2 : rebase #

Patch Set 3 : updated text color for "Paired" #

Patch Set 4 : rebase #

Total comments: 2

Patch Set 5 : address comments #

Total comments: 8

Patch Set 6 : address comments #

Total comments: 6

Patch Set 7 : address more comments #

Patch Set 8 : fix Mac test #

Patch Set 9 : fixed Mac asan test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+283 lines, -30 lines) Patch
M chrome/browser/chooser_controller/mock_chooser_controller.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chooser_controller/mock_chooser_controller.cc View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/chooser_content_view_cocoa.h View 1 2 3 4 5 1 chunk +7 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/chooser_content_view_cocoa.mm View 1 2 3 4 5 6 7 8 4 chunks +52 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/chooser_dialog_cocoa_controller.mm View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/chooser_dialog_cocoa_controller_unittest.mm View 1 2 3 4 5 6 7 16 chunks +213 lines, -25 lines 0 comments Download
M chrome/browser/ui/cocoa/website_settings/chooser_bubble_ui_cocoa.mm View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A ui/resources/default_100_percent/common/signal_0_bar_selected.png View 1 2 3 4 Binary file 0 comments Download
M ui/resources/default_100_percent/common/signal_1_bar.png View 1 2 3 4 Binary file 0 comments Download
A ui/resources/default_100_percent/common/signal_1_bar_selected.png View 1 2 3 4 Binary file 0 comments Download
M ui/resources/default_100_percent/common/signal_2_bar.png View 1 2 3 4 Binary file 0 comments Download
A ui/resources/default_100_percent/common/signal_2_bar_selected.png View 1 2 3 4 Binary file 0 comments Download
M ui/resources/default_100_percent/common/signal_3_bar.png View 1 2 3 4 Binary file 0 comments Download
A ui/resources/default_100_percent/common/signal_3_bar_selected.png View 1 2 3 4 Binary file 0 comments Download
A ui/resources/default_100_percent/common/signal_4_bar_selected.png View 1 2 3 4 Binary file 0 comments Download
A ui/resources/default_200_percent/common/signal_0_bar_selected.png View 1 2 3 4 Binary file 0 comments Download
A ui/resources/default_200_percent/common/signal_1_bar_selected.png View 1 2 3 4 Binary file 0 comments Download
M ui/resources/default_200_percent/common/signal_2_bar.png View 1 2 3 4 Binary file 0 comments Download
A ui/resources/default_200_percent/common/signal_2_bar_selected.png View 1 2 3 4 Binary file 0 comments Download
A ui/resources/default_200_percent/common/signal_3_bar_selected.png View 1 2 3 4 Binary file 0 comments Download
A ui/resources/default_200_percent/common/signal_4_bar_selected.png View 1 2 3 4 Binary file 0 comments Download
M ui/resources/ui_resources.grd View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 69 (47 generated)
juncai
oshima@chromium.org: Please review changes in //ui/resources/ msw@chromium.org: Please review changes in //chrome/browser/ui/views/ rsesek@chromium.org: Please review ...
4 years, 3 months ago (2016-09-15 20:29:22 UTC) #12
msw
c/b/ui/views/ lgtm, but be careful to respect native theme colors if you attempt something similar ...
4 years, 3 months ago (2016-09-15 21:14:56 UTC) #13
Robert Sesek
LGTM
4 years, 3 months ago (2016-09-15 22:24:18 UTC) #18
juncai
Since oshima@ is OOO, added sky@ as the reviewer.
4 years, 3 months ago (2016-09-21 16:41:04 UTC) #22
sky
https://codereview.chromium.org/2342723002/diff/60001/chrome/browser/ui/views/chooser_content_view.cc File chrome/browser/ui/views/chooser_content_view.cc (right): https://codereview.chromium.org/2342723002/diff/60001/chrome/browser/ui/views/chooser_content_view.cc#newcode31 chrome/browser/ui/views/chooser_content_view.cc:31: const int kSignalStrengthLevelBlackImageIds[5] = { Is there a reason ...
4 years, 3 months ago (2016-09-21 17:41:20 UTC) #23
juncai
Ran tools/resources/optimize-png-files.sh for all the signal strength level related png files. https://codereview.chromium.org/2342723002/diff/60001/chrome/browser/ui/views/chooser_content_view.cc File chrome/browser/ui/views/chooser_content_view.cc (right): ...
4 years, 3 months ago (2016-09-21 19:51:24 UTC) #26
sky
LGTM
4 years, 3 months ago (2016-09-21 21:53:24 UTC) #29
juncai
ping jyasskin@.
4 years, 2 months ago (2016-09-26 16:38:35 UTC) #30
Jeffrey Yasskin
On 2016/09/15 21:14:56, msw wrote: > c/b/ui/views/ lgtm, but be careful to respect native theme ...
4 years, 2 months ago (2016-09-26 22:25:47 UTC) #31
juncai
https://codereview.chromium.org/2342723002/diff/80001/chrome/browser/chooser_controller/mock_chooser_controller.h File chrome/browser/chooser_controller/mock_chooser_controller.h (right): https://codereview.chromium.org/2342723002/diff/80001/chrome/browser/chooser_controller/mock_chooser_controller.h#newcode61 chrome/browser/chooser_controller/mock_chooser_controller.h:61: static const int kImageColorBlack; On 2016/09/26 22:25:46, Jeffrey Yasskin ...
4 years, 2 months ago (2016-09-27 22:10:48 UTC) #34
juncai
On 2016/09/26 22:25:47, Jeffrey Yasskin wrote: > On 2016/09/15 21:14:56, msw wrote: > > c/b/ui/views/ ...
4 years, 2 months ago (2016-09-27 22:13:24 UTC) #35
Jeffrey Yasskin
On 2016/09/27 22:13:24, juncai wrote: > On 2016/09/26 22:25:47, Jeffrey Yasskin wrote: > > On ...
4 years, 2 months ago (2016-09-27 22:24:07 UTC) #36
oshima
ui/resources lgtm optional: for simple assets like this, please consider using vector icons.
4 years, 2 months ago (2016-09-28 00:07:30 UTC) #39
juncai
On 2016/09/28 00:07:30, oshima wrote: > ui/resources lgtm > > optional: for simple assets like ...
4 years, 2 months ago (2016-09-28 17:42:27 UTC) #42
juncai
https://codereview.chromium.org/2342723002/diff/100001/chrome/browser/ui/cocoa/extensions/chooser_dialog_cocoa_controller_unittest.mm File chrome/browser/ui/cocoa/extensions/chooser_dialog_cocoa_controller_unittest.mm (right): https://codereview.chromium.org/2342723002/diff/100001/chrome/browser/ui/cocoa/extensions/chooser_dialog_cocoa_controller_unittest.mm#newcode532 chrome/browser/ui/cocoa/extensions/chooser_dialog_cocoa_controller_unittest.mm:532: // selecting another option. On 2016/09/27 22:24:07, Jeffrey Yasskin ...
4 years, 2 months ago (2016-09-28 17:44:40 UTC) #43
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/2342723002/140001
4 years, 2 months ago (2016-09-28 19:30:32 UTC) #52
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 2 months ago (2016-09-28 19:36:49 UTC) #54
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/188a5ae80ab8cca65c8c987a5bfb8a37e33a773e Cr-Commit-Position: refs/heads/master@{#421606}
4 years, 2 months ago (2016-09-28 19:39:30 UTC) #56
juncai
A revert of this CL (patchset #8 id:140001) has been created in https://codereview.chromium.org/2380903002/ by juncai@chromium.org. ...
4 years, 2 months ago (2016-09-28 22:13:39 UTC) #57
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/2342723002/160001
4 years, 2 months ago (2016-09-29 05:08:30 UTC) #65
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 2 months ago (2016-09-29 05:14:48 UTC) #67
commit-bot: I haz the power
4 years, 2 months ago (2016-09-29 05:17:58 UTC) #69
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/310655348f28d0b2135ff8eff52ba1945782587c
Cr-Commit-Position: refs/heads/master@{#421752}

Powered by Google App Engine
This is Rietveld 408576698