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

Side by Side Diff: components/policy/resources/policy_templates.json

Issue 2916293002: Correct the documentation of the plugin content settings policies. (Closed)
Patch Set: Fix PH tags. Created 3 years, 6 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 | « no previous file | no next file » | 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 3133 matching lines...) Expand 10 before | Expand all | Expand 10 after
3144 'name': 'DefaultPluginsSetting', 3144 'name': 'DefaultPluginsSetting',
3145 'type': 'int-enum', 3145 'type': 'int-enum',
3146 'schema': { 3146 'schema': {
3147 'type': 'integer', 3147 'type': 'integer',
3148 'enum': [ 1, 2, 3 ], 3148 'enum': [ 1, 2, 3 ],
3149 }, 3149 },
3150 'items': [ 3150 'items': [
3151 { 3151 {
3152 'name': 'AllowPlugins', 3152 'name': 'AllowPlugins',
3153 'value': 1, 3153 'value': 1,
3154 'caption': '''Allow all sites to automatically run plugins''', 3154 'caption': '''Allow all sites to automatically run the <ph name="F LASH_PLUGIN_NAME">Flash</ph> plugin''',
3155 }, 3155 },
3156 { 3156 {
3157 'name': 'BlockPlugins', 3157 'name': 'BlockPlugins',
3158 'value': 2, 3158 'value': 2,
3159 'caption': '''Block all plugins''', 3159 'caption': '''Block the <ph name="FLASH_PLUGIN_NAME">Flash</ph> pl ugin''',
3160 }, 3160 },
3161 { 3161 {
3162 'name': 'ClickToPlay', 3162 'name': 'ClickToPlay',
3163 'value': 3, 3163 'value': 3,
3164 'caption': '''Click to play''', 3164 'caption': '''Click to play''',
3165 }, 3165 },
3166 ], 3166 ],
3167 'supported_on': ['chrome.*:10-', 'chrome_os:11-'], 3167 'supported_on': ['chrome.*:10-', 'chrome_os:11-'],
3168 'features': { 3168 'features': {
3169 'dynamic_refresh': True, 3169 'dynamic_refresh': True,
3170 'per_profile': True, 3170 'per_profile': True,
3171 }, 3171 },
3172 'example_value': 1, 3172 'example_value': 1,
3173 'id': 51, 3173 'id': 51,
3174 'caption': '''Default plugins setting''', 3174 'caption': '''Default <ph name="FLASH_PLUGIN_NAME">Flash</ph> setting' '',
3175 'tags': [], 3175 'tags': [],
3176 'desc': '''Allows you to set whether websites are allowed to automatic ally run plugins. Automatically running plugins can be either allowed for all we bsites or denied for all websites. 3176 'desc': '''Allows you to set whether websites are allowed to automatic ally run the <ph name="FLASH_PLUGIN_NAME">Flash</ph> plugin. Automatically runni ng the <ph name="FLASH_PLUGIN_NAME">Flash</ph> plugin can be either allowed for all websites or denied for all websites.
3177 3177
3178 Click to play allows plugins to run but the user must click them to st art their execution. 3178 Click to play allows the <ph name="FLASH_PLUGIN_NAME">Flash</ph> plugi n to run but the user must click on the placeholder to start its execution.
3179 3179
3180 If this policy is left not set, 'AllowPlugins' will be used and the us er will be able to change it.''', 3180 If this policy is left not set, the user will be able to change this s etting manually.''',
3181 }, 3181 },
3182 { 3182 {
3183 'name': 'DefaultPopupsSetting', 3183 'name': 'DefaultPopupsSetting',
3184 'type': 'int-enum', 3184 'type': 'int-enum',
3185 'schema': { 3185 'schema': {
3186 'type': 'integer', 3186 'type': 'integer',
3187 'enum': [ 1, 2 ], 3187 'enum': [ 1, 2 ],
3188 }, 3188 },
3189 'items': [ 3189 'items': [
3190 { 3190 {
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
3616 'type': 'array', 3616 'type': 'array',
3617 'items': { 'type': 'string' }, 3617 'items': { 'type': 'string' },
3618 }, 3618 },
3619 'supported_on': ['chrome.*:11-', 'chrome_os:11-'], 3619 'supported_on': ['chrome.*:11-', 'chrome_os:11-'],
3620 'features': { 3620 'features': {
3621 'dynamic_refresh': True, 3621 'dynamic_refresh': True,
3622 'per_profile': True, 3622 'per_profile': True,
3623 }, 3623 },
3624 'example_value': ['https://www.example.com', '[*.]example.edu'], 3624 'example_value': ['https://www.example.com', '[*.]example.edu'],
3625 'id': 73, 3625 'id': 73,
3626 'caption': '''Allow plugins on these sites''', 3626 'caption': '''Allow the <ph name="FLASH_PLUGIN_NAME">Flash</ph> plugin on these sites''',
3627 'tags': [], 3627 'tags': [],
3628 'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to run plugins. 3628 'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to run the <ph name="FLASH_PLUGIN_NAME">Flash</ph> plugin.
3629 3629
3630 If this policy is left not set the global default value will be used f or all sites either from the 'DefaultPluginsSetting' policy if it is set, or the user's personal configuration otherwise.''', 3630 If this policy is left not set the global default value will be used f or all sites either from the 'DefaultPluginsSetting' policy if it is set, or the user's personal configuration otherwise.''',
3631 }, 3631 },
3632 { 3632 {
3633 'name': 'PluginsBlockedForUrls', 3633 'name': 'PluginsBlockedForUrls',
3634 'type': 'list', 3634 'type': 'list',
3635 'schema': { 3635 'schema': {
3636 'type': 'array', 3636 'type': 'array',
3637 'items': { 'type': 'string' }, 3637 'items': { 'type': 'string' },
3638 }, 3638 },
3639 'supported_on': ['chrome.*:11-', 'chrome_os:11-'], 3639 'supported_on': ['chrome.*:11-', 'chrome_os:11-'],
3640 'features': { 3640 'features': {
3641 'dynamic_refresh': True, 3641 'dynamic_refresh': True,
3642 'per_profile': True, 3642 'per_profile': True,
3643 }, 3643 },
3644 'example_value': ['https://www.example.com', '[*.]example.edu'], 3644 'example_value': ['https://www.example.com', '[*.]example.edu'],
3645 'id': 74, 3645 'id': 74,
3646 'caption': '''Block plugins on these sites''', 3646 'caption': '''Block the <ph name="FLASH_PLUGIN_NAME">Flash</ph> plugin on these sites''',
3647 'tags': [], 3647 'tags': [],
3648 'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to run plugins. 3648 'desc': '''Allows you to set a list of url patterns that specify sites which are not allowed to run the <ph name="FLASH_PLUGIN_NAME">Flash</ph> plugin .
3649 3649
3650 If this policy is left not set the global default value will be used f or all sites either from the 'DefaultPluginsSetting' policy if it is set, or the user's personal configuration otherwise.''', 3650 If this policy is left not set the global default value will be used f or all sites either from the 'DefaultPluginsSetting' policy if it is set, or the user's personal configuration otherwise.''',
3651 }, 3651 },
3652 { 3652 {
3653 'name': 'PopupsAllowedForUrls', 3653 'name': 'PopupsAllowedForUrls',
3654 'type': 'list', 3654 'type': 'list',
3655 'schema': { 3655 'schema': {
3656 'type': 'array', 3656 'type': 'array',
3657 'items': { 'type': 'string' }, 3657 'items': { 'type': 'string' },
3658 }, 3658 },
(...skipping 6030 matching lines...) Expand 10 before | Expand all | Expand 10 after
9689 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 9689 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
9690 'text': 'Default Settings (users can override)', 9690 'text': 'Default Settings (users can override)',
9691 }, 9691 },
9692 'doc_complex_policies_on_windows': { 9692 'doc_complex_policies_on_windows': {
9693 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 9693 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
9694 '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>' '', 9694 '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>' '',
9695 }, 9695 },
9696 }, 9696 },
9697 'placeholders': [], 9697 'placeholders': [],
9698 } 9698 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698