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

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: Minor comment and consolidating "Close all windows" change 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..37423351b1471274e02d2b9b74e16e7abcda83a1 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,9 +246,11 @@ 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_;
+ views::LabelButton* close_all_windows_button_;
views::Link* add_account_link_;
// Buttons displayed in the gaia signin view.

Powered by Google App Engine
This is Rietveld 408576698