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

Side by Side Diff: chrome/browser/ui/views/profiles/profile_chooser_view.h

Issue 2023093002: Reflow of the profile items in desktop user menu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-profile-icon
Patch Set: Consolidated with upstream CL 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 // bubble, options buttons, tutorials). 141 // bubble, options buttons, tutorials).
142 void PopulateCompleteProfileChooserView(views::GridLayout* layout, 142 void PopulateCompleteProfileChooserView(views::GridLayout* layout,
143 AvatarMenu* avatar_menu); 143 AvatarMenu* avatar_menu);
144 144
145 // Creates the main profile card for the profile |avatar_item|. |is_guest| 145 // Creates the main profile card for the profile |avatar_item|. |is_guest|
146 // is used to determine whether to show any Sign in/Sign out/Manage accounts 146 // is used to determine whether to show any Sign in/Sign out/Manage accounts
147 // links. 147 // links.
148 views::View* CreateCurrentProfileView( 148 views::View* CreateCurrentProfileView(
149 const AvatarMenu::Item& avatar_item, 149 const AvatarMenu::Item& avatar_item,
150 bool is_guest); 150 bool is_guest);
151 views::View* CreateMaterialDesignCurrentProfileView(
152 const AvatarMenu::Item& avatar_item,
153 bool is_guest);
151 views::View* CreateGuestProfileView(); 154 views::View* CreateGuestProfileView();
152 views::View* CreateOtherProfilesView(const Indexes& avatars_to_show); 155 views::View* CreateOtherProfilesView(const Indexes& avatars_to_show);
153 views::View* CreateOptionsView(bool display_lock); 156 views::View* CreateOptionsView(bool display_lock);
154 views::View* CreateSupervisedUserDisclaimerView(); 157 views::View* CreateSupervisedUserDisclaimerView();
155 158
156 // Account Management view for the profile |avatar_item|. 159 // Account Management view for the profile |avatar_item|.
157 views::View* CreateCurrentProfileAccountsView( 160 views::View* CreateCurrentProfileAccountsView(
158 const AvatarMenu::Item& avatar_item); 161 const AvatarMenu::Item& avatar_item);
159 void CreateAccountButton(views::GridLayout* layout, 162 void CreateAccountButton(views::GridLayout* layout,
160 const std::string& account_id, 163 const std::string& account_id,
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 // The GAIA service type provided in the response header. 277 // The GAIA service type provided in the response header.
275 signin::GAIAServiceType gaia_service_type_; 278 signin::GAIAServiceType gaia_service_type_;
276 279
277 // The current access point of sign in. 280 // The current access point of sign in.
278 const signin_metrics::AccessPoint access_point_; 281 const signin_metrics::AccessPoint access_point_;
279 282
280 DISALLOW_COPY_AND_ASSIGN(ProfileChooserView); 283 DISALLOW_COPY_AND_ASSIGN(ProfileChooserView);
281 }; 284 };
282 285
283 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_ 286 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698