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

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

Issue 3086017: Add tabs to passwords and exceptions subpage (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: add todo for mac Created 10 years, 4 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 11 matching lines...) Expand all
22 __proto__: options.OptionsPage.prototype, 22 __proto__: options.OptionsPage.prototype,
23 23
24 // Initialize AdvancedOptions page. 24 // Initialize AdvancedOptions page.
25 initializePage: function() { 25 initializePage: function() {
26 // Call base class implementation to starts preference initialization. 26 // Call base class implementation to starts preference initialization.
27 OptionsPage.prototype.initializePage.call(this); 27 OptionsPage.prototype.initializePage.call(this);
28 28
29 // Setup click handlers for buttons. 29 // Setup click handlers for buttons.
30 $('privacyContentSettingsButton').onclick = function(event) { 30 $('privacyContentSettingsButton').onclick = function(event) {
31 OptionsPage.showPageByName('content'); 31 OptionsPage.showPageByName('content');
32 OptionsPage.showTab($('cookies-nav-tab'));
32 }; 33 };
33 $('privacyClearDataButton').onclick = function(event) { 34 $('privacyClearDataButton').onclick = function(event) {
34 OptionsPage.showOverlay('clearBrowserDataOverlay'); 35 OptionsPage.showOverlay('clearBrowserDataOverlay');
35 }; 36 };
36 $('downloadLocationBrowseButton').onclick = function(event) { 37 $('downloadLocationBrowseButton').onclick = function(event) {
37 chrome.send('selectDownloadLocation'); 38 chrome.send('selectDownloadLocation');
38 }; 39 };
39 $('autoOpenFileTypesResetToDefault').onclick = function(event) { 40 $('autoOpenFileTypesResetToDefault').onclick = function(event) {
40 chrome.send('autoOpenFileTypesAction'); 41 chrome.send('autoOpenFileTypesAction');
41 }; 42 };
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 AdvancedOptions.SetUseSSL2CheckboxState = function(checked) { 100 AdvancedOptions.SetUseSSL2CheckboxState = function(checked) {
100 $('sslUseSSL2').checked = checked; 101 $('sslUseSSL2').checked = checked;
101 }; 102 };
102 103
103 // Export 104 // Export
104 return { 105 return {
105 AdvancedOptions: AdvancedOptions 106 AdvancedOptions: AdvancedOptions
106 }; 107 };
107 108
108 }); 109 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/options.html ('k') | chrome/browser/resources/options/content_settings.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698