Index: chrome/common/chrome_switches.cc |
=================================================================== |
--- chrome/common/chrome_switches.cc (revision 69760) |
+++ 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"; |