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

Unified Diff: ui/login/account_picker/screen_account_picker.js

Issue 1642323004: User Manager MD User Pods (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: User Manager MD User Pods Created 4 years, 10 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: ui/login/account_picker/screen_account_picker.js
diff --git a/ui/login/account_picker/screen_account_picker.js b/ui/login/account_picker/screen_account_picker.js
index fa287e2a1e8fa706f8dc120a604fbce5c1c73747..e8f528f11dd96195c68563253d59f608bfb27052 100644
--- a/ui/login/account_picker/screen_account_picker.js
+++ b/ui/login/account_picker/screen_account_picker.js
@@ -203,6 +203,8 @@ login.createScreen('AccountPickerScreen', 'account-picker', function() {
loadUsers: function(users, showGuest) {
$('pod-row').loadPods(users);
$('login-header-bar').showGuestButton = showGuest;
+ // On Desktop, |login-header-bar| has a shadow if there are 8+ profiles.
Roger Tawa OOO till Jul 10th 2016/02/10 15:58:30 Is this code used by cros too? If not, maybe don'
Moe 2016/02/11 00:44:02 This is also called from chrome/browser/ui/webui/c
+ $('login-header-bar').classList.toggle('shadow', users.length > 8);
},
/**

Powered by Google App Engine
This is Rietveld 408576698