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

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

Issue 869543005: Supervised icon added to unicorn userpods on account picker screen. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « chrome/browser/chromeos/login/screens/user_selection_screen.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/login/account_picker/user_pod_row.js
diff --git a/ui/login/account_picker/user_pod_row.js b/ui/login/account_picker/user_pod_row.js
index 2ad71bd6b1920f1111fc66d942d9045a7bd6d939..ec5ce28dcb23541b383752ceb9d778be35f1678d 100644
--- a/ui/login/account_picker/user_pod_row.js
+++ b/ui/login/account_picker/user_pod_row.js
@@ -1033,7 +1033,8 @@ cr.define('login', function() {
},
customizeUserPodPerUserType: function() {
- if (this.user_.supervisedUser && !this.user_.isDesktopUser) {
+ if ((this.user_.supervisedUser || this.user_.childUser)
+ && !this.user_.isDesktopUser) {
this.setUserPodIconType('supervised');
} else if (this.multiProfilesPolicyApplied) {
// Mark user pod as not focusable which in addition to the grayed out
« no previous file with comments | « chrome/browser/chromeos/login/screens/user_selection_screen.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698