| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "chrome/browser/chromeos/login/app_launch_signin_screen.h" | 5 #include "chrome/browser/chromeos/login/app_launch_signin_screen.h" |
| 6 | 6 |
| 7 #include "base/values.h" | 7 #include "base/values.h" |
| 8 #include "chrome/browser/chromeos/login/help_app_launcher.h" | 8 #include "chrome/browser/chromeos/login/help_app_launcher.h" |
| 9 #include "chrome/browser/chromeos/login/login_utils.h" | 9 #include "chrome/browser/chromeos/login/login_utils.h" |
| 10 #include "chrome/browser/chromeos/login/user.h" | 10 #include "chrome/browser/chromeos/login/user.h" |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 } | 156 } |
| 157 | 157 |
| 158 const UserList& AppLaunchSigninScreen::GetUsers() const { | 158 const UserList& AppLaunchSigninScreen::GetUsers() const { |
| 159 return owner_user_list_; | 159 return owner_user_list_; |
| 160 } | 160 } |
| 161 | 161 |
| 162 bool AppLaunchSigninScreen::IsShowGuest() const { | 162 bool AppLaunchSigninScreen::IsShowGuest() const { |
| 163 return false; | 163 return false; |
| 164 } | 164 } |
| 165 | 165 |
| 166 bool AppLaunchSigninScreen::IsShowSupervised() const { |
| 167 return false; |
| 168 } |
| 169 |
| 166 bool AppLaunchSigninScreen::IsShowUsers() const { | 170 bool AppLaunchSigninScreen::IsShowUsers() const { |
| 167 return true; | 171 return true; |
| 168 } | 172 } |
| 169 | 173 |
| 170 bool AppLaunchSigninScreen::IsShowNewUser() const { | 174 bool AppLaunchSigninScreen::IsShowNewUser() const { |
| 171 return false; | 175 return false; |
| 172 } | 176 } |
| 173 | 177 |
| 174 bool AppLaunchSigninScreen::IsSigninInProgress() const { | 178 bool AppLaunchSigninScreen::IsSigninInProgress() const { |
| 175 // Return true to suppress network processing in the signin screen. | 179 // Return true to suppress network processing in the signin screen. |
| (...skipping 25 matching lines...) Expand all Loading... |
| 201 l10n_util::GetStringUTF8(IDS_LOGIN_ERROR_AUTHENTICATING_KIOSK), | 205 l10n_util::GetStringUTF8(IDS_LOGIN_ERROR_AUTHENTICATING_KIOSK), |
| 202 std::string(), | 206 std::string(), |
| 203 HelpAppLauncher::HELP_CANT_ACCESS_ACCOUNT_OFFLINE); | 207 HelpAppLauncher::HELP_CANT_ACCESS_ACCOUNT_OFFLINE); |
| 204 } | 208 } |
| 205 | 209 |
| 206 void AppLaunchSigninScreen::OnLoginSuccess(const UserContext& user_context) { | 210 void AppLaunchSigninScreen::OnLoginSuccess(const UserContext& user_context) { |
| 207 delegate_->OnOwnerSigninSuccess(); | 211 delegate_->OnOwnerSigninSuccess(); |
| 208 } | 212 } |
| 209 | 213 |
| 210 } // namespace chromeos | 214 } // namespace chromeos |
| OLD | NEW |