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

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: Minor comments 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 37423351b1471274e02d2b9b74e16e7abcda83a1..873bec900af63962f5c745a17794ff5f72e086c9 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();
Evan Stade 2016/06/30 14:36:45 this doesn't need to be public. I'd just make it a
Jane 2016/06/30 14:47:34 Done.
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, AvatarMenu* avatar_menu);
@@ -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