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

Issue 1830903006: Renders the profile name button in profile chooser view for supervised user. (Closed)

Created:
4 years, 9 months ago by Shu Chen
Modified:
4 years, 9 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Renders the profile name button in profile chooser view for supervised user. BUG=596423 Committed: https://crrev.com/ee6ba2af8c8cc70e1b12d22e3e68a9244145a253 Cr-Commit-Position: refs/heads/master@{#383254}

Patch Set 1 #

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

Messages

Total messages: 14 (5 generated)
Shu Chen
Peter, can you please review this cl? Thanks.
4 years, 9 months ago (2016-03-25 01:50:12 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1830903006/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1830903006/1
4 years, 9 months ago (2016-03-25 01:51:04 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-25 02:37:37 UTC) #6
Peter Kasting
LGTM https://codereview.chromium.org/1830903006/diff/1/chrome/browser/ui/views/profiles/profile_chooser_view.cc File chrome/browser/ui/views/profiles/profile_chooser_view.cc (left): https://codereview.chromium.org/1830903006/diff/1/chrome/browser/ui/views/profiles/profile_chooser_view.cc#oldcode433 chrome/browser/ui/views/profiles/profile_chooser_view.cc:433: new views::BoxLayout(views::BoxLayout::kVertical, 0, 0, 0)); We don't need ...
4 years, 9 months ago (2016-03-25 04:34:45 UTC) #7
Shu Chen
https://codereview.chromium.org/1830903006/diff/1/chrome/browser/ui/views/profiles/profile_chooser_view.cc File chrome/browser/ui/views/profiles/profile_chooser_view.cc (left): https://codereview.chromium.org/1830903006/diff/1/chrome/browser/ui/views/profiles/profile_chooser_view.cc#oldcode433 chrome/browser/ui/views/profiles/profile_chooser_view.cc:433: new views::BoxLayout(views::BoxLayout::kVertical, 0, 0, 0)); On 2016/03/25 04:34:45, Peter ...
4 years, 9 months ago (2016-03-25 05:48:11 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1830903006/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1830903006/1
4 years, 9 months ago (2016-03-25 05:48:38 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 9 months ago (2016-03-25 05:53:44 UTC) #11
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/ee6ba2af8c8cc70e1b12d22e3e68a9244145a253 Cr-Commit-Position: refs/heads/master@{#383254}
4 years, 9 months ago (2016-03-25 05:55:19 UTC) #13
Shu Chen
4 years, 9 months ago (2016-03-27 08:08:06 UTC) #14
Message was sent while issue was closed.
https://codereview.chromium.org/1830903006/diff/1/chrome/browser/ui/views/pro...
File chrome/browser/ui/views/profiles/profile_chooser_view.cc (left):

https://codereview.chromium.org/1830903006/diff/1/chrome/browser/ui/views/pro...
chrome/browser/ui/views/profiles/profile_chooser_view.cc:433: new
views::BoxLayout(views::BoxLayout::kVertical, 0, 0, 0));
On 2016/03/25 05:48:11, Shu Chen wrote:
> On 2016/03/25 04:34:45, Peter Kasting wrote:
> > We don't need this to be moved up as well, because we only have one child in
> the
> > early return case, right?
> 
> Yes, that is right.

Sorry, the issue still repro on the latest canary.
You're correct about the layout manager.
The SetLayoutManager() should move up otherwise the button's size cannot be
correctly set.
I will make a cl to fix that.

Powered by Google App Engine
This is Rietveld 408576698