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

Unified Diff: components/policy/resources/policy_templates.json

Issue 2559323002: Add a policy to always show the Cast toolbar icon (Closed)
Patch Set: Rebase Created 3 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
Index: components/policy/resources/policy_templates.json
diff --git a/components/policy/resources/policy_templates.json b/components/policy/resources/policy_templates.json
index c80aa29e3e50701d69ccb451a71208b8c22a977f..9b0b39db3653e2d1ea3c03da6ac0e867d6ce9025 100644
--- a/components/policy/resources/policy_templates.json
+++ b/components/policy/resources/policy_templates.json
@@ -139,7 +139,7 @@
# persistent IDs for all fields (but not for groups!) are needed. These are
# specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
# because doing so would break the deployed wire format!
-# For your editing convenience: highest ID currently used: 360
+# For your editing convenience: highest ID currently used: 361
# And don't forget to also update the EnterprisePolicies enum of
# histograms.xml.
#
@@ -9449,6 +9449,25 @@
If the device wallpaper policy is left not set, it's the user's wallpaper policy to decide what to show if the user's wallpaper policy is set.''',
},
+ {
+ 'name': 'ShowCastIconInToolbar',
pastarmovj 2017/01/24 23:03:46 Please move this policy right after the EnableMedi
takumif 2017/01/26 23:12:35 Putting them in a group 'Google Cast'.
+ 'type': 'main',
+ 'schema': { 'type': 'boolean' },
+ 'supported_on': ['chrome.*:57-', 'chrome_os:57-'],
+ 'features': {
+ 'dynamic_refresh': False,
+ 'per_profile': True,
+ },
+ 'example_value': False,
+ 'id': 361,
+ 'caption': '''Shows the Cast toolbar icon''',
+ 'tags': [],
+ 'desc': '''If this policy is set to true, the Cast toolbar icon will always be shown on the toolbar or the overflow menu, and users will not be able to remove it.
+
+ If this policy is set to false or not set, users will be able to pin or remove the icon via its contextual menu.
+
+ If the policy "EnableMediaRouter" is set to false, then this policy's value would have no effect, and the toolbar icon would not be shown.'''
+ },
],
'messages': {
# Messages that are not associated to any policies.

Powered by Google App Engine
This is Rietveld 408576698