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

Unified 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, 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 side-by-side diff with in-line comments
Download patch
Index: components/policy/resources/policy_templates.json
diff --git a/components/policy/resources/policy_templates.json b/components/policy/resources/policy_templates.json
index 196aaf314a91d548b5a466d714d3c24bd09b8437..e3db73eb7a1e9c58299554359e8200c0a82f20be 100644
--- a/components/policy/resources/policy_templates.json
+++ b/components/policy/resources/policy_templates.json
@@ -123,7 +123,7 @@
# persistent IDs for all fields (but not for groups!) are needed. These are
# specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
# because doing so would break the deployed wire format!
-# For your editing convenience: highest ID currently used: 302
+# For your editing convenience: highest ID currently used: 303
#
# Placeholders:
# The following placeholder strings are automatically substituted:
@@ -3237,7 +3237,9 @@
Enabling this setting prevents web pages from accessing the graphics processing unit (GPU). Specifically, web pages can not access the WebGL API and plugins can not use the Pepper 3D API.
- 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.''',
+ 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.
+
+ If HardwareAccelerationModeEnabled is set to false, support for 3D graphics APIs is implicitly disabled.''',
Andrew T Wilson (Slow) 2015/07/03 15:45:28 Should we explicitly say that the Disable3DAPIs po
},
{
'name': 'PolicyRefreshRate',
@@ -7397,6 +7399,26 @@
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 permission should only be granted if the extension is trusted to secure access to the key against attackers.''',
},
+ {
+ 'name': 'HardwareAccelerationModeEnabled',
+ 'type': 'main',
+ 'schema': { 'type': 'boolean' },
+ 'supported_on': ['chrome.*:45-'],
+ 'features': {
+ 'dynamic_refresh': False,
+ 'per_profile': False,
+ },
+ 'example_value': True,
+ 'id': 303,
+ 'caption': '''Use hardware acceleration when available''',
+ 'desc': '''Use hardware acceleration when available.
+
+ If you enable this setting, hardware acceleration will be enabled unless a certain GPU feature is blacklisted.
+
+ If you disable this setting, hardware acceleration will be disabled.
+
+ If this policy is left not set, it is equivalent to being enabled, see description above.''',
+ },
],
'messages': {
# Messages that are not associated to any policies.

Powered by Google App Engine
This is Rietveld 408576698