| 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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 const base::string16& content_text, | 206 const base::string16& content_text, |
| 207 const base::string16& link_text, | 207 const base::string16& link_text, |
| 208 const base::string16& button_text, | 208 const base::string16& button_text, |
| 209 bool stack_button, | 209 bool stack_button, |
| 210 views::Link** link, | 210 views::Link** link, |
| 211 views::LabelButton** button, | 211 views::LabelButton** button, |
| 212 views::ImageButton** close_button); | 212 views::ImageButton** close_button); |
| 213 | 213 |
| 214 // Creates a header for signin and sync error surfacing for the user menu. | 214 // Creates a header for signin and sync error surfacing for the user menu. |
| 215 views::View* CreateSyncErrorViewIfNeeded(); | 215 views::View* CreateSyncErrorViewIfNeeded(); |
| 216 views::View* CreateSyncErrorView(const int content_string_id, | |
| 217 const int button_string_id, | |
| 218 views::LabelButton** button_out); | |
| 219 | 216 |
| 220 // Create a view that shows various options for an upgrade user who is not | 217 // Create a view that shows various options for an upgrade user who is not |
| 221 // the same person as the currently signed in user. | 218 // the same person as the currently signed in user. |
| 222 views::View* CreateSwitchUserView(); | 219 views::View* CreateSwitchUserView(); |
| 223 | 220 |
| 224 bool ShouldShowGoIncognito() const; | 221 bool ShouldShowGoIncognito() const; |
| 225 | 222 |
| 226 // Clean-up done after an action was performed in the ProfileChooser. | 223 // Clean-up done after an action was performed in the ProfileChooser. |
| 227 void PostActionPerformed(ProfileMetrics::ProfileDesktopMenu action_performed); | 224 void PostActionPerformed(ProfileMetrics::ProfileDesktopMenu action_performed); |
| 228 | 225 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 // The GAIA service type provided in the response header. | 294 // The GAIA service type provided in the response header. |
| 298 signin::GAIAServiceType gaia_service_type_; | 295 signin::GAIAServiceType gaia_service_type_; |
| 299 | 296 |
| 300 // The current access point of sign in. | 297 // The current access point of sign in. |
| 301 const signin_metrics::AccessPoint access_point_; | 298 const signin_metrics::AccessPoint access_point_; |
| 302 | 299 |
| 303 DISALLOW_COPY_AND_ASSIGN(ProfileChooserView); | 300 DISALLOW_COPY_AND_ASSIGN(ProfileChooserView); |
| 304 }; | 301 }; |
| 305 | 302 |
| 306 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_ | 303 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_ |
| OLD | NEW |