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

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

Issue 2052473003: Reflow of user menu's active profile card into a button (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@reflow-profile
Patch Set: Rebased after upstream CL landed 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 5c440d0cae846cdfc6201a76663a346522492a72..40db9078441c31592ed7b3800988c8c42aa73a23 100644
--- a/chrome/browser/ui/views/profiles/profile_chooser_view.h
+++ b/chrome/browser/ui/views/profiles/profile_chooser_view.h
@@ -240,13 +240,17 @@ class ProfileChooserView : public content::WebContentsDelegate,
// Links and buttons displayed in the active profile card.
views::Link* manage_accounts_link_;
+ views::LabelButton* manage_accounts_button_;
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
- // views hierarchy.
+ // The profile name and photo in the active profile card in non-material-
+ // design user menu. Owned by the views hierarchy.
EditableProfilePhoto* current_profile_photo_;
EditableProfileName* current_profile_name_;
+ // For material design user menu, the active profile card owns the profile
+ // name and photo.
+ views::LabelButton* current_profile_card_;
// Action buttons.
views::LabelButton* guest_profile_button_;

Powered by Google App Engine
This is Rietveld 408576698