Index: chrome/browser/resources/options/advanced_options.js |
diff --git a/chrome/browser/resources/options/advanced_options.js b/chrome/browser/resources/options/advanced_options.js |
index fdcb66cd12f1d7092fc476f530f1639281ceca31..160e56fd4ffbf2112916e6bf2fe6fc52cbd9d7fb 100644 |
--- a/chrome/browser/resources/options/advanced_options.js |
+++ b/chrome/browser/resources/options/advanced_options.js |
@@ -94,6 +94,19 @@ var OptionsPage = options.OptionsPage; |
}; |
} |
+ $('sslCheckRevocation').onclick = function(event) { |
+ chrome.send('checkRevocationCheckboxAction', |
+ [String($('sslCheckRevocation').checked)]); |
+ }; |
+ $('sslUseSSL3').onclick = function(event) { |
+ chrome.send('useSSL3CheckboxAction', |
+ [String($('sslUseSSL3').checked)]); |
+ }; |
+ $('sslUseTLS1').onclick = function(event) { |
+ chrome.send('useTLS1CheckboxAction', |
+ [String($('sslUseTLS1').checked)]); |
+ }; |
+ |
if ($('backgroundModeCheckbox')) { |
$('backgroundModeCheckbox').onclick = function(event) { |
chrome.send('backgroundModeAction', |
@@ -206,6 +219,25 @@ var OptionsPage = options.OptionsPage; |
} |
}; |
+ // Set the checked state for the sslCheckRevocation checkbox. |
+ AdvancedOptions.SetCheckRevocationCheckboxState = function( |
+ checked, disabled) { |
+ $('sslCheckRevocation').checked = checked; |
+ $('sslCheckRevocation').disabled = disabled; |
+ }; |
+ |
+ // Set the checked state for the sslUseSSL3 checkbox. |
+ AdvancedOptions.SetUseSSL3CheckboxState = function(checked, disabled) { |
+ $('sslUseSSL3').checked = checked; |
+ $('sslUseSSL3').disabled = disabled; |
+ }; |
+ |
+ // Set the checked state for the sslUseTLS1 checkbox. |
+ AdvancedOptions.SetUseTLS1CheckboxState = function(checked, disabled) { |
+ $('sslUseTLS1').checked = checked; |
+ $('sslUseTLS1').disabled = disabled; |
+ }; |
+ |
// Set the checked state for the backgroundModeCheckbox element. |
AdvancedOptions.SetBackgroundModeCheckboxState = function(checked) { |
$('backgroundModeCheckbox').checked = checked; |