| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/dom_ui/options/advanced_options_handler.h" | 5 #include "chrome/browser/dom_ui/options/advanced_options_handler.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 l10n_util::GetStringUTF16(IDS_OPTIONS_DOWNLOADLOCATION_BROWSE_BUTTON)); | 71 l10n_util::GetStringUTF16(IDS_OPTIONS_DOWNLOADLOCATION_BROWSE_BUTTON)); |
| 72 localized_strings->SetString("downloadLocationBrowseTitle", | 72 localized_strings->SetString("downloadLocationBrowseTitle", |
| 73 l10n_util::GetStringUTF16(IDS_OPTIONS_DOWNLOADLOCATION_BROWSE_TITLE)); | 73 l10n_util::GetStringUTF16(IDS_OPTIONS_DOWNLOADLOCATION_BROWSE_TITLE)); |
| 74 localized_strings->SetString("downloadLocationBrowseWindowTitle", | 74 localized_strings->SetString("downloadLocationBrowseWindowTitle", |
| 75 l10n_util::GetStringUTF16( | 75 l10n_util::GetStringUTF16( |
| 76 IDS_OPTIONS_DOWNLOADLOCATION_BROWSE_WINDOW_TITLE)); | 76 IDS_OPTIONS_DOWNLOADLOCATION_BROWSE_WINDOW_TITLE)); |
| 77 localized_strings->SetString("downloadLocationAskForSaveLocation", | 77 localized_strings->SetString("downloadLocationAskForSaveLocation", |
| 78 l10n_util::GetStringUTF16( | 78 l10n_util::GetStringUTF16( |
| 79 IDS_OPTIONS_DOWNLOADLOCATION_ASKFORSAVELOCATION)); | 79 IDS_OPTIONS_DOWNLOADLOCATION_ASKFORSAVELOCATION)); |
| 80 localized_strings->SetString("autoOpenFileTypesInfo", | 80 localized_strings->SetString("autoOpenFileTypesInfo", |
| 81 l10n_util::GetStringUTF16(IDS_OPTIONS_AUTOOPENFILETYPES_INFO)); | 81 l10n_util::GetStringUTF16(IDS_OPTIONS_OPEN_FILE_TYPES_AUTOMATICALLY)); |
| 82 localized_strings->SetString("autoOpenFileTypesResetToDefault", | 82 localized_strings->SetString("autoOpenFileTypesResetToDefault", |
| 83 l10n_util::GetStringUTF16(IDS_OPTIONS_AUTOOPENFILETYPES_RESETTODEFAULT)); | 83 l10n_util::GetStringUTF16(IDS_OPTIONS_AUTOOPENFILETYPES_RESETTODEFAULT)); |
| 84 localized_strings->SetString("gearSettingsGroupName", | 84 localized_strings->SetString("gearSettingsGroupName", |
| 85 l10n_util::GetStringUTF16(IDS_OPTIONS_GEARSSETTINGS_GROUP_NAME)); | 85 l10n_util::GetStringUTF16(IDS_OPTIONS_GEARSSETTINGS_GROUP_NAME)); |
| 86 localized_strings->SetString("gearSettingsConfigureGearsButton", | 86 localized_strings->SetString("gearSettingsConfigureGearsButton", |
| 87 l10n_util::GetStringUTF16( | 87 l10n_util::GetStringUTF16( |
| 88 IDS_OPTIONS_GEARSSETTINGS_CONFIGUREGEARS_BUTTON)); | 88 IDS_OPTIONS_GEARSSETTINGS_CONFIGUREGEARS_BUTTON)); |
| 89 localized_strings->SetString("translateEnableTranslate", | 89 localized_strings->SetString("translateEnableTranslate", |
| 90 l10n_util::GetStringUTF16(IDS_OPTIONS_TRANSLATE_ENABLE_TRANSLATE)); | 90 l10n_util::GetStringUTF16(IDS_OPTIONS_TRANSLATE_ENABLE_TRANSLATE)); |
| 91 localized_strings->SetString("certificatesManageButton", | 91 localized_strings->SetString("certificatesManageButton", |
| (...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 563 FundamentalValue useSSL3Value(useSSL3Setting); | 563 FundamentalValue useSSL3Value(useSSL3Setting); |
| 564 dom_ui_->CallJavascriptFunction( | 564 dom_ui_->CallJavascriptFunction( |
| 565 L"options.AdvancedOptions.SetUseSSL3CheckboxState", | 565 L"options.AdvancedOptions.SetUseSSL3CheckboxState", |
| 566 useSSL3Value, disabledValue); | 566 useSSL3Value, disabledValue); |
| 567 FundamentalValue useTLS1Value(useTLS1Setting); | 567 FundamentalValue useTLS1Value(useTLS1Setting); |
| 568 dom_ui_->CallJavascriptFunction( | 568 dom_ui_->CallJavascriptFunction( |
| 569 L"options.AdvancedOptions.SetUseTLS1CheckboxState", | 569 L"options.AdvancedOptions.SetUseTLS1CheckboxState", |
| 570 useTLS1Value, disabledValue); | 570 useTLS1Value, disabledValue); |
| 571 } | 571 } |
| 572 #endif | 572 #endif |
| OLD | NEW |