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

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: addressed Roger's comments, css cleanup, rtl css tweak 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..cccf72356ac1d4fab1bb801a2e754473a8d84c20 100644
--- a/ui/login/account_picker/screen_account_picker.js
+++ b/ui/login/account_picker/screen_account_picker.js
@@ -203,6 +203,9 @@ 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.
+ if (Oobe.getInstance().displayType == DISPLAY_TYPE.DESKTOP_USER_MANAGER)
+ $('login-header-bar').classList.toggle('shadow', users.length > 8);
},
/**

Powered by Google App Engine
This is Rietveld 408576698