| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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/ui/webui/chromeos/login/signin_screen_handler.h" | 5 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
| (...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 434 builder->Add("passwordChangedProceedAnyway", | 434 builder->Add("passwordChangedProceedAnyway", |
| 435 IDS_LOGIN_PASSWORD_CHANGED_PROCEED_ANYWAY); | 435 IDS_LOGIN_PASSWORD_CHANGED_PROCEED_ANYWAY); |
| 436 builder->Add("proceedAnywayButton", | 436 builder->Add("proceedAnywayButton", |
| 437 IDS_LOGIN_PASSWORD_CHANGED_PROCEED_ANYWAY_BUTTON); | 437 IDS_LOGIN_PASSWORD_CHANGED_PROCEED_ANYWAY_BUTTON); |
| 438 builder->Add("publicAccountInfoFormat", IDS_LOGIN_PUBLIC_ACCOUNT_INFO_FORMAT); | 438 builder->Add("publicAccountInfoFormat", IDS_LOGIN_PUBLIC_ACCOUNT_INFO_FORMAT); |
| 439 builder->Add("publicAccountReminder", | 439 builder->Add("publicAccountReminder", |
| 440 IDS_LOGIN_PUBLIC_ACCOUNT_SIGNOUT_REMINDER); | 440 IDS_LOGIN_PUBLIC_ACCOUNT_SIGNOUT_REMINDER); |
| 441 builder->Add("publicAccountEnter", IDS_LOGIN_PUBLIC_ACCOUNT_ENTER); | 441 builder->Add("publicAccountEnter", IDS_LOGIN_PUBLIC_ACCOUNT_ENTER); |
| 442 builder->Add("publicAccountEnterAccessibleName", | 442 builder->Add("publicAccountEnterAccessibleName", |
| 443 IDS_LOGIN_PUBLIC_ACCOUNT_ENTER_ACCESSIBLE_NAME); | 443 IDS_LOGIN_PUBLIC_ACCOUNT_ENTER_ACCESSIBLE_NAME); |
| 444 builder->AddF("removeUserWarningText", | 444 builder->Add("removeUserWarningText", |
| 445 IDS_LOGIN_POD_USER_REMOVE_WARNING, | 445 base::string16()); |
| 446 builder->AddF("removeSupervisedUserWarningText", |
| 447 IDS_LOGIN_POD_SUPERVISED_USER_REMOVE_WARNING, |
| 446 base::UTF8ToUTF16(chrome::kSupervisedUserManagementDisplayURL)); | 448 base::UTF8ToUTF16(chrome::kSupervisedUserManagementDisplayURL)); |
| 447 builder->Add("removeUserWarningButtonTitle", | 449 builder->Add("removeUserWarningButtonTitle", |
| 448 IDS_LOGIN_POD_USER_REMOVE_WARNING_BUTTON); | 450 IDS_LOGIN_POD_USER_REMOVE_WARNING_BUTTON); |
| 449 | 451 |
| 450 builder->Add("samlNotice", IDS_LOGIN_SAML_NOTICE); | 452 builder->Add("samlNotice", IDS_LOGIN_SAML_NOTICE); |
| 451 | 453 |
| 452 builder->Add("confirmPasswordTitle", IDS_LOGIN_CONFIRM_PASSWORD_TITLE); | 454 builder->Add("confirmPasswordTitle", IDS_LOGIN_CONFIRM_PASSWORD_TITLE); |
| 453 builder->Add("confirmPasswordLabel", IDS_LOGIN_CONFIRM_PASSWORD_LABEL); | 455 builder->Add("confirmPasswordLabel", IDS_LOGIN_CONFIRM_PASSWORD_LABEL); |
| 454 builder->Add("confirmPasswordConfirmButton", | 456 builder->Add("confirmPasswordConfirmButton", |
| 455 IDS_LOGIN_CONFIRM_PASSWORD_CONFIRM_BUTTON); | 457 IDS_LOGIN_CONFIRM_PASSWORD_CONFIRM_BUTTON); |
| (...skipping 1366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1822 return gaia_screen_handler_->frame_error(); | 1824 return gaia_screen_handler_->frame_error(); |
| 1823 } | 1825 } |
| 1824 | 1826 |
| 1825 void SigninScreenHandler::OnCapsLockChanged(bool enabled) { | 1827 void SigninScreenHandler::OnCapsLockChanged(bool enabled) { |
| 1826 caps_lock_enabled_ = enabled; | 1828 caps_lock_enabled_ = enabled; |
| 1827 if (page_is_ready()) | 1829 if (page_is_ready()) |
| 1828 CallJS("login.AccountPickerScreen.setCapsLockState", caps_lock_enabled_); | 1830 CallJS("login.AccountPickerScreen.setCapsLockState", caps_lock_enabled_); |
| 1829 } | 1831 } |
| 1830 | 1832 |
| 1831 } // namespace chromeos | 1833 } // namespace chromeos |
| OLD | NEW |