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

Issue 2636473003: [Mac] Update the Text Color for the Avatar Button (Closed)

Created:
3 years, 11 months ago by spqchan
Modified:
3 years, 10 months ago
Reviewers:
Robert Sesek, shrike
CC:
chromium-reviews, mac-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Mac] Update the Text Color for the Avatar Button The text color should be determined by the theme's color. If the theme is dark, then the text color should be white. Otherwise, it should be black. BUG=644004 Review-Url: https://codereview.chromium.org/2636473003 Cr-Commit-Position: refs/heads/master@{#447156} Committed: https://chromium.googlesource.com/chromium/src/+/a47be35337a78a8893d303600f76966e5d4dd225

Patch Set 1 #

Patch Set 2 : Nits #

Patch Set 3 : Fixed tests #

Total comments: 4

Patch Set 4 : Fix for shrike #

Total comments: 3

Patch Set 5 : Added a test #

Patch Set 6 : Added comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -14 lines) Patch
M chrome/browser/ui/cocoa/browser_window_controller.mm View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/avatar_button_controller.h View 1 2 3 4 5 1 chunk +9 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/avatar_button_controller.mm View 1 2 3 4 6 chunks +43 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/avatar_button_controller_unittest.mm View 1 2 3 4 4 chunks +53 lines, -4 lines 0 comments Download

Messages

Total messages: 43 (29 generated)
spqchan
PTAL
3 years, 11 months ago (2017-01-13 22:54:05 UTC) #6
spqchan
On 2017/01/13 22:54:05, spqchan wrote: > PTAL ping
3 years, 11 months ago (2017-01-24 19:04:16 UTC) #14
shrike
lgtm https://codereview.chromium.org/2636473003/diff/60001/chrome/browser/ui/cocoa/profiles/avatar_button_controller.h File chrome/browser/ui/cocoa/profiles/avatar_button_controller.h (right): https://codereview.chromium.org/2636473003/diff/60001/chrome/browser/ui/cocoa/profiles/avatar_button_controller.h#newcode25 chrome/browser/ui/cocoa/profiles/avatar_button_controller.h:25: NSWindow* window_; You should notate that this is ...
3 years, 11 months ago (2017-01-26 22:10:14 UTC) #15
spqchan
thanks! +rsesek for ownership https://codereview.chromium.org/2636473003/diff/60001/chrome/browser/ui/cocoa/profiles/avatar_button_controller.h File chrome/browser/ui/cocoa/profiles/avatar_button_controller.h (right): https://codereview.chromium.org/2636473003/diff/60001/chrome/browser/ui/cocoa/profiles/avatar_button_controller.h#newcode25 chrome/browser/ui/cocoa/profiles/avatar_button_controller.h:25: NSWindow* window_; On 2017/01/26 22:10:13, ...
3 years, 11 months ago (2017-01-26 22:39:37 UTC) #17
Robert Sesek
https://codereview.chromium.org/2636473003/diff/80001/chrome/browser/ui/cocoa/profiles/avatar_button_controller.h File chrome/browser/ui/cocoa/profiles/avatar_button_controller.h (right): https://codereview.chromium.org/2636473003/diff/80001/chrome/browser/ui/cocoa/profiles/avatar_button_controller.h#newcode28 chrome/browser/ui/cocoa/profiles/avatar_button_controller.h:28: - (id)initWithBrowser:(Browser*)browser window:(NSWindow*)window; Is |window| always the same as ...
3 years, 11 months ago (2017-01-27 11:01:28 UTC) #22
spqchan
PTAL https://codereview.chromium.org/2636473003/diff/80001/chrome/browser/ui/cocoa/profiles/avatar_button_controller.h File chrome/browser/ui/cocoa/profiles/avatar_button_controller.h (right): https://codereview.chromium.org/2636473003/diff/80001/chrome/browser/ui/cocoa/profiles/avatar_button_controller.h#newcode28 chrome/browser/ui/cocoa/profiles/avatar_button_controller.h:28: - (id)initWithBrowser:(Browser*)browser window:(NSWindow*)window; On 2017/01/27 11:01:28, Robert Sesek ...
3 years, 10 months ago (2017-01-27 18:24:49 UTC) #23
shrike
Would you please add a test? We want to make sure the text is dark ...
3 years, 10 months ago (2017-01-27 19:39:29 UTC) #24
spqchan
On 2017/01/27 19:39:29, shrike wrote: > Would you please add a test? We want to ...
3 years, 10 months ago (2017-01-27 22:26:15 UTC) #29
shrike
On 2017/01/27 22:26:15, spqchan wrote: > On 2017/01/27 19:39:29, shrike wrote: > > Would you ...
3 years, 10 months ago (2017-01-27 23:31:01 UTC) #30
Robert Sesek
https://codereview.chromium.org/2636473003/diff/80001/chrome/browser/ui/cocoa/profiles/avatar_button_controller.h File chrome/browser/ui/cocoa/profiles/avatar_button_controller.h (right): https://codereview.chromium.org/2636473003/diff/80001/chrome/browser/ui/cocoa/profiles/avatar_button_controller.h#newcode28 chrome/browser/ui/cocoa/profiles/avatar_button_controller.h:28: - (id)initWithBrowser:(Browser*)browser window:(NSWindow*)window; On 2017/01/27 18:24:49, spqchan wrote: > ...
3 years, 10 months ago (2017-01-30 16:54:10 UTC) #31
spqchan
On 2017/01/30 16:54:10, Robert Sesek wrote: > https://codereview.chromium.org/2636473003/diff/80001/chrome/browser/ui/cocoa/profiles/avatar_button_controller.h > File chrome/browser/ui/cocoa/profiles/avatar_button_controller.h (right): > > https://codereview.chromium.org/2636473003/diff/80001/chrome/browser/ui/cocoa/profiles/avatar_button_controller.h#newcode28 ...
3 years, 10 months ago (2017-01-30 19:20:32 UTC) #32
Robert Sesek
LGTM, thanks for the explanation
3 years, 10 months ago (2017-01-30 19:46:59 UTC) #35
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/2636473003/120001
3 years, 10 months ago (2017-01-31 01:34:33 UTC) #40
commit-bot: I haz the power
3 years, 10 months ago (2017-01-31 01:39:58 UTC) #43
Message was sent while issue was closed.
Committed patchset #6 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/a47be35337a78a8893d303600f76...

Powered by Google App Engine
This is Rietveld 408576698