summaryrefslogtreecommitdiffstats
path: root/ui/webui
diff options
context:
space:
mode:
authortreib <treib@chromium.org>2015-05-21 03:36:13 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-21 10:36:35 +0000
commit5c654f86279e4abef018d89c8d94611fe8edacc0 (patch)
tree21627cb3324528661052ed2947334ac9c352a18c /ui/webui
parent72c3513416b5052a091914d77218854da415da48 (diff)
downloadchromium_src-5c654f86279e4abef018d89c8d94611fe8edacc0.zip
chromium_src-5c654f86279e4abef018d89c8d94611fe8edacc0.tar.gz
chromium_src-5c654f86279e4abef018d89c8d94611fe8edacc0.tar.bz2
Update chrome://extensions for supervised users
This includes: - new types of controlled-setting-indicator for children/supervised users - corresponding new "controlled-by" strings - passing the strings through the developerPrivate API, and removing the now-unnecessary installedByCustodian field BUG=397951 Review URL: https://codereview.chromium.org/1051273002 Cr-Commit-Position: refs/heads/master@{#330928}
Diffstat (limited to 'ui/webui')
-rw-r--r--ui/webui/resources/css/controlled_indicator.css8
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/webui/resources/css/controlled_indicator.css b/ui/webui/resources/css/controlled_indicator.css
index 50bbc84..cde88b9 100644
--- a/ui/webui/resources/css/controlled_indicator.css
+++ b/ui/webui/resources/css/controlled_indicator.css
@@ -32,6 +32,14 @@
background-image: url(chrome://theme/IDR_CONTROLLED_SETTING_SHARED);
}
+.controlled-setting-indicator[controlled-by='child-custodian'] > div {
+ background-image: url(chrome://theme/IDR_CONTROLLED_SETTING_CHILD);
+}
+
+.controlled-setting-indicator[controlled-by='supervised-user-custodian'] > div {
+ background-image: url(chrome://theme/IDR_CONTROLLED_SETTING_SUPERVISED);
+}
+
.controlled-setting-indicator:-webkit-any([controlled-by='recommended'],
[controlled-by='hasRecommendation']) > div {
background-image: url(chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY);