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

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

Issue 1217333002: Add a group policy for hardware acceleration. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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
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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 # templates and documentation. The policy definition list that Chrome sees 116 # templates and documentation. The policy definition list that Chrome sees
117 # will include policies marked with 'future'. If a WIP policy isn't meant to 117 # will include policies marked with 'future'. If a WIP policy isn't meant to
118 # be seen by the policy providers either, the 'supported_on' key should be set 118 # be seen by the policy providers either, the 'supported_on' key should be set
119 # to an empty list. 119 # to an empty list.
120 # 120 #
121 # IDs: 121 # IDs:
122 # Since a Protocol Buffer definition is generated from this file, unique and 122 # Since a Protocol Buffer definition is generated from this file, unique and
123 # persistent IDs for all fields (but not for groups!) are needed. These are 123 # persistent IDs for all fields (but not for groups!) are needed. These are
124 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, 124 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
125 # because doing so would break the deployed wire format! 125 # because doing so would break the deployed wire format!
126 # For your editing convenience: highest ID currently used: 302 126 # For your editing convenience: highest ID currently used: 303
127 # 127 #
128 # Placeholders: 128 # Placeholders:
129 # The following placeholder strings are automatically substituted: 129 # The following placeholder strings are automatically substituted:
130 # $1 -> Google Chrome / Chromium 130 # $1 -> Google Chrome / Chromium
131 # $2 -> Google Chrome OS / Chromium OS 131 # $2 -> Google Chrome OS / Chromium OS
132 # $3 -> Google Chrome Frame / Chromium Frame 132 # $3 -> Google Chrome Frame / Chromium Frame
133 # $6 is reserved for doc_writer 133 # $6 is reserved for doc_writer
134 # 134 #
135 # Device Policy: 135 # Device Policy:
136 # An additional flag device_only (optional, defaults to False) indicates 136 # An additional flag device_only (optional, defaults to False) indicates
(...skipping 3093 matching lines...) Expand 10 before | Expand all | Expand 10 after
3230 'dynamic_refresh': True, 3230 'dynamic_refresh': True,
3231 'per_profile': True, 3231 'per_profile': True,
3232 }, 3232 },
3233 'example_value': False, 3233 'example_value': False,
3234 'id': 55, 3234 'id': 55,
3235 'caption': '''Disable support for 3D graphics APIs''', 3235 'caption': '''Disable support for 3D graphics APIs''',
3236 'desc': '''Disable support for 3D graphics APIs. 3236 'desc': '''Disable support for 3D graphics APIs.
3237 3237
3238 Enabling this setting prevents web pages from accessing the graphics proce ssing unit (GPU). Specifically, web pages can not access the WebGL API and plugi ns can not use the Pepper 3D API. 3238 Enabling this setting prevents web pages from accessing the graphics proce ssing unit (GPU). Specifically, web pages can not access the WebGL API and plugi ns can not use the Pepper 3D API.
3239 3239
3240 Disabling this setting or leaving it not set potentially allows web pages to use the WebGL API and plugins to use the Pepper 3D API. The default settings of the browser may still require command line arguments to be passed in order to use these APIs.''', 3240 Disabling this setting or leaving it not set potentially allows web pages to use the WebGL API and plugins to use the Pepper 3D API. The default settings of the browser may still require command line arguments to be passed in order to use these APIs.
3241
3242 If HardwareAccelerationModeEnabled is set to false, support for 3D graphic s APIs is implicitly disabled.''',
Andrew T Wilson (Slow) 2015/07/03 15:45:28 Should we explicitly say that the Disable3DAPIs po
3241 }, 3243 },
3242 { 3244 {
3243 'name': 'PolicyRefreshRate', 3245 'name': 'PolicyRefreshRate',
3244 'type': 'int', 3246 'type': 'int',
3245 'schema': { 'type': 'integer' }, 3247 'schema': { 'type': 'integer' },
3246 'supported_on': ['chrome_os:11-'], 3248 'supported_on': ['chrome_os:11-'],
3247 'features': { 3249 'features': {
3248 'dynamic_refresh': True, 3250 'dynamic_refresh': True,
3249 'per_profile': True, 3251 'per_profile': True,
3250 }, 3252 },
(...skipping 4139 matching lines...) Expand 10 before | Expand all | Expand 10 after
7390 'desc': '''Grants access to corporate keys to extensions. 7392 'desc': '''Grants access to corporate keys to extensions.
7391 7393
7392 Keys are designated for corporate usage if they're generated using the chr ome.platformKeys API on a managed account. Keys imported or generated in another way are not designated for corporate usage. 7394 Keys are designated for corporate usage if they're generated using the chr ome.platformKeys API on a managed account. Keys imported or generated in another way are not designated for corporate usage.
7393 7395
7394 Access to keys designated for corporate usage is solely controlled by this policy. The user can neither grant nor withdraw access to corporate keys to or from extensions. 7396 Access to keys designated for corporate usage is solely controlled by this policy. The user can neither grant nor withdraw access to corporate keys to or from extensions.
7395 7397
7396 By default an extension cannot use a key designated for corporate usage, w hich is equivalent to setting allowCorporateKeyUsage to false for that extension . 7398 By default an extension cannot use a key designated for corporate usage, w hich is equivalent to setting allowCorporateKeyUsage to false for that extension .
7397 7399
7398 Only if allowCorporateKeyUsage is set to true for an extension, it can use any platform key marked for corporate usage to sign arbitrary data. This permis sion should only be granted if the extension is trusted to secure access to the key against attackers.''', 7400 Only if allowCorporateKeyUsage is set to true for an extension, it can use any platform key marked for corporate usage to sign arbitrary data. This permis sion should only be granted if the extension is trusted to secure access to the key against attackers.''',
7399 }, 7401 },
7402 {
7403 'name': 'HardwareAccelerationModeEnabled',
7404 'type': 'main',
7405 'schema': { 'type': 'boolean' },
7406 'supported_on': ['chrome.*:45-'],
7407 'features': {
7408 'dynamic_refresh': False,
7409 'per_profile': False,
7410 },
7411 'example_value': True,
7412 'id': 303,
7413 'caption': '''Use hardware acceleration when available''',
7414 'desc': '''Use hardware acceleration when available.
7415
7416 If you enable this setting, hardware acceleration will be enabled unless a certain GPU feature is blacklisted.
7417
7418 If you disable this setting, hardware acceleration will be disabled.
7419
7420 If this policy is left not set, it is equivalent to being enabled, see des cription above.''',
7421 },
7400 ], 7422 ],
7401 'messages': { 7423 'messages': {
7402 # Messages that are not associated to any policies. 7424 # Messages that are not associated to any policies.
7403 'win_supported_winxpsp2': { 7425 'win_supported_winxpsp2': {
7404 '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:'.''', 7426 '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:'.''',
7405 'text': '''Microsoft Windows XP SP2 or later''' 7427 'text': '''Microsoft Windows XP SP2 or later'''
7406 }, 7428 },
7407 'mac_chrome_preferences': { 7429 'mac_chrome_preferences': {
7408 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', 7430 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''',
7409 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' 7431 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es'''
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
7515 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 7537 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
7516 'text': 'Default Settings (users can override)', 7538 'text': 'Default Settings (users can override)',
7517 }, 7539 },
7518 'doc_complex_policies_on_windows': { 7540 'doc_complex_policies_on_windows': {
7519 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 7541 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
7520 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">http://www.chromium.org/administrators/complex-policies-on-windows<ex >http://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>''' , 7542 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">http://www.chromium.org/administrators/complex-policies-on-windows<ex >http://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>''' ,
7521 }, 7543 },
7522 }, 7544 },
7523 'placeholders': [], 7545 'placeholders': [],
7524 } 7546 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698