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

Side by Side Diff: chrome/browser/resources/options/advanced_options.js

Issue 6824069: Allow revocation checking to be disabled on Mac, overriding/ignoring system settings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: With suppressions Created 9 years, 8 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 | Annotate | Revision Log
OLDNEW
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 cr.define('options', function() { 5 cr.define('options', function() {
6 6
7 var OptionsPage = options.OptionsPage; 7 var OptionsPage = options.OptionsPage;
8 8
9 // 9 //
10 // AdvancedOptions class 10 // AdvancedOptions class
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 [String($('promptForDownload').checked)]); 94 [String($('promptForDownload').checked)]);
95 }; 95 };
96 } else { 96 } else {
97 $('proxiesConfigureButton').onclick = function(event) { 97 $('proxiesConfigureButton').onclick = function(event) {
98 OptionsPage.navigateToPage('proxy'); 98 OptionsPage.navigateToPage('proxy');
99 chrome.send('coreOptionsUserMetricsAction', 99 chrome.send('coreOptionsUserMetricsAction',
100 ['Options_ShowProxySettings']); 100 ['Options_ShowProxySettings']);
101 }; 101 };
102 } 102 }
103 103
104 if (!cr.isMac) { 104 $('sslCheckRevocation').onclick = function(event) {
105 // Don't display "Check for server certificate revocation" on Mac until 105 chrome.send('checkRevocationCheckboxAction',
106 // http://crbug.com/78523 is fixed. 106 [String($('sslCheckRevocation').checked)]);
107 $('sslCheckRevocation').onclick = function(event) { 107 };
108 chrome.send('checkRevocationCheckboxAction',
109 [String($('sslCheckRevocation').checked)]);
110 };
111 }
112 $('sslUseSSL3').onclick = function(event) { 108 $('sslUseSSL3').onclick = function(event) {
113 chrome.send('useSSL3CheckboxAction', 109 chrome.send('useSSL3CheckboxAction',
114 [String($('sslUseSSL3').checked)]); 110 [String($('sslUseSSL3').checked)]);
115 }; 111 };
116 $('sslUseTLS1').onclick = function(event) { 112 $('sslUseTLS1').onclick = function(event) {
117 chrome.send('useTLS1CheckboxAction', 113 chrome.send('useTLS1CheckboxAction',
118 [String($('sslUseTLS1').checked)]); 114 [String($('sslUseTLS1').checked)]);
119 }; 115 };
120 116
121 // 'cloudPrintProxyEnabled' is true for Chrome branded builds on 117 // 'cloudPrintProxyEnabled' is true for Chrome branded builds on
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 if (proxySectionElm) 286 if (proxySectionElm)
291 proxySectionElm.parentNode.removeChild(proxySectionElm); 287 proxySectionElm.parentNode.removeChild(proxySectionElm);
292 }; 288 };
293 289
294 // Export 290 // Export
295 return { 291 return {
296 AdvancedOptions: AdvancedOptions 292 AdvancedOptions: AdvancedOptions
297 }; 293 };
298 294
299 }); 295 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698