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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 | 212 |
213 // Create a view that shows various options for an upgrade user who is not | 213 // Create a view that shows various options for an upgrade user who is not |
214 // the same person as the currently signed in user. | 214 // the same person as the currently signed in user. |
215 views::View* CreateSwitchUserView(); | 215 views::View* CreateSwitchUserView(); |
216 | 216 |
217 bool ShouldShowGoIncognito() const; | 217 bool ShouldShowGoIncognito() const; |
218 | 218 |
219 // Clean-up done after an action was performed in the ProfileChooser. | 219 // Clean-up done after an action was performed in the ProfileChooser. |
220 void PostActionPerformed(ProfileMetrics::ProfileDesktopMenu action_performed); | 220 void PostActionPerformed(ProfileMetrics::ProfileDesktopMenu action_performed); |
221 | 221 |
222 scoped_ptr<AvatarMenu> avatar_menu_; | 222 std::unique_ptr<AvatarMenu> avatar_menu_; |
223 Browser* browser_; | 223 Browser* browser_; |
224 | 224 |
225 // Other profiles used in the "fast profile switcher" view. | 225 // Other profiles used in the "fast profile switcher" view. |
226 ButtonIndexes open_other_profile_indexes_map_; | 226 ButtonIndexes open_other_profile_indexes_map_; |
227 | 227 |
228 // Buttons associated with the current profile. | 228 // Buttons associated with the current profile. |
229 AccountButtonIndexes delete_account_button_map_; | 229 AccountButtonIndexes delete_account_button_map_; |
230 AccountButtonIndexes reauth_account_button_map_; | 230 AccountButtonIndexes reauth_account_button_map_; |
231 | 231 |
232 // Links and buttons displayed in the tutorial card. | 232 // Links and buttons displayed in the tutorial card. |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 // The GAIA service type provided in the response header. | 277 // The GAIA service type provided in the response header. |
278 signin::GAIAServiceType gaia_service_type_; | 278 signin::GAIAServiceType gaia_service_type_; |
279 | 279 |
280 // The current access point of sign in. | 280 // The current access point of sign in. |
281 const signin_metrics::AccessPoint access_point_; | 281 const signin_metrics::AccessPoint access_point_; |
282 | 282 |
283 DISALLOW_COPY_AND_ASSIGN(ProfileChooserView); | 283 DISALLOW_COPY_AND_ASSIGN(ProfileChooserView); |
284 }; | 284 }; |
285 | 285 |
286 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_ | 286 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_ |
OLD | NEW |