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

Side by Side Diff: chrome/browser/ui/webui/options/advanced_options_handler.cc

Issue 9235004: [Garbled Text][Infobar] Adding infobar to suggest turning on encoding detection. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 8 years, 11 months 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
OLDNEW
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/options/advanced_options_handler.h" 5 #include "chrome/browser/ui/webui/options/advanced_options_handler.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 { "fontSizeLabelLarge", 136 { "fontSizeLabelLarge",
137 IDS_OPTIONS_FONT_SIZE_LABEL_LARGE }, 137 IDS_OPTIONS_FONT_SIZE_LABEL_LARGE },
138 { "fontSizeLabelVeryLarge", 138 { "fontSizeLabelVeryLarge",
139 IDS_OPTIONS_FONT_SIZE_LABEL_VERY_LARGE }, 139 IDS_OPTIONS_FONT_SIZE_LABEL_VERY_LARGE },
140 { "fontSizeLabelCustom", 140 { "fontSizeLabelCustom",
141 IDS_OPTIONS_FONT_SIZE_LABEL_CUSTOM }, 141 IDS_OPTIONS_FONT_SIZE_LABEL_CUSTOM },
142 { "fontSettingsCustomizeFontsButton", 142 { "fontSettingsCustomizeFontsButton",
143 IDS_OPTIONS_FONTSETTINGS_CUSTOMIZE_FONTS_BUTTON }, 143 IDS_OPTIONS_FONTSETTINGS_CUSTOMIZE_FONTS_BUTTON },
144 { "languageAndSpellCheckSettingsButton", 144 { "languageAndSpellCheckSettingsButton",
145 IDS_OPTIONS_LANGUAGE_AND_SPELLCHECK_BUTTON }, 145 IDS_OPTIONS_LANGUAGE_AND_SPELLCHECK_BUTTON },
146 { "advancedSectionTitleGarbledText",
147 IDS_OPTIONS_ADVANCED_SECTION_TITLE_GARBLED_TEXT },
146 { "advancedSectionTitlePrivacy", 148 { "advancedSectionTitlePrivacy",
147 IDS_OPTIONS_ADVANCED_SECTION_TITLE_PRIVACY }, 149 IDS_OPTIONS_ADVANCED_SECTION_TITLE_PRIVACY },
148 { "advancedSectionTitleContent", 150 { "advancedSectionTitleContent",
149 IDS_OPTIONS_ADVANCED_SECTION_TITLE_CONTENT }, 151 IDS_OPTIONS_ADVANCED_SECTION_TITLE_CONTENT },
150 { "advancedSectionTitleSecurity", 152 { "advancedSectionTitleSecurity",
151 IDS_OPTIONS_ADVANCED_SECTION_TITLE_SECURITY }, 153 IDS_OPTIONS_ADVANCED_SECTION_TITLE_SECURITY },
152 { "advancedSectionTitleNetwork", 154 { "advancedSectionTitleNetwork",
153 IDS_OPTIONS_ADVANCED_SECTION_TITLE_NETWORK }, 155 IDS_OPTIONS_ADVANCED_SECTION_TITLE_NETWORK },
154 { "advancedSectionTitleTranslate", 156 { "advancedSectionTitleTranslate",
155 IDS_OPTIONS_ADVANCED_SECTION_TITLE_TRANSLATE }, 157 IDS_OPTIONS_ADVANCED_SECTION_TITLE_TRANSLATE },
158 { "garbledTextEnableAutoFix",
159 IDS_OPTIONS_GARBLED_TEXT_ENABLE_AUTO_FIX },
156 { "translateEnableTranslate", 160 { "translateEnableTranslate",
157 IDS_OPTIONS_TRANSLATE_ENABLE_TRANSLATE }, 161 IDS_OPTIONS_TRANSLATE_ENABLE_TRANSLATE },
158 { "enableLogging", 162 { "enableLogging",
159 IDS_OPTIONS_ENABLE_LOGGING }, 163 IDS_OPTIONS_ENABLE_LOGGING },
160 { "improveBrowsingExperience", 164 { "improveBrowsingExperience",
161 IDS_OPTIONS_IMPROVE_BROWSING_EXPERIENCE }, 165 IDS_OPTIONS_IMPROVE_BROWSING_EXPERIENCE },
162 { "disableWebServices", 166 { "disableWebServices",
163 IDS_OPTIONS_DISABLE_WEB_SERVICES }, 167 IDS_OPTIONS_DISABLE_WEB_SERVICES },
164 { "advancedSectionTitleCloudPrint", 168 { "advancedSectionTitleCloudPrint",
165 IDS_GOOGLE_CLOUD_PRINT }, 169 IDS_GOOGLE_CLOUD_PRINT },
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 655
652 void AdvancedOptionsHandler::SetupSSLConfigSettings() { 656 void AdvancedOptionsHandler::SetupSSLConfigSettings() {
653 { 657 {
654 base::FundamentalValue checked(rev_checking_enabled_.GetValue()); 658 base::FundamentalValue checked(rev_checking_enabled_.GetValue());
655 base::FundamentalValue disabled(rev_checking_enabled_.IsManaged()); 659 base::FundamentalValue disabled(rev_checking_enabled_.IsManaged());
656 web_ui()->CallJavascriptFunction( 660 web_ui()->CallJavascriptFunction(
657 "options.AdvancedOptions.SetCheckRevocationCheckboxState", checked, 661 "options.AdvancedOptions.SetCheckRevocationCheckboxState", checked,
658 disabled); 662 disabled);
659 } 663 }
660 } 664 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/tab_contents/tab_contents_wrapper.cc ('k') | chrome/browser/ui/webui/options2/advanced_options_handler2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698