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

Side by Side Diff: chrome/browser/resources/options2/browser_options.js

Issue 9906002: Fix some grammar in chrome/browser/resources/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 var OptionsPage = options.OptionsPage; 6 var OptionsPage = options.OptionsPage;
7 var ArrayDataModel = cr.ui.ArrayDataModel; 7 var ArrayDataModel = cr.ui.ArrayDataModel;
8 var RepeatingButton = cr.ui.RepeatingButton; 8 var RepeatingButton = cr.ui.RepeatingButton;
9 9
10 // 10 //
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 chrome.send('checkRevocationCheckboxAction', 402 chrome.send('checkRevocationCheckboxAction',
403 [String($('sslCheckRevocation').checked)]); 403 [String($('sslCheckRevocation').checked)]);
404 }; 404 };
405 405
406 // Cloud Print section. 406 // Cloud Print section.
407 // 'cloudPrintProxyEnabled' is true for Chrome branded builds on 407 // 'cloudPrintProxyEnabled' is true for Chrome branded builds on
408 // certain platforms, or could be enabled by a lab. 408 // certain platforms, or could be enabled by a lab.
409 if (!cr.isChromeOS) { 409 if (!cr.isChromeOS) {
410 $('cloudPrintConnectorSetupButton').onclick = function(event) { 410 $('cloudPrintConnectorSetupButton').onclick = function(event) {
411 if ($('cloudPrintManageButton').style.display == 'none') { 411 if ($('cloudPrintManageButton').style.display == 'none') {
412 // Disable the button, set it's text to the intermediate state. 412 // Disable the button, set its text to the intermediate state.
413 $('cloudPrintConnectorSetupButton').textContent = 413 $('cloudPrintConnectorSetupButton').textContent =
414 localStrings.getString('cloudPrintConnectorEnablingButton'); 414 localStrings.getString('cloudPrintConnectorEnablingButton');
415 $('cloudPrintConnectorSetupButton').disabled = true; 415 $('cloudPrintConnectorSetupButton').disabled = true;
416 chrome.send('showCloudPrintSetupDialog'); 416 chrome.send('showCloudPrintSetupDialog');
417 } else { 417 } else {
418 chrome.send('disableCloudPrintConnector'); 418 chrome.send('disableCloudPrintConnector');
419 } 419 }
420 }; 420 };
421 } 421 }
422 $('cloudPrintManageButton').onclick = function(event) { 422 $('cloudPrintManageButton').onclick = function(event) {
(...skipping 858 matching lines...) Expand 10 before | Expand all | Expand 10 after
1281 BrowserOptions.getLoggedInUsername = function() { 1281 BrowserOptions.getLoggedInUsername = function() {
1282 return BrowserOptions.getInstance().username_; 1282 return BrowserOptions.getInstance().username_;
1283 }; 1283 };
1284 } 1284 }
1285 1285
1286 // Export 1286 // Export
1287 return { 1287 return {
1288 BrowserOptions: BrowserOptions 1288 BrowserOptions: BrowserOptions
1289 }; 1289 };
1290 }); 1290 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698