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

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

Issue 2369353002: Adds a pref and a policy to decide if PDFs should always be opened externally. (Closed)
Patch Set: Remove changes leaked in from the dependent branch. Created 4 years, 2 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 # templates and documentation. The policy definition list that Chrome sees 130 # templates and documentation. The policy definition list that Chrome sees
131 # will include policies marked with 'future'. If a WIP policy isn't meant to 131 # will include policies marked with 'future'. If a WIP policy isn't meant to
132 # be seen by the policy providers either, the 'supported_on' key should be set 132 # be seen by the policy providers either, the 'supported_on' key should be set
133 # to an empty list. 133 # to an empty list.
134 # 134 #
135 # IDs: 135 # IDs:
136 # Since a Protocol Buffer definition is generated from this file, unique and 136 # Since a Protocol Buffer definition is generated from this file, unique and
137 # persistent IDs for all fields (but not for groups!) are needed. These are 137 # persistent IDs for all fields (but not for groups!) are needed. These are
138 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, 138 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
139 # because doing so would break the deployed wire format! 139 # because doing so would break the deployed wire format!
140 # For your editing convenience: highest ID currently used: 345 140 # For your editing convenience: highest ID currently used: 347
141 # 141 #
142 # Placeholders: 142 # Placeholders:
143 # The following placeholder strings are automatically substituted: 143 # The following placeholder strings are automatically substituted:
144 # $1 -> Google Chrome / Chromium 144 # $1 -> Google Chrome / Chromium
145 # $2 -> Google Chrome OS / Chromium OS 145 # $2 -> Google Chrome OS / Chromium OS
146 # $3 -> Google Chrome Frame / Chromium Frame 146 # $3 -> Google Chrome Frame / Chromium Frame
147 # $6 is reserved for doc_writer 147 # $6 is reserved for doc_writer
148 # 148 #
149 # Device Policy: 149 # Device Policy:
150 # An additional flag 'device_only' (optional, defaults to False) indicates 150 # An additional flag 'device_only' (optional, defaults to False) indicates
(...skipping 1205 matching lines...) Expand 10 before | Expand all | Expand 10 after
1356 If you enable this setting, the specified list of plugins can be used in < ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. Users can enable or disabl e them in 'about:plugins', even if the plugin also matches a pattern in Disabled Plugins. Users can also enable and disable plugins that don't match any patterns in DisabledPlugins, DisabledPluginsExceptions and EnabledPlugins. 1356 If you enable this setting, the specified list of plugins can be used in < ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. Users can enable or disabl e them in 'about:plugins', even if the plugin also matches a pattern in Disabled Plugins. Users can also enable and disable plugins that don't match any patterns in DisabledPlugins, DisabledPluginsExceptions and EnabledPlugins.
1357 1357
1358 This policy is meant to allow for strict plugin blacklisting where the 'Di sabledPlugins' list contains wildcarded entries like disable all plugins '*' or disable all Java plugins '*Java*' but the administrator wishes to enable some pa rticular version like 'IcedTea Java 2.3'. This particular versions can be specif ied in this policy. 1358 This policy is meant to allow for strict plugin blacklisting where the 'Di sabledPlugins' list contains wildcarded entries like disable all plugins '*' or disable all Java plugins '*Java*' but the administrator wishes to enable some pa rticular version like 'IcedTea Java 2.3'. This particular versions can be specif ied in this policy.
1359 1359
1360 Note that both the plugin name and the plugin's group name have to be exem pted. Each plugin group is shown in a separate section in about:plugins; each se ction may have one or more plugins. For example, the "Shockwave Flash" plugin be longs to the "Adobe Flash Player" group, and both names have to have a match in the exceptions list if that plugin is to be exempted from the blacklist. 1360 Note that both the plugin name and the plugin's group name have to be exem pted. Each plugin group is shown in a separate section in about:plugins; each se ction may have one or more plugins. For example, the "Shockwave Flash" plugin be longs to the "Adobe Flash Player" group, and both names have to have a match in the exceptions list if that plugin is to be exempted from the blacklist.
1361 1361
1362 If this policy is left not set any plugin that matches the patterns in the 'DisabledPlugins' will be locked disabled and the user won't be able to enable them.''', 1362 If this policy is left not set any plugin that matches the patterns in the 'DisabledPlugins' will be locked disabled and the user won't be able to enable them.''',
1363 'label': '''List of exceptions to the list of disabled plugins''', 1363 'label': '''List of exceptions to the list of disabled plugins''',
1364 }, 1364 },
1365 { 1365 {
1366 'name': 'AlwaysOpenPdfExternally',
1367 'type': 'main',
1368 'schema': { 'type': 'boolean' },
1369 'supported_on': ['chrome.*:55-'],
1370 'features': {
1371 'dynamic_refresh': True,
1372 'per_profile': True,
1373 },
1374 'example_value': True,
1375 'id': 347,
1376 'caption': '''Always Open PDF files externally''',
1377 'tags': [],
1378 'desc': '''Disables the internal PDF viewer in <ph name="PRODUCT_NAME">$1< ex>Google Chrome</ex></ph>. Instead it treats it as download and allows the user to open PDF files with the default application.
1379
1380 If this policy is left not set or disabled the PDF plugin will be used to open PDF files unless the user disables it.''',
1381 },
1382 {
1366 'name': 'DisablePluginFinder', 1383 'name': 'DisablePluginFinder',
1367 'type': 'main', 1384 'type': 'main',
1368 'schema': { 'type': 'boolean' }, 1385 'schema': { 'type': 'boolean' },
1369 'supported_on': ['chrome.*:11-', 'chrome_os:11-'], 1386 'supported_on': ['chrome.*:11-', 'chrome_os:11-'],
1370 'features': { 1387 'features': {
1371 'dynamic_refresh': True, 1388 'dynamic_refresh': True,
1372 'per_profile': False, 1389 'per_profile': False,
1373 }, 1390 },
1374 'example_value': True, 1391 'example_value': True,
1375 'id': 66, 1392 'id': 66,
(...skipping 7734 matching lines...) Expand 10 before | Expand all | Expand 10 after
9110 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 9127 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
9111 'text': 'Default Settings (users can override)', 9128 'text': 'Default Settings (users can override)',
9112 }, 9129 },
9113 'doc_complex_policies_on_windows': { 9130 'doc_complex_policies_on_windows': {
9114 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 9131 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
9115 '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>' '', 9132 '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>' '',
9116 }, 9133 },
9117 }, 9134 },
9118 'placeholders': [], 9135 'placeholders': [],
9119 } 9136 }
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