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

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, 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..fb366ab6963a9bb24eb8ea4623b0f520b8714677 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, the Disable3DAPIs policy is forced to true.''',
bartfab (slow) 2015/07/08 12:40:33 Do we actually force the policy to true (i.e., wil
},
{
'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.
bartfab (slow) 2015/07/08 12:40:33 Nit: As you saw with Disable3DAPIs, we (unfortunat
+
+ 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.
« 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