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

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

Issue 869793004: Bring up the Fast User Switcher on Shift+Click on the new Avatar Button (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase before submit Created 5 years, 10 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 99e76a82a3eddb0c5cc6dc48db81ee8c4c037124..d9b59812d1169b414a1797ffc4ee645fc86132d6 100644
--- a/chrome/browser/ui/views/profiles/profile_chooser_view.h
+++ b/chrome/browser/ui/views/profiles/profile_chooser_view.h
@@ -124,6 +124,16 @@ class ProfileChooserView : public content::WebContentsDelegate,
// Creates the profile chooser view.
views::View* CreateProfileChooserView(AvatarMenu* avatar_menu);
+ // Populates |layout| with only a list of the profiles available to
+ // switch to.
+ void PopulateMinimalProfileChooserView(views::GridLayout* layout,
+ AvatarMenu* avatar_menu);
+
+ // Populates |layout| with all the elements of the Avatar Menu (current user
+ // bubble, options buttons, tutorials).
+ void PopulateCompleteProfileChooserView(views::GridLayout* layout,
+ AvatarMenu* avatar_menu);
+
// Creates the main profile card for the profile |avatar_item|. |is_guest|
// is used to determine whether to show any Sign in/Sign out/Manage accounts
// links.
« no previous file with comments | « chrome/browser/ui/views/profiles/new_avatar_button.cc ('k') | chrome/browser/ui/views/profiles/profile_chooser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698