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

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

Issue 2881243002: Refresh the lock screen PIN keyboard (Closed)
Patch Set: Created 3 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) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 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 */ 7 */
8 8
9 // <include src="login_shared.js"> 9 // <include src="md_login_shared.js">
10 10
11 /** 11 /**
12 * Ensures that the pin keyboard is loaded. 12 * Ensures that the pin keyboard is loaded.
13 * @param {function()} onLoaded Callback run when the pin keyboard is loaded. 13 * @param {function()} onLoaded Callback run when the pin keyboard is loaded.
14 */ 14 */
15 function ensurePinKeyboardLoaded(onLoaded) { 15 function ensurePinKeyboardLoaded(onLoaded) {
16 'use strict'; 16 'use strict';
17 17
18 // The element we want to see if loaded. 18 // The element we want to see if loaded.
19 var getPinKeyboard = function() { 19 var getPinKeyboard = function() {
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 * Reloads content of the page. 86 * Reloads content of the page.
87 * @param {!Object} data New dictionary with i18n values. 87 * @param {!Object} data New dictionary with i18n values.
88 */ 88 */
89 reloadContent: function(data) { 89 reloadContent: function(data) {
90 loadTimeData.overrideValues(data); 90 loadTimeData.overrideValues(data);
91 i18nTemplate.process(document, loadTimeData); 91 i18nTemplate.process(document, loadTimeData);
92 Oobe.getInstance().updateLocalizedContent_(); 92 Oobe.getInstance().updateLocalizedContent_();
93 }, 93 },
94 }; 94 };
95 }); 95 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698