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

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: Addressed formatting & naming 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 b4eb300b0e60d9ad9987a7c7a992b13e9778d8fe..4a3702bca9ed814fc85654760ab42eae25824620 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);

Powered by Google App Engine
This is Rietveld 408576698