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

Side by Side Diff: chrome/browser/resources/chromeos/login/login.js

Issue 10389064: Added estimated time remaining on AU. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed license headers. Created 8 years, 7 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) 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 /** 5 /**
6 * @fileoverview Login UI based on a stripped down OOBE controller. 6 * @fileoverview Login UI based on a stripped down OOBE controller.
7 * TODO(xiyuan): Refactoring this to get a better structure. 7 * TODO(xiyuan): Refactoring this to get a better structure.
8 */ 8 */
9 9
10 var localStrings = new LocalStrings(); 10 var localStrings = new LocalStrings();
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 Oobe.getInstance().showScreen(screen); 62 Oobe.getInstance().showScreen(screen);
63 }; 63 };
64 64
65 /** 65 /**
66 * Dummy Oobe functions not present with stripped login UI. 66 * Dummy Oobe functions not present with stripped login UI.
67 */ 67 */
68 Oobe.enableContinueButton = function(enable) {}; 68 Oobe.enableContinueButton = function(enable) {};
69 Oobe.setUsageStats = function(checked) {}; 69 Oobe.setUsageStats = function(checked) {};
70 Oobe.setOemEulaUrl = function(oemEulaUrl) {}; 70 Oobe.setOemEulaUrl = function(oemEulaUrl) {};
71 Oobe.setUpdateProgress = function(progress) {}; 71 Oobe.setUpdateProgress = function(progress) {};
72 Oobe.setUpdateEstimatedTimeLeft = function(days, hours, minutes, seconds) {};
73 Oobe.setUpdateDownloadingRate = function(rate) {};
72 Oobe.setUpdateMessage = function(message) {}; 74 Oobe.setUpdateMessage = function(message) {};
73 Oobe.showUpdateCurtain = function(enable) {}; 75 Oobe.showUpdateCurtain = function(enable) {};
76 Oobe.showUpdateDownloadingStats = function(enable) {};
74 Oobe.setTpmPassword = function(password) {}; 77 Oobe.setTpmPassword = function(password) {};
75 Oobe.reloadContent = function(data) {}; 78 Oobe.reloadContent = function(data) {};
76 79
77 /** 80 /**
78 * Updates version label visibilty. 81 * Updates version label visibilty.
79 * @param {boolean} show True if version label should be visible. 82 * @param {boolean} show True if version label should be visible.
80 */ 83 */
81 Oobe.showVersion = function(show) { 84 Oobe.showVersion = function(show) {
82 Oobe.getInstance().showVersion(show); 85 Oobe.getInstance().showVersion(show);
83 }; 86 };
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 return { 176 return {
174 Oobe: Oobe 177 Oobe: Oobe
175 }; 178 };
176 }); 179 });
177 180
178 var Oobe = cr.ui.Oobe; 181 var Oobe = cr.ui.Oobe;
179 182
180 disableTextSelectAndDrag(); 183 disableTextSelectAndDrag();
181 184
182 document.addEventListener('DOMContentLoaded', cr.ui.Oobe.initialize); 185 document.addEventListener('DOMContentLoaded', cr.ui.Oobe.initialize);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698