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

Unified Diff: chrome/browser/ui/views/profiles/profile_chooser_view.h

Issue 2023093002: Reflow of the profile items in desktop user menu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-profile-icon
Patch Set: Clean up layout (and rebased) Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/profiles/profile_chooser_view.h
diff --git a/chrome/browser/ui/views/profiles/profile_chooser_view.h b/chrome/browser/ui/views/profiles/profile_chooser_view.h
index 8d7dc7196e7a88e597212050c88ae552adf60019..5d6240cd18a6b49d8815ecd754b08e37e5c86d3a 100644
--- a/chrome/browser/ui/views/profiles/profile_chooser_view.h
+++ b/chrome/browser/ui/views/profiles/profile_chooser_view.h
@@ -66,6 +66,7 @@ class ProfileChooserView : public content::WebContentsDelegate,
Browser* browser);
static bool IsShowing();
static void Hide();
+ static int GetFixedMenuWidth();
private:
friend class ProfileChooserViewExtensionsTest;
@@ -148,6 +149,9 @@ class ProfileChooserView : public content::WebContentsDelegate,
views::View* CreateCurrentProfileView(
const AvatarMenu::Item& avatar_item,
bool is_guest);
+ views::View* CreateMaterialDesignCurrentProfileView(
+ const AvatarMenu::Item& avatar_item,
+ bool is_guest);
views::View* CreateGuestProfileView();
views::View* CreateOtherProfilesView(const Indexes& avatars_to_show);
views::View* CreateOptionsView(bool display_lock);
@@ -237,7 +241,7 @@ class ProfileChooserView : public content::WebContentsDelegate,
// Links and buttons displayed in the active profile card.
views::Link* manage_accounts_link_;
- views::LabelButton* signin_current_profile_link_;
+ views::LabelButton* signin_current_profile_button_;
views::LabelButton* auth_error_email_button_;
// The profile name and photo in the active profile card. Owned by the

Powered by Google App Engine
This is Rietveld 408576698