OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |