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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 views::View* CreateEndPreviewView(); | 184 views::View* CreateEndPreviewView(); |
185 | 185 |
| 186 bool ShouldShowGoIncognito() const; |
| 187 |
186 // Clean-up done after an action was performed in the ProfileChooser. | 188 // Clean-up done after an action was performed in the ProfileChooser. |
187 void PostActionPerformed(ProfileMetrics::ProfileDesktopMenu action_performed); | 189 void PostActionPerformed(ProfileMetrics::ProfileDesktopMenu action_performed); |
188 | 190 |
189 scoped_ptr<AvatarMenu> avatar_menu_; | 191 scoped_ptr<AvatarMenu> avatar_menu_; |
190 Browser* browser_; | 192 Browser* browser_; |
191 | 193 |
192 // Other profiles used in the "fast profile switcher" view. | 194 // Other profiles used in the "fast profile switcher" view. |
193 ButtonIndexes open_other_profile_indexes_map_; | 195 ButtonIndexes open_other_profile_indexes_map_; |
194 | 196 |
195 // Buttons associated with the current profile. | 197 // Buttons associated with the current profile. |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 // The current tutorial mode. | 242 // The current tutorial mode. |
241 profiles::TutorialMode tutorial_mode_; | 243 profiles::TutorialMode tutorial_mode_; |
242 | 244 |
243 // The GAIA service type provided in the response header. | 245 // The GAIA service type provided in the response header. |
244 signin::GAIAServiceType gaia_service_type_; | 246 signin::GAIAServiceType gaia_service_type_; |
245 | 247 |
246 DISALLOW_COPY_AND_ASSIGN(ProfileChooserView); | 248 DISALLOW_COPY_AND_ASSIGN(ProfileChooserView); |
247 }; | 249 }; |
248 | 250 |
249 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_ | 251 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_ |
OLD | NEW |