OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/callback.h" | 10 #include "base/callback.h" |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 { "networkPredictionEnabledDescription", | 102 { "networkPredictionEnabledDescription", |
103 IDS_NETWORK_PREDICTION_ENABLED_DESCRIPTION }, | 103 IDS_NETWORK_PREDICTION_ENABLED_DESCRIPTION }, |
104 { "privacyContentSettingsButton", | 104 { "privacyContentSettingsButton", |
105 IDS_OPTIONS_PRIVACY_CONTENT_SETTINGS_BUTTON }, | 105 IDS_OPTIONS_PRIVACY_CONTENT_SETTINGS_BUTTON }, |
106 { "privacyClearDataButton", | 106 { "privacyClearDataButton", |
107 IDS_OPTIONS_PRIVACY_CLEAR_DATA_BUTTON }, | 107 IDS_OPTIONS_PRIVACY_CLEAR_DATA_BUTTON }, |
108 { "linkDoctorPref", | 108 { "linkDoctorPref", |
109 IDS_OPTIONS_LINKDOCTOR_PREF }, | 109 IDS_OPTIONS_LINKDOCTOR_PREF }, |
110 { "suggestPref", | 110 { "suggestPref", |
111 IDS_OPTIONS_SUGGEST_PREF }, | 111 IDS_OPTIONS_SUGGEST_PREF }, |
| 112 { "spellingPref", |
| 113 IDS_OPTIONS_SPELLING_PREF }, |
112 { "tabsToLinksPref", | 114 { "tabsToLinksPref", |
113 IDS_OPTIONS_TABS_TO_LINKS_PREF }, | 115 IDS_OPTIONS_TABS_TO_LINKS_PREF }, |
114 { "fontSettingsInfo", | 116 { "fontSettingsInfo", |
115 IDS_OPTIONS_FONTSETTINGS_INFO }, | 117 IDS_OPTIONS_FONTSETTINGS_INFO }, |
116 { "defaultZoomLevelLabel", | 118 { "defaultZoomLevelLabel", |
117 IDS_OPTIONS_DEFAULT_ZOOM_LEVEL_LABEL }, | 119 IDS_OPTIONS_DEFAULT_ZOOM_LEVEL_LABEL }, |
118 { "defaultFontSizeLabel", | 120 { "defaultFontSizeLabel", |
119 IDS_OPTIONS_DEFAULT_FONT_SIZE_LABEL }, | 121 IDS_OPTIONS_DEFAULT_FONT_SIZE_LABEL }, |
120 { "fontSizeLabelVerySmall", | 122 { "fontSizeLabelVerySmall", |
121 IDS_OPTIONS_FONT_SIZE_LABEL_VERY_SMALL }, | 123 IDS_OPTIONS_FONT_SIZE_LABEL_VERY_SMALL }, |
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
614 | 616 |
615 void AdvancedOptionsHandler::SetupSSLConfigSettings() { | 617 void AdvancedOptionsHandler::SetupSSLConfigSettings() { |
616 { | 618 { |
617 base::FundamentalValue checked(rev_checking_enabled_.GetValue()); | 619 base::FundamentalValue checked(rev_checking_enabled_.GetValue()); |
618 base::FundamentalValue disabled(rev_checking_enabled_.IsManaged()); | 620 base::FundamentalValue disabled(rev_checking_enabled_.IsManaged()); |
619 web_ui_->CallJavascriptFunction( | 621 web_ui_->CallJavascriptFunction( |
620 "options.AdvancedOptions.SetCheckRevocationCheckboxState", checked, | 622 "options.AdvancedOptions.SetCheckRevocationCheckboxState", checked, |
621 disabled); | 623 disabled); |
622 } | 624 } |
623 } | 625 } |
OLD | NEW |