Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Side by Side Diff: chrome/browser/dom_ui/options/advanced_options_handler.cc

Issue 5573008: DOMUI Settings: UTH: Polish the 'Security' section (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/resources/options/advanced_options.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 l10n_util::GetStringUTF16(IDS_OPTIONS_AUTOOPENFILETYPES_INFO)); 79 l10n_util::GetStringUTF16(IDS_OPTIONS_AUTOOPENFILETYPES_INFO));
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("certificatesLabel",
90 l10n_util::GetStringUTF16(IDS_OPTIONS_CERTIFICATES_LABEL));
91 localized_strings->SetString("certificatesManageButton", 89 localized_strings->SetString("certificatesManageButton",
92 l10n_util::GetStringUTF16(IDS_OPTIONS_CERTIFICATES_MANAGE_BUTTON)); 90 l10n_util::GetStringUTF16(IDS_OPTIONS_CERTIFICATES_MANAGE_BUTTON));
93 localized_strings->SetString("proxiesLabel", 91 localized_strings->SetString("proxiesLabel",
94 l10n_util::GetStringUTF16(IDS_OPTIONS_PROXIES_LABEL)); 92 l10n_util::GetStringUTF16(IDS_OPTIONS_PROXIES_LABEL));
95 localized_strings->SetString("proxiesConfigureButton", 93 localized_strings->SetString("proxiesConfigureButton",
96 l10n_util::GetStringUTF16(IDS_OPTIONS_PROXIES_CONFIGURE_BUTTON)); 94 l10n_util::GetStringUTF16(IDS_OPTIONS_PROXIES_CONFIGURE_BUTTON));
97 localized_strings->SetString("safeBrowsingEnableProtection", 95 localized_strings->SetString("safeBrowsingEnableProtection",
98 l10n_util::GetStringUTF16(IDS_OPTIONS_SAFEBROWSING_ENABLEPROTECTION)); 96 l10n_util::GetStringUTF16(IDS_OPTIONS_SAFEBROWSING_ENABLEPROTECTION));
99 localized_strings->SetString("sslGroupDescription", 97 localized_strings->SetString("sslGroupDescription",
100 l10n_util::GetStringUTF16(IDS_OPTIONS_SSL_GROUP_DESCRIPTION)); 98 l10n_util::GetStringUTF16(IDS_OPTIONS_SSL_GROUP_DESCRIPTION));
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 FundamentalValue useSSL3Value(useSSL3Setting); 561 FundamentalValue useSSL3Value(useSSL3Setting);
564 dom_ui_->CallJavascriptFunction( 562 dom_ui_->CallJavascriptFunction(
565 L"options.AdvancedOptions.SetUseSSL3CheckboxState", 563 L"options.AdvancedOptions.SetUseSSL3CheckboxState",
566 useSSL3Value, disabledValue); 564 useSSL3Value, disabledValue);
567 FundamentalValue useTLS1Value(useTLS1Setting); 565 FundamentalValue useTLS1Value(useTLS1Setting);
568 dom_ui_->CallJavascriptFunction( 566 dom_ui_->CallJavascriptFunction(
569 L"options.AdvancedOptions.SetUseTLS1CheckboxState", 567 L"options.AdvancedOptions.SetUseTLS1CheckboxState",
570 useTLS1Value, disabledValue); 568 useTLS1Value, disabledValue);
571 } 569 }
572 #endif 570 #endif
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/options/advanced_options.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698