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

Issue 598163002: [Win] Redesign the new avatar button. (Closed)

Created:
6 years, 3 months ago by noms (inactive)
Modified:
6 years, 2 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina, oshima+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[Win] Redesign the new avatar button. Screenshots: https://drive.google.com/open?id=0B1B1Up4p2NRMc28yXzJuRFRZbWs&authuser=1 TL; DR: - never show a drop down arrow in the button. This means we can do s/MenuButton/LabelButton - if there is one local, non-signed in profile, show a tiny button with a generic avatar - in all other cases, show the avatar button with the profile name - updated the button insets so that the icons are centered correctly in the button - the new tab button should completely slide under the avatar button - because of this, I made public the new tab button width (and height, to be consistent) BUG=410946 Committed: https://crrev.com/47436cee55dc9836f3bd77efc4c9ca1648fd86a9 Cr-Commit-Position: refs/heads/master@{#296959}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : fix unit test #

Total comments: 4

Patch Set 3 : move static var declaration #

Messages

Total messages: 19 (4 generated)
noms (inactive)
Hi Scott, Here's a round of redesigning the avatar button to make it nicer for ...
6 years, 3 months ago (2014-09-24 21:01:35 UTC) #4
sky
On 2014/09/24 21:01:35, Monica Dinculescu wrote: > Hi Scott, > > Here's a round of ...
6 years, 3 months ago (2014-09-24 23:08:50 UTC) #5
sky
https://codereview.chromium.org/598163002/diff/40001/chrome/browser/ui/views/frame/glass_browser_frame_view.cc File chrome/browser/ui/views/frame/glass_browser_frame_view.cc (right): https://codereview.chromium.org/598163002/diff/40001/chrome/browser/ui/views/frame/glass_browser_frame_view.cc#newcode115 chrome/browser/ui/views/frame/glass_browser_frame_view.cc:115: minimize_button_offset -= I'm confused here. Shouldn't you only adjust ...
6 years, 3 months ago (2014-09-24 23:21:40 UTC) #6
noms (inactive)
> "- if there is one local, non-signed in profile, show a tiny button with ...
6 years, 2 months ago (2014-09-25 14:06:19 UTC) #7
sky
On 2014/09/25 14:06:19, Monica Dinculescu wrote: > > "- if there is one local, non-signed ...
6 years, 2 months ago (2014-09-25 19:31:07 UTC) #8
noms (inactive)
> Ok. So, after I see this button for two weeks I haven't touched this ...
6 years, 2 months ago (2014-09-25 19:59:38 UTC) #9
noms (inactive)
> Ok. So, after I see this button for two weeks I haven't touched this ...
6 years, 2 months ago (2014-09-25 19:59:40 UTC) #10
sky
On Thu, Sep 25, 2014 at 12:59 PM, <noms@chromium.org> wrote: >> Ok. So, after I ...
6 years, 2 months ago (2014-09-25 23:32:51 UTC) #11
noms (inactive)
> > It's sort-of-fine for the generic case, but since you're basically assuming > > ...
6 years, 2 months ago (2014-09-26 00:34:07 UTC) #12
sky
I feel like I'm just rehashing what has already been stated. The name of the ...
6 years, 2 months ago (2014-09-26 03:40:37 UTC) #13
sky
Begrudgingly LGTM https://codereview.chromium.org/598163002/diff/60001/chrome/browser/ui/views/profiles/new_avatar_button.cc File chrome/browser/ui/views/profiles/new_avatar_button.cc (right): https://codereview.chromium.org/598163002/diff/60001/chrome/browser/ui/views/profiles/new_avatar_button.cc#newcode204 chrome/browser/ui/views/profiles/new_avatar_button.cc:204: if (parent()) You can return to this ...
6 years, 2 months ago (2014-09-26 03:45:16 UTC) #14
noms (inactive)
Thanks. Yes, this has been approved by UI review, and I have already suggested an ...
6 years, 2 months ago (2014-09-26 16:03:42 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/598163002/80001
6 years, 2 months ago (2014-09-26 16:04:34 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:80001) as 1a9fef8313cdeb2a6cdb3100ff30dad8aaa82c95
6 years, 2 months ago (2014-09-26 16:47:05 UTC) #18
commit-bot: I haz the power
6 years, 2 months ago (2014-09-26 16:47:43 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/47436cee55dc9836f3bd77efc4c9ca1648fd86a9
Cr-Commit-Position: refs/heads/master@{#296959}

Powered by Google App Engine
This is Rietveld 408576698