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

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

Issue 2057203002: Bringing back fast user switching on desktop user menu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added check for guest button 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..b9bd32f2ce8f5ae04c7b3acf1a05a00292c135ba 100644
--- a/chrome/browser/ui/views/profiles/profile_chooser_view.h
+++ b/chrome/browser/ui/views/profiles/profile_chooser_view.h
@@ -150,7 +150,7 @@ class ProfileChooserView : public content::WebContentsDelegate,
bool is_guest);
views::View* CreateGuestProfileView();
views::View* CreateOtherProfilesView(const Indexes& avatars_to_show);
- views::View* CreateOptionsView(bool display_lock);
+ views::View* CreateOptionsView(bool display_lock, AvatarMenu* avatar_menu);
views::View* CreateSupervisedUserDisclaimerView();
// Account Management view for the profile |avatar_item|.
@@ -246,6 +246,7 @@ class ProfileChooserView : public content::WebContentsDelegate,
EditableProfileName* current_profile_name_;
// Action buttons.
+ views::LabelButton* guest_profile_button_;
views::LabelButton* users_button_;
views::LabelButton* go_incognito_button_;
views::LabelButton* lock_button_;

Powered by Google App Engine
This is Rietveld 408576698