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

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

Issue 3187010: dom-ui options: Add button for displaying Gears settings (windows only).... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Rebase to r56875. 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/resources/options/advanced_options.html ('k') | no next file » | 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) 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 66
67 if (cr.isWindows) { 67 if (cr.isWindows) {
68 $('sslCheckRevocation').onclick = function(event) { 68 $('sslCheckRevocation').onclick = function(event) {
69 chrome.send('checkRevocationCheckboxAction', 69 chrome.send('checkRevocationCheckboxAction',
70 [String($('sslCheckRevocation').checked)]); 70 [String($('sslCheckRevocation').checked)]);
71 }; 71 };
72 $('sslUseSSL2').onclick = function(event) { 72 $('sslUseSSL2').onclick = function(event) {
73 chrome.send('useSSL2CheckboxAction', 73 chrome.send('useSSL2CheckboxAction',
74 [String($('sslUseSSL2').checked)]); 74 [String($('sslUseSSL2').checked)]);
75 }; 75 };
76 $('gearSettingsConfigureGearsButton').onclick = function(event) {
77 chrome.send('showGearsSettings');
78 };
76 } 79 }
77 } 80 }
78 }; 81 };
79 82
80 // 83 //
81 // Chrome callbacks 84 // Chrome callbacks
82 // 85 //
83 86
84 // Set the download path. 87 // Set the download path.
85 AdvancedOptions.SetDownloadLocationPath = function (path) { 88 AdvancedOptions.SetDownloadLocationPath = function (path) {
(...skipping 20 matching lines...) Expand all
106 AdvancedOptions.SetUseSSL2CheckboxState = function(checked) { 109 AdvancedOptions.SetUseSSL2CheckboxState = function(checked) {
107 $('sslUseSSL2').checked = checked; 110 $('sslUseSSL2').checked = checked;
108 }; 111 };
109 112
110 // Export 113 // Export
111 return { 114 return {
112 AdvancedOptions: AdvancedOptions 115 AdvancedOptions: AdvancedOptions
113 }; 116 };
114 117
115 }); 118 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/advanced_options.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698