| 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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 // Account Management view for the profile |avatar_item|. | 157 // Account Management view for the profile |avatar_item|. |
| 158 views::View* CreateCurrentProfileAccountsView( | 158 views::View* CreateCurrentProfileAccountsView( |
| 159 const AvatarMenu::Item& avatar_item); | 159 const AvatarMenu::Item& avatar_item); |
| 160 void CreateAccountButton(views::GridLayout* layout, | 160 void CreateAccountButton(views::GridLayout* layout, |
| 161 const std::string& account_id, | 161 const std::string& account_id, |
| 162 bool is_primary_account, | 162 bool is_primary_account, |
| 163 bool reauth_required, | 163 bool reauth_required, |
| 164 int width); | 164 int width); |
| 165 | 165 |
| 166 // Creates a webview showing the gaia signin page. | 166 // Creates a webview showing the gaia signin page. |
| 167 views::View* CreateGaiaSigninView(); | 167 views::View* CreateGaiaSigninView(views::View** signin_content_view); |
| 168 | 168 |
| 169 // Creates a view to confirm account removal for |account_id_to_remove_|. | 169 // Creates a view to confirm account removal for |account_id_to_remove_|. |
| 170 views::View* CreateAccountRemovalView(); | 170 views::View* CreateAccountRemovalView(); |
| 171 | 171 |
| 172 // Removes the currently selected account and attempts to restart Chrome. | 172 // Removes the currently selected account and attempts to restart Chrome. |
| 173 void RemoveAccount(); | 173 void RemoveAccount(); |
| 174 | 174 |
| 175 // Close the tutorial card. | 175 // Close the tutorial card. |
| 176 void DismissTutorial(); | 176 void DismissTutorial(); |
| 177 | 177 |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 // The current tutorial mode. | 273 // The current tutorial mode. |
| 274 profiles::TutorialMode tutorial_mode_; | 274 profiles::TutorialMode tutorial_mode_; |
| 275 | 275 |
| 276 // The GAIA service type provided in the response header. | 276 // The GAIA service type provided in the response header. |
| 277 signin::GAIAServiceType gaia_service_type_; | 277 signin::GAIAServiceType gaia_service_type_; |
| 278 | 278 |
| 279 DISALLOW_COPY_AND_ASSIGN(ProfileChooserView); | 279 DISALLOW_COPY_AND_ASSIGN(ProfileChooserView); |
| 280 }; | 280 }; |
| 281 | 281 |
| 282 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_ | 282 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_ |
| OLD | NEW |