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

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
« no previous file with comments | « chrome/test/data/policy/policy_test_cases.json ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/resources/policy_templates.json
diff --git a/components/policy/resources/policy_templates.json b/components/policy/resources/policy_templates.json
index 432807396fa3d0d5c79ef97483a92f871fdf2154..ee7979511005af134cddb05cf18d705626168a23 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: 361
+# For your editing convenience: highest ID currently used: 362
# And don't forget to also update the EnterprisePolicies enum of
# histograms.xml.
#
@@ -9145,19 +9145,48 @@
The desire is to remove this override in the future.''',
},
{
- 'name': 'EnableMediaRouter',
- 'type': 'main',
- 'schema': { 'type': 'boolean' },
- 'supported_on': ['chrome.*:52-', 'chrome_os:52-', 'android:52-'],
- 'features': {
- 'dynamic_refresh': False,
- 'per_profile': True,
- },
- 'example_value': True,
- 'id': 333,
- 'caption': '''Enables cast''',
- 'tags': [],
- 'desc': '''If this is set to true or is not set, users will be able to cast tabs, sites or the desktop from the browser. If set to false, this option will be disabled.'''
+ 'name': 'GoogleCast',
+ 'type': 'group',
+ 'caption': '''Google Cast''',
+ 'desc': '''Configure policies for Google Cast, a feature that allows users to send the contents of tabs, sites or the desktop from the browser to remote displays and sound systems.''',
+ 'policies': [
+ {
+ 'name': 'EnableMediaRouter',
+ 'type': 'main',
+ 'schema': { 'type': 'boolean' },
+ 'supported_on': ['chrome.*:52-', 'chrome_os:52-', 'android:52-'],
+ 'features': {
+ 'dynamic_refresh': False,
+ 'per_profile': True,
+ },
+ 'example_value': True,
+ 'id': 333,
+ 'caption': '''Enables Google Cast''',
+ 'tags': [],
+ 'desc': '''If this policy is set to true or is not set, Google Cast will be enabled, and users will be able to launch it from the app menu, page context menus, media controls on Cast-enabled websites, and (if shown) the Cast toolbar icon.
+
+ If this policy set to false, Google Cast will be disabled.'''
+ },
+ {
+ 'name': 'ShowCastIconInToolbar',
+ 'type': 'main',
+ 'schema': { 'type': 'boolean' },
+ 'supported_on': ['chrome.*:58-', 'chrome_os:58-'],
+ 'features': {
+ 'dynamic_refresh': False,
+ 'per_profile': True,
+ },
+ 'example_value': False,
+ 'id': 362,
+ 'caption': '''Shows the Google 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 is 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.'''
+ },
+ ],
},
{
'name': 'ArcBackupRestoreEnabled',
« no previous file with comments | « chrome/test/data/policy/policy_test_cases.json ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698