| Index: chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm b/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm
|
| index ba08b6d7ec458b5492c0a27e54c474fdee0066dd..d8cb64267a881a96d03ed53429a942a49f321b98 100644
|
| --- a/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm
|
| @@ -1015,16 +1015,6 @@ class ActiveProfileObserverBridge : public AvatarMenuObserver,
|
| [container addSubview:separator];
|
| yOffset = NSMaxY([separator frame]);
|
| }
|
| - } else if (viewMode_ == profiles::BUBBLE_VIEW_MODE_ACCOUNT_MANAGEMENT) {
|
| - NSView* currentProfileAccountsView = [self createCurrentProfileAccountsView:
|
| - NSMakeRect(0, yOffset, kFixedMenuWidth, 0)];
|
| - [container addSubview:currentProfileAccountsView];
|
| - yOffset = NSMaxY([currentProfileAccountsView frame]);
|
| -
|
| - NSBox* accountsSeparator = [self separatorWithFrame:
|
| - NSMakeRect(0, yOffset, kFixedMenuWidth, 0)];
|
| - [container addSubview:accountsSeparator];
|
| - yOffset = NSMaxY([accountsSeparator frame]);
|
| }
|
|
|
| // For supervised users, add the disclaimer text.
|
| @@ -1042,6 +1032,18 @@ class ActiveProfileObserverBridge : public AvatarMenuObserver,
|
| yOffset = NSMaxY([separator frame]);
|
| }
|
|
|
| + if (viewMode_ == profiles::BUBBLE_VIEW_MODE_ACCOUNT_MANAGEMENT) {
|
| + NSView* currentProfileAccountsView = [self createCurrentProfileAccountsView:
|
| + NSMakeRect(0, yOffset, kFixedMenuWidth, 0)];
|
| + [container addSubview:currentProfileAccountsView];
|
| + yOffset = NSMaxY([currentProfileAccountsView frame]);
|
| +
|
| + NSBox* accountsSeparator = [self separatorWithFrame:
|
| + NSMakeRect(0, yOffset, kFixedMenuWidth, 0)];
|
| + [container addSubview:accountsSeparator];
|
| + yOffset = NSMaxY([accountsSeparator frame]);
|
| + }
|
| +
|
| // Active profile card.
|
| if (currentProfileView) {
|
| yOffset += kVerticalSpacing;
|
|
|