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

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: Created 4 years 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
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: 356 142 # For your editing convenience: highest ID currently used: 357
143 # 143 #
144 # Placeholders: 144 # Placeholders:
145 # The following placeholder strings are automatically substituted: 145 # The following placeholder strings are automatically substituted:
146 # $1 -> Google Chrome / Chromium 146 # $1 -> Google Chrome / Chromium
147 # $2 -> Google Chrome OS / Chromium OS 147 # $2 -> Google Chrome OS / Chromium OS
148 # $3 -> Google Chrome Frame / Chromium Frame 148 # $3 -> Google Chrome Frame / Chromium Frame
149 # $6 is reserved for doc_writer 149 # $6 is reserved for doc_writer
150 # 150 #
151 # Device Policy: 151 # Device Policy:
152 # An additional flag 'device_only' (optional, defaults to False) indicates 152 # An additional flag 'device_only' (optional, defaults to False) indicates
(...skipping 9179 matching lines...) Expand 10 before | Expand all | Expand 10 after
9332 'example_value': False, 9332 'example_value': False,
9333 'id': 356, 9333 'id': 356,
9334 'caption': '''Enables users to set weak PINs for the lock screen PIN.' '', 9334 'caption': '''Enables users to set weak PINs for the lock screen PIN.' '',
9335 'tags': [], 9335 'tags': [],
9336 'desc': '''If this setting is configured to be false, users will be pr evented from setting PINs that are considered weak. Such PINs include PINs which contain the same digit throughout, PINs whose digits are increasing by 1, PINs whose digits are decreasing by 1 and PINs which are too common. 9336 'desc': '''If this setting is configured to be false, users will be pr evented from setting PINs that are considered weak. Such PINs include PINs which contain the same digit throughout, PINs whose digits are increasing by 1, PINs whose digits are decreasing by 1 and PINs which are too common.
9337 9337
9338 If this setting is configured to be true, or not configured, users can enter these PINs and will only get a warning display.''', 9338 If this setting is configured to be true, or not configured, users can enter these PINs and will only get a warning display.''',
9339 }, 9339 },
9340 ], 9340 ],
9341 }, 9341 },
9342 {
9343 'name': 'ShowCastIconInToolbar',
9344 'type': 'main',
9345 'schema': { 'type': 'boolean' },
9346 'supported_on': ['chrome.*:57-', 'chrome_os:57-'],
9347 'features': {
9348 'dynamic_refresh': False,
9349 'per_profile': True,
9350 },
9351 'example_value': False,
9352 'id': 357,
9353 'caption': '''Shows the Cast toolbar icon''',
9354 'tags': [],
9355 'desc': '''If this policy is set to true, the Cast toolbar icon will alway s be shown on the toolbar or the overflow menu, and users will not be able to re move it.
9356
9357 If this policy is set to false or not set, users will be able to pin or re move the icon via its contextual menu.'''
9358 },
9342 ], 9359 ],
9343 'messages': { 9360 'messages': {
9344 # Messages that are not associated to any policies. 9361 # Messages that are not associated to any policies.
9345 'win_supported_winxpsp2': { 9362 'win_supported_winxpsp2': {
9346 'desc': '''A label specifying the oldest possible compatible version of Wi ndows. This text will appear right next to a label containing the text 'Supporte d on:'.''', 9363 'desc': '''A label specifying the oldest possible compatible version of Wi ndows. This text will appear right next to a label containing the text 'Supporte d on:'.''',
9347 'text': '''Microsoft Windows XP SP2 or later''' 9364 'text': '''Microsoft Windows XP SP2 or later'''
9348 }, 9365 },
9349 'mac_chrome_preferences': { 9366 'mac_chrome_preferences': {
9350 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', 9367 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''',
9351 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' 9368 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es'''
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
9465 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 9482 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
9466 'text': 'Default Settings (users can override)', 9483 'text': 'Default Settings (users can override)',
9467 }, 9484 },
9468 'doc_complex_policies_on_windows': { 9485 'doc_complex_policies_on_windows': {
9469 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 9486 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
9470 '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>' '', 9487 '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>' '',
9471 }, 9488 },
9472 }, 9489 },
9473 'placeholders': [], 9490 'placeholders': [],
9474 } 9491 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698