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

Side by Side 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, 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 # policy_templates.json - Metafile for policy templates 2 # policy_templates.json - Metafile for policy templates
3 # 3 #
4 # The content of this file is evaluated as a Python expression. 4 # The content of this file is evaluated as a Python expression.
5 # 5 #
6 # This file is used as input to generate the following policy templates: 6 # This file is used as input to generate the following policy templates:
7 # ADM, ADMX+ADML, MCX/plist and html documentation. 7 # ADM, ADMX+ADML, MCX/plist and html documentation.
8 # 8 #
9 # Policy templates are user interface definitions or documents about the 9 # Policy templates are user interface definitions or documents about the
10 # policies that can be used to configure Chrome. Each policy is a name-value 10 # policies that can be used to configure Chrome. Each policy is a name-value
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 # templates and documentation. The policy definition list that Chrome sees 132 # templates and documentation. The policy definition list that Chrome sees
133 # will include policies marked with 'future'. If a WIP policy isn't meant to 133 # will include policies marked with 'future'. If a WIP policy isn't meant to
134 # be seen by the policy providers either, the 'supported_on' key should be set 134 # be seen by the policy providers either, the 'supported_on' key should be set
135 # to an empty list. 135 # to an empty list.
136 # 136 #
137 # IDs: 137 # IDs:
138 # Since a Protocol Buffer definition is generated from this file, unique and 138 # Since a Protocol Buffer definition is generated from this file, unique and
139 # persistent IDs for all fields (but not for groups!) are needed. These are 139 # persistent IDs for all fields (but not for groups!) are needed. These are
140 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, 140 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
141 # because doing so would break the deployed wire format! 141 # because doing so would break the deployed wire format!
142 # For your editing convenience: highest ID currently used: 361 142 # For your editing convenience: highest ID currently used: 362
143 # And don't forget to also update the EnterprisePolicies enum of 143 # And don't forget to also update the EnterprisePolicies enum of
144 # histograms.xml. 144 # histograms.xml.
145 # 145 #
146 # Placeholders: 146 # Placeholders:
147 # The following placeholder strings are automatically substituted: 147 # The following placeholder strings are automatically substituted:
148 # $1 -> Google Chrome / Chromium 148 # $1 -> Google Chrome / Chromium
149 # $2 -> Google Chrome OS / Chromium OS 149 # $2 -> Google Chrome OS / Chromium OS
150 # $3 -> Google Chrome Frame / Chromium Frame 150 # $3 -> Google Chrome Frame / Chromium Frame
151 # $6 is reserved for doc_writer 151 # $6 is reserved for doc_writer
152 # 152 #
(...skipping 8985 matching lines...) Expand 10 before | Expand all | Expand 10 after
9138 9138
9139 This defaults to True (security feature enabled), except for Chrome OS 9139 This defaults to True (security feature enabled), except for Chrome OS
9140 enterprise users for which this currently defaults to False. 9140 enterprise users for which this currently defaults to False.
9141 9141
9142 It is recommended that this be set to True. The only reason to set it to 9142 It is recommended that this be set to True. The only reason to set it to
9143 False is if it causes a compatibility problem with existing PAC scripts. 9143 False is if it causes a compatibility problem with existing PAC scripts.
9144 9144
9145 The desire is to remove this override in the future.''', 9145 The desire is to remove this override in the future.''',
9146 }, 9146 },
9147 { 9147 {
9148 'name': 'EnableMediaRouter', 9148 'name': 'GoogleCast',
9149 'type': 'main', 9149 'type': 'group',
9150 'schema': { 'type': 'boolean' }, 9150 'caption': '''Google Cast''',
9151 'supported_on': ['chrome.*:52-', 'chrome_os:52-', 'android:52-'], 9151 '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 d isplays and sound systems.''',
9152 'features': { 9152 'policies': [
9153 'dynamic_refresh': False, 9153 {
9154 'per_profile': True, 9154 'name': 'EnableMediaRouter',
9155 }, 9155 'type': 'main',
9156 'example_value': True, 9156 'schema': { 'type': 'boolean' },
9157 'id': 333, 9157 'supported_on': ['chrome.*:52-', 'chrome_os:52-', 'android:52-'],
9158 'caption': '''Enables cast''', 9158 'features': {
9159 'tags': [], 9159 'dynamic_refresh': False,
9160 'desc': '''If this is set to true or is not set, users will be able to cas t tabs, sites or the desktop from the browser. If set to false, this option will be disabled.''' 9160 'per_profile': True,
9161 },
9162 'example_value': True,
9163 'id': 333,
9164 'caption': '''Enables Google Cast''',
9165 'tags': [],
9166 'desc': '''If this policy is set to true or is not set, Google Cast wi ll be enabled, and users will be able to launch it from the app menu, page conte xt menus, media controls on Cast-enabled websites, and (if shown) the Cast toolb ar icon.
9167
9168 If this policy set to false, Google Cast will be disabled.'''
9169 },
9170 {
9171 'name': 'ShowCastIconInToolbar',
9172 'type': 'main',
9173 'schema': { 'type': 'boolean' },
9174 'supported_on': ['chrome.*:58-', 'chrome_os:58-'],
9175 'features': {
9176 'dynamic_refresh': False,
9177 'per_profile': True,
9178 },
9179 'example_value': False,
9180 'id': 362,
9181 'caption': '''Shows the Google Cast toolbar icon''',
9182 'tags': [],
9183 'desc': '''If this policy is set to true, the Cast toolbar icon will a lways be shown on the toolbar or the overflow menu, and users will not be able t o remove it.
9184
9185 If this policy is set to false or is not set, users will be able to pi n or remove the icon via its contextual menu.
9186
9187 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.'''
9188 },
9189 ],
9161 }, 9190 },
9162 { 9191 {
9163 'name': 'ArcBackupRestoreEnabled', 9192 'name': 'ArcBackupRestoreEnabled',
9164 'type': 'main', 9193 'type': 'main',
9165 'schema': { 'type': 'boolean' }, 9194 'schema': { 'type': 'boolean' },
9166 'supported_on': ['chrome_os:53-'], 9195 'supported_on': ['chrome_os:53-'],
9167 'features': { 9196 'features': {
9168 'dynamic_refresh': True, 9197 'dynamic_refresh': True,
9169 'per_profile': False, 9198 'per_profile': False,
9170 }, 9199 },
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
9620 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 9649 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
9621 'text': 'Default Settings (users can override)', 9650 'text': 'Default Settings (users can override)',
9622 }, 9651 },
9623 'doc_complex_policies_on_windows': { 9652 'doc_complex_policies_on_windows': {
9624 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 9653 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
9625 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">https://www.chromium.org/administrators/complex-policies-on-windows<e x>https://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>' '', 9654 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">https://www.chromium.org/administrators/complex-policies-on-windows<e x>https://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>' '',
9626 }, 9655 },
9627 }, 9656 },
9628 'placeholders': [], 9657 'placeholders': [],
9629 } 9658 }
OLDNEW
« 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