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

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

Issue 9702051: Fix typo in options2 browser_options.js (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 | 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) 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 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 } 514 }
515 515
516 $('sync-section').hidden = false; 516 $('sync-section').hidden = false;
517 this.syncSetupCompleted = syncData.setupCompleted; 517 this.syncSetupCompleted = syncData.setupCompleted;
518 $('customize-sync').hidden = !syncData.setupCompleted; 518 $('customize-sync').hidden = !syncData.setupCompleted;
519 519
520 var startStopButton = $('start-stop-sync'); 520 var startStopButton = $('start-stop-sync');
521 startStopButton.disabled = syncData.managed || 521 startStopButton.disabled = syncData.managed ||
522 syncData.setupInProgress; 522 syncData.setupInProgress;
523 startStopButton.hidden = 523 startStopButton.hidden =
524 syncData.setupCompleted && cr.isChromeOs; 524 syncData.setupCompleted && cr.isChromeOS;
525 startStopButton.textContent = 525 startStopButton.textContent =
526 syncData.setupCompleted ? 526 syncData.setupCompleted ?
527 localStrings.getString('syncButtonTextStop') : 527 localStrings.getString('syncButtonTextStop') :
528 syncData.setupInProgress ? 528 syncData.setupInProgress ?
529 localStrings.getString('syncButtonTextInProgress') : 529 localStrings.getString('syncButtonTextInProgress') :
530 localStrings.getString('syncButtonTextStart'); 530 localStrings.getString('syncButtonTextStart');
531 531
532 532
533 // TODO(estade): can this just be textContent? 533 // TODO(estade): can this just be textContent?
534 $('sync-status-text').innerHTML = syncData.statusText; 534 $('sync-status-text').innerHTML = syncData.statusText;
(...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after
1215 BrowserOptions.getLoggedInUsername = function() { 1215 BrowserOptions.getLoggedInUsername = function() {
1216 return BrowserOptions.getInstance().username_; 1216 return BrowserOptions.getInstance().username_;
1217 }; 1217 };
1218 } 1218 }
1219 1219
1220 // Export 1220 // Export
1221 return { 1221 return {
1222 BrowserOptions: BrowserOptions 1222 BrowserOptions: BrowserOptions
1223 }; 1223 };
1224 }); 1224 });
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698