| 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 "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/callback.h" | 9 #include "base/callback.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 l10n_util::GetStringUTF16(IDS_OPTIONS_DOWNLOADLOCATION_BROWSE_BUTTON)); | 69 l10n_util::GetStringUTF16(IDS_OPTIONS_DOWNLOADLOCATION_BROWSE_BUTTON)); |
| 70 localized_strings->SetString("downloadLocationBrowseTitle", | 70 localized_strings->SetString("downloadLocationBrowseTitle", |
| 71 l10n_util::GetStringUTF16(IDS_OPTIONS_DOWNLOADLOCATION_BROWSE_TITLE)); | 71 l10n_util::GetStringUTF16(IDS_OPTIONS_DOWNLOADLOCATION_BROWSE_TITLE)); |
| 72 localized_strings->SetString("downloadLocationBrowseWindowTitle", | 72 localized_strings->SetString("downloadLocationBrowseWindowTitle", |
| 73 l10n_util::GetStringUTF16( | 73 l10n_util::GetStringUTF16( |
| 74 IDS_OPTIONS_DOWNLOADLOCATION_BROWSE_WINDOW_TITLE)); | 74 IDS_OPTIONS_DOWNLOADLOCATION_BROWSE_WINDOW_TITLE)); |
| 75 localized_strings->SetString("downloadLocationAskForSaveLocation", | 75 localized_strings->SetString("downloadLocationAskForSaveLocation", |
| 76 l10n_util::GetStringUTF16( | 76 l10n_util::GetStringUTF16( |
| 77 IDS_OPTIONS_DOWNLOADLOCATION_ASKFORSAVELOCATION)); | 77 IDS_OPTIONS_DOWNLOADLOCATION_ASKFORSAVELOCATION)); |
| 78 localized_strings->SetString("autoOpenFileTypesInfo", | 78 localized_strings->SetString("autoOpenFileTypesInfo", |
| 79 l10n_util::GetStringUTF16(IDS_OPTIONS_AUTOOPENFILETYPES_INFO)); | 79 l10n_util::GetStringUTF16(IDS_OPTIONS_OPEN_FILE_TYPES_AUTOMATICALLY)); |
| 80 localized_strings->SetString("autoOpenFileTypesResetToDefault", | 80 localized_strings->SetString("autoOpenFileTypesResetToDefault", |
| 81 l10n_util::GetStringUTF16(IDS_OPTIONS_AUTOOPENFILETYPES_RESETTODEFAULT)); | 81 l10n_util::GetStringUTF16(IDS_OPTIONS_AUTOOPENFILETYPES_RESETTODEFAULT)); |
| 82 localized_strings->SetString("gearSettingsGroupName", | 82 localized_strings->SetString("gearSettingsGroupName", |
| 83 l10n_util::GetStringUTF16(IDS_OPTIONS_GEARSSETTINGS_GROUP_NAME)); | 83 l10n_util::GetStringUTF16(IDS_OPTIONS_GEARSSETTINGS_GROUP_NAME)); |
| 84 localized_strings->SetString("gearSettingsConfigureGearsButton", | 84 localized_strings->SetString("gearSettingsConfigureGearsButton", |
| 85 l10n_util::GetStringUTF16( | 85 l10n_util::GetStringUTF16( |
| 86 IDS_OPTIONS_GEARSSETTINGS_CONFIGUREGEARS_BUTTON)); | 86 IDS_OPTIONS_GEARSSETTINGS_CONFIGUREGEARS_BUTTON)); |
| 87 localized_strings->SetString("translateEnableTranslate", | 87 localized_strings->SetString("translateEnableTranslate", |
| 88 l10n_util::GetStringUTF16(IDS_OPTIONS_TRANSLATE_ENABLE_TRANSLATE)); | 88 l10n_util::GetStringUTF16(IDS_OPTIONS_TRANSLATE_ENABLE_TRANSLATE)); |
| 89 localized_strings->SetString("certificatesManageButton", | 89 localized_strings->SetString("certificatesManageButton", |
| (...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 561 FundamentalValue useSSL3Value(useSSL3Setting); | 561 FundamentalValue useSSL3Value(useSSL3Setting); |
| 562 dom_ui_->CallJavascriptFunction( | 562 dom_ui_->CallJavascriptFunction( |
| 563 L"options.AdvancedOptions.SetUseSSL3CheckboxState", | 563 L"options.AdvancedOptions.SetUseSSL3CheckboxState", |
| 564 useSSL3Value, disabledValue); | 564 useSSL3Value, disabledValue); |
| 565 FundamentalValue useTLS1Value(useTLS1Setting); | 565 FundamentalValue useTLS1Value(useTLS1Setting); |
| 566 dom_ui_->CallJavascriptFunction( | 566 dom_ui_->CallJavascriptFunction( |
| 567 L"options.AdvancedOptions.SetUseTLS1CheckboxState", | 567 L"options.AdvancedOptions.SetUseTLS1CheckboxState", |
| 568 useTLS1Value, disabledValue); | 568 useTLS1Value, disabledValue); |
| 569 } | 569 } |
| 570 #endif | 570 #endif |
| OLD | NEW |