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

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: merge to trunk 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 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 chrome.send('checkRevocationCheckboxAction', 400 chrome.send('checkRevocationCheckboxAction',
401 [String($('sslCheckRevocation').checked)]); 401 [String($('sslCheckRevocation').checked)]);
402 }; 402 };
403 403
404 // Cloud Print section. 404 // Cloud Print section.
405 // 'cloudPrintProxyEnabled' is true for Chrome branded builds on 405 // 'cloudPrintProxyEnabled' is true for Chrome branded builds on
406 // certain platforms, or could be enabled by a lab. 406 // certain platforms, or could be enabled by a lab.
407 if (!cr.isChromeOS) { 407 if (!cr.isChromeOS) {
408 $('cloudPrintConnectorSetupButton').onclick = function(event) { 408 $('cloudPrintConnectorSetupButton').onclick = function(event) {
409 if ($('cloudPrintManageButton').style.display == 'none') { 409 if ($('cloudPrintManageButton').style.display == 'none') {
410 // Disable the button, set it's text to the intermediate state. 410 // Disable the button, set its text to the intermediate state.
411 $('cloudPrintConnectorSetupButton').textContent = 411 $('cloudPrintConnectorSetupButton').textContent =
412 localStrings.getString('cloudPrintConnectorEnablingButton'); 412 localStrings.getString('cloudPrintConnectorEnablingButton');
413 $('cloudPrintConnectorSetupButton').disabled = true; 413 $('cloudPrintConnectorSetupButton').disabled = true;
414 chrome.send('showCloudPrintSetupDialog'); 414 chrome.send('showCloudPrintSetupDialog');
415 } else { 415 } else {
416 chrome.send('disableCloudPrintConnector'); 416 chrome.send('disableCloudPrintConnector');
417 } 417 }
418 }; 418 };
419 } 419 }
420 $('cloudPrintManageButton').onclick = function(event) { 420 $('cloudPrintManageButton').onclick = function(event) {
(...skipping 951 matching lines...) Expand 10 before | Expand all | Expand 10 after
1372 BrowserOptions.getLoggedInUsername = function() { 1372 BrowserOptions.getLoggedInUsername = function() {
1373 return BrowserOptions.getInstance().username_; 1373 return BrowserOptions.getInstance().username_;
1374 }; 1374 };
1375 } 1375 }
1376 1376
1377 // Export 1377 // Export
1378 return { 1378 return {
1379 BrowserOptions: BrowserOptions 1379 BrowserOptions: BrowserOptions
1380 }; 1380 };
1381 }); 1381 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/login/bubble.js ('k') | chrome/browser/resources/options2/language_options.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698