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

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: 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 9606af6a92d05367a0dfd40c2a635f68ea37b606..4920cf8b2e2b53703ad5851f618eac57a07e3100 100644
--- a/chrome/browser/ui/views/profiles/profile_chooser_view.h
+++ b/chrome/browser/ui/views/profiles/profile_chooser_view.h
@@ -248,6 +248,9 @@ class ProfileChooserView : public content::WebContentsDelegate,
// views hierarchy.
EditableProfilePhoto* current_profile_photo_;
EditableProfileName* current_profile_name_;
+ // For material design user menu, the profile photo and profile name are added
+ // as child views to the same button.
+ views::LabelButton* current_profile_card_;
// Action buttons.
views::LabelButton* users_button_;

Powered by Google App Engine
This is Rietveld 408576698