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

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: Created 4 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/lock.js
diff --git a/chrome/browser/resources/chromeos/login/lock.js b/chrome/browser/resources/chromeos/login/lock.js
index c1147ef2121f47d0d16ee7cb063a2b1722b1f506..fa5ab159901d1dd55e9cdc91e42d3b353f1a4a44 100644
--- a/chrome/browser/resources/chromeos/login/lock.js
+++ b/chrome/browser/resources/chromeos/login/lock.js
@@ -20,7 +20,18 @@
// Called after polymer has been loaded. Fades the pin element in.
var onPinLoaded = function(pinContainer) {
- pinContainer.style.opacity = 1;
+ setTimeout(function() {
+ pinContainer.style.opacity = 1;
+ var element1 = $('account-picker');
jdufault 2016/05/31 19:24:51 Why is this in a setTimeout? onPinLoaded is gettin
sammiequon 2016/06/14 22:22:21 Done.
+ element1.style.height = '600px';
+ element1.style.width = '250px';
+ var element2 = $('inner-container');
+ element2.style.height = '600px';
+ element2.style.width = '250px';
+ var element3 = document.getElementsByClassName('user-image-pane');
+ element3[0].style.height = '230px';
+ element3[0].style.width = '230px';
+ }, 1000);
};
// We only load the PIN element when it is actually shown so that lock screen

Powered by Google App Engine
This is Rietveld 408576698