| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/eula_screen_handler.h" | 5 #include "chrome/browser/ui/webui/chromeos/login/eula_screen_handler.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/values.h" | 9 #include "base/values.h" |
| 10 #include "chrome/browser/chromeos/login/help_app_launcher.h" | 10 #include "chrome/browser/chromeos/login/help_app_launcher.h" |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 builder->Add("checkboxLogging", IDS_EULA_CHECKBOX_ENABLE_LOGGING); | 53 builder->Add("checkboxLogging", IDS_EULA_CHECKBOX_ENABLE_LOGGING); |
| 54 builder->Add("back", IDS_EULA_BACK_BUTTON); | 54 builder->Add("back", IDS_EULA_BACK_BUTTON); |
| 55 builder->Add("acceptAgreement", IDS_EULA_ACCEPT_AND_CONTINUE_BUTTON); | 55 builder->Add("acceptAgreement", IDS_EULA_ACCEPT_AND_CONTINUE_BUTTON); |
| 56 builder->Add("eulaSystemInstallationSettings", | 56 builder->Add("eulaSystemInstallationSettings", |
| 57 IDS_EULA_SYSTEM_SECURITY_SETTING); | 57 IDS_EULA_SYSTEM_SECURITY_SETTING); |
| 58 builder->Add("eulaTpmDesc", IDS_EULA_TPM_DESCRIPTION); | 58 builder->Add("eulaTpmDesc", IDS_EULA_TPM_DESCRIPTION); |
| 59 builder->Add("eulaTpmKeyDesc", IDS_EULA_TPM_KEY_DESCRIPTION); | 59 builder->Add("eulaTpmKeyDesc", IDS_EULA_TPM_KEY_DESCRIPTION); |
| 60 builder->Add("eulaTpmDescPowerwash", IDS_EULA_TPM_KEY_DESCRIPTION_POWERWASH); | 60 builder->Add("eulaTpmDescPowerwash", IDS_EULA_TPM_KEY_DESCRIPTION_POWERWASH); |
| 61 builder->Add("eulaTpmBusy", IDS_EULA_TPM_BUSY); | 61 builder->Add("eulaTpmBusy", IDS_EULA_TPM_BUSY); |
| 62 builder->Add("eulaSystemInstallationSettingsOkButton", IDS_OK); | 62 builder->Add("eulaSystemInstallationSettingsOkButton", IDS_OK); |
| 63 builder->Add("termsOfServiceLoading", IDS_TERMS_OF_SERVICE_SCREEN_LOADING); |
| 63 #if defined(ENABLE_RLZ) | 64 #if defined(ENABLE_RLZ) |
| 64 builder->AddF("eulaRlzDesc", | 65 builder->AddF("eulaRlzDesc", |
| 65 IDS_EULA_RLZ_DESCRIPTION, | 66 IDS_EULA_RLZ_DESCRIPTION, |
| 66 IDS_SHORT_PRODUCT_NAME, | 67 IDS_SHORT_PRODUCT_NAME, |
| 67 IDS_PRODUCT_NAME); | 68 IDS_PRODUCT_NAME); |
| 68 builder->AddF("eulaRlzEnable", | 69 builder->AddF("eulaRlzEnable", |
| 69 IDS_EULA_RLZ_ENABLE, | 70 IDS_EULA_RLZ_ENABLE, |
| 70 IDS_SHORT_PRODUCT_OS_NAME); | 71 IDS_SHORT_PRODUCT_OS_NAME); |
| 71 #endif | 72 #endif |
| 72 } | 73 } |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 } | 137 } |
| 137 | 138 |
| 138 void EulaScreenHandler::HandleOnInstallationSettingsPopupOpened( | 139 void EulaScreenHandler::HandleOnInstallationSettingsPopupOpened( |
| 139 const base::ListValue* args) { | 140 const base::ListValue* args) { |
| 140 if (!delegate_) | 141 if (!delegate_) |
| 141 return; | 142 return; |
| 142 delegate_->InitiatePasswordFetch(); | 143 delegate_->InitiatePasswordFetch(); |
| 143 } | 144 } |
| 144 | 145 |
| 145 } // namespace chromeos | 146 } // namespace chromeos |
| OLD | NEW |