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

Unified Diff: chrome/browser/resources/chromeos/login/md_login.js

Issue 2816713003: cros: Load pin assets on sign-in screen. (Closed)
Patch Set: Add change to md_login as well. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/chromeos/login/login.js ('k') | chrome/browser/ui/webui/chromeos/login/oobe_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/login/md_login.js
diff --git a/chrome/browser/resources/chromeos/login/md_login.js b/chrome/browser/resources/chromeos/login/md_login.js
index cc899d30eee5b2be91ff2f8ec8b88b9073dec5cb..e4e4e7dc80e3a86d605a8825ef92eb2c824a7254 100644
--- a/chrome/browser/resources/chromeos/login/md_login.js
+++ b/chrome/browser/resources/chromeos/login/md_login.js
@@ -12,6 +12,17 @@ var isMd = true;
// <include src="login_non_lock_shared.js">
// <include src="notification_card.js">
+/**
+ * Ensures that the pin keyboard is loaded.
+ * @param {object} onLoaded Callback executed when the pin keyboard is loaded.
+ */
+function ensurePinKeyboardLoaded(onLoaded) {
+ 'use strict';
+
+ // Wait a frame before running |onLoaded| to avoid any visual glitches.
+ setTimeout(onLoaded);
+}
+
cr.define('cr.ui.Oobe', function() {
return {
/**
« no previous file with comments | « chrome/browser/resources/chromeos/login/login.js ('k') | chrome/browser/ui/webui/chromeos/login/oobe_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698