Chromium Code Reviews

Unified Diff: chrome/common/chrome_switches.cc

Issue 5991003: Added group policy for disabling all client-side 3D APIs in Chromium... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/policy_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_switches.cc
===================================================================
--- chrome/common/chrome_switches.cc (revision 69586)
+++ chrome/common/chrome_switches.cc (working copy)
@@ -139,6 +139,12 @@
// Triggers a pletora of diagnostic modes.
const char kDiagnostics[] = "diagnostics";
+// Disables client-visible 3D APIs, in particular WebGL and Pepper 3D.
+// This is controlled by policy and is kept separate from the other
+// enable/disable switches to avoid accidentally regressing the policy
+// support for controlling access to these APIs.
+const char kDisable3DAPIs[] = "disable-3d-apis";
+
// Disables accelerated compositing.
const char kDisableAcceleratedCompositing[] =
"disable-accelerated-compositing";
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/policy_constants.h » ('j') | no next file with comments »

Powered by Google App Engine