| 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 <map> | 8 #include <map> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 views::View* CreateTutorialView( | 175 views::View* CreateTutorialView( |
| 176 profiles::TutorialMode tutorial_mode, | 176 profiles::TutorialMode tutorial_mode, |
| 177 const base::string16& title_text, | 177 const base::string16& title_text, |
| 178 const base::string16& content_text, | 178 const base::string16& content_text, |
| 179 const base::string16& link_text, | 179 const base::string16& link_text, |
| 180 const base::string16& button_text, | 180 const base::string16& button_text, |
| 181 views::Link** link, | 181 views::Link** link, |
| 182 views::LabelButton** button); | 182 views::LabelButton** button); |
| 183 | 183 |
| 184 // Create a view that shows various options for an upgrade user who is not | 184 // Create a view that shows various options for an upgrade user who is not |
| 185 // the same person as the currently signed in user |avatar_item|. | 185 // the same person as the currently signed in user. |
| 186 views::View* CreateSwitchUserView(const AvatarMenu::Item& avatar_item); | 186 views::View* CreateSwitchUserView(); |
| 187 | 187 |
| 188 bool ShouldShowGoIncognito() const; | 188 bool ShouldShowGoIncognito() const; |
| 189 | 189 |
| 190 // Clean-up done after an action was performed in the ProfileChooser. | 190 // Clean-up done after an action was performed in the ProfileChooser. |
| 191 void PostActionPerformed(ProfileMetrics::ProfileDesktopMenu action_performed); | 191 void PostActionPerformed(ProfileMetrics::ProfileDesktopMenu action_performed); |
| 192 | 192 |
| 193 scoped_ptr<AvatarMenu> avatar_menu_; | 193 scoped_ptr<AvatarMenu> avatar_menu_; |
| 194 Browser* browser_; | 194 Browser* browser_; |
| 195 | 195 |
| 196 // Other profiles used in the "fast profile switcher" view. | 196 // Other profiles used in the "fast profile switcher" view. |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 // The current tutorial mode. | 243 // The current tutorial mode. |
| 244 profiles::TutorialMode tutorial_mode_; | 244 profiles::TutorialMode tutorial_mode_; |
| 245 | 245 |
| 246 // The GAIA service type provided in the response header. | 246 // The GAIA service type provided in the response header. |
| 247 signin::GAIAServiceType gaia_service_type_; | 247 signin::GAIAServiceType gaia_service_type_; |
| 248 | 248 |
| 249 DISALLOW_COPY_AND_ASSIGN(ProfileChooserView); | 249 DISALLOW_COPY_AND_ASSIGN(ProfileChooserView); |
| 250 }; | 250 }; |
| 251 | 251 |
| 252 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_ | 252 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_ |
| OLD | NEW |