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

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

Issue 7104079: Fix certificate manager starting with no tab selected if opened by URL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/resources/options/certificate_manager.js » ('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) 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 ['Options_LanuageAndSpellCheckSettings']); 69 ['Options_LanuageAndSpellCheckSettings']);
70 }; 70 };
71 71
72 if (cr.isWindows || cr.isMac) { 72 if (cr.isWindows || cr.isMac) {
73 $('certificatesManageButton').onclick = function(event) { 73 $('certificatesManageButton').onclick = function(event) {
74 chrome.send('showManageSSLCertificates'); 74 chrome.send('showManageSSLCertificates');
75 }; 75 };
76 } else { 76 } else {
77 $('certificatesManageButton').onclick = function(event) { 77 $('certificatesManageButton').onclick = function(event) {
78 OptionsPage.navigateToPage('certificates'); 78 OptionsPage.navigateToPage('certificates');
79 OptionsPage.showTab($('personal-certs-nav-tab'));
80 chrome.send('coreOptionsUserMetricsAction', 79 chrome.send('coreOptionsUserMetricsAction',
81 ['Options_ManageSSLCertificates']); 80 ['Options_ManageSSLCertificates']);
82 }; 81 };
83 } 82 }
84 83
85 if (!cr.isChromeOS) { 84 if (!cr.isChromeOS) {
86 $('proxiesConfigureButton').onclick = function(event) { 85 $('proxiesConfigureButton').onclick = function(event) {
87 chrome.send('showNetworkProxySettings'); 86 chrome.send('showNetworkProxySettings');
88 }; 87 };
89 $('downloadLocationChangeButton').onclick = function(event) { 88 $('downloadLocationChangeButton').onclick = function(event) {
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 proxySectionElm.parentNode.removeChild(proxySectionElm); 271 proxySectionElm.parentNode.removeChild(proxySectionElm);
273 } 272 }
274 }; 273 };
275 274
276 // Export 275 // Export
277 return { 276 return {
278 AdvancedOptions: AdvancedOptions 277 AdvancedOptions: AdvancedOptions
279 }; 278 };
280 279
281 }); 280 });
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/options/certificate_manager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698