| 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 views::View* CreateProfileChooserView(AvatarMenu* avatar_menu); | 124 views::View* CreateProfileChooserView(AvatarMenu* avatar_menu); |
| 125 | 125 |
| 126 // Creates the main profile card for the profile |avatar_item|. |is_guest| | 126 // Creates the main profile card for the profile |avatar_item|. |is_guest| |
| 127 // is used to determine whether to show any Sign in/Sign out/Manage accounts | 127 // is used to determine whether to show any Sign in/Sign out/Manage accounts |
| 128 // links. | 128 // links. |
| 129 views::View* CreateCurrentProfileView( | 129 views::View* CreateCurrentProfileView( |
| 130 const AvatarMenu::Item& avatar_item, | 130 const AvatarMenu::Item& avatar_item, |
| 131 bool is_guest); | 131 bool is_guest); |
| 132 views::View* CreateGuestProfileView(); | 132 views::View* CreateGuestProfileView(); |
| 133 views::View* CreateOtherProfilesView(const Indexes& avatars_to_show); | 133 views::View* CreateOtherProfilesView(const Indexes& avatars_to_show); |
| 134 views::View* CreateOptionsView(bool enable_lock); | 134 views::View* CreateOptionsView(bool display_lock); |
| 135 views::View* CreateSupervisedUserDisclaimerView(); | 135 views::View* CreateSupervisedUserDisclaimerView(); |
| 136 | 136 |
| 137 // Account Management view for the profile |avatar_item|. | 137 // Account Management view for the profile |avatar_item|. |
| 138 views::View* CreateCurrentProfileAccountsView( | 138 views::View* CreateCurrentProfileAccountsView( |
| 139 const AvatarMenu::Item& avatar_item); | 139 const AvatarMenu::Item& avatar_item); |
| 140 void CreateAccountButton(views::GridLayout* layout, | 140 void CreateAccountButton(views::GridLayout* layout, |
| 141 const std::string& account, | 141 const std::string& account, |
| 142 bool is_primary_account, | 142 bool is_primary_account, |
| 143 bool reauth_required, | 143 bool reauth_required, |
| 144 int width); | 144 int width); |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 // The current tutorial mode. | 250 // The current tutorial mode. |
| 251 profiles::TutorialMode tutorial_mode_; | 251 profiles::TutorialMode tutorial_mode_; |
| 252 | 252 |
| 253 // The GAIA service type provided in the response header. | 253 // The GAIA service type provided in the response header. |
| 254 signin::GAIAServiceType gaia_service_type_; | 254 signin::GAIAServiceType gaia_service_type_; |
| 255 | 255 |
| 256 DISALLOW_COPY_AND_ASSIGN(ProfileChooserView); | 256 DISALLOW_COPY_AND_ASSIGN(ProfileChooserView); |
| 257 }; | 257 }; |
| 258 | 258 |
| 259 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_ | 259 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_ |
| OLD | NEW |