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

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

Issue 2027683003: Pin keyboard moved to under the user profile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Fixed patch set 6 errors. Created 4 years, 6 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/lock.js
diff --git a/chrome/browser/resources/chromeos/login/lock.js b/chrome/browser/resources/chromeos/login/lock.js
index 51e856d1e99e996b1ecfd4abb14500a99d22bd57..5a57106414d36652f0ceb1a4c554e65877920c93 100644
--- a/chrome/browser/resources/chromeos/login/lock.js
+++ b/chrome/browser/resources/chromeos/login/lock.js
@@ -8,8 +8,10 @@
<include src="login_shared.js">
-// Asynchronously loads the pin keyboard.
-function showPinKeyboardAsync() {
+/**
+ * Asynchronously loads the pin keyboard.
+ */
+function loadPinKeyboardAsync() {
'use strict';
// This function could get called multiple times. Do nothing if we have
@@ -25,8 +27,9 @@ function showPinKeyboardAsync() {
});
// Called after polymer has been loaded. Fades the pin element in.
- var onPinLoaded = function(pinContainer) {
- pinContainer.style.opacity = 1;
+ var onPinLoaded = function() {
+ var podrow = $('pod-row');
jdufault 2016/06/23 00:02:31 nit: podRow
sammiequon 2016/06/23 19:23:21 Done.
+ podrow.setFocusedPodPinVisibility(true);
jdufault 2016/06/23 00:02:31 What's the plan for this callback? Right now it is
sammiequon 2016/06/23 19:23:21 Done.
};
// We only load the PIN element when it is actually shown so that lock screen

Powered by Google App Engine
This is Rietveld 408576698