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

Unified Diff: chrome/browser/resources/chromeos/login/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
Index: chrome/browser/resources/chromeos/login/login.js
diff --git a/chrome/browser/resources/chromeos/login/login.js b/chrome/browser/resources/chromeos/login/login.js
index bb83c78b475487bec9dbd397d717398ed4a33d37..1ce1c5eccf8046f1d04ded1ed2f02aaa0e580886 100644
--- a/chrome/browser/resources/chromeos/login/login.js
+++ b/chrome/browser/resources/chromeos/login/login.js
@@ -12,6 +12,17 @@ var isMd = false;
// <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 {
/**

Powered by Google App Engine
This is Rietveld 408576698