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

Unified Diff: chrome/common/chrome_switches.cc

Issue 3978002: Disable GPU features AcceleratingCompositing and WebGL by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 2 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/common/chrome_switches.h ('k') | chrome/common/sandbox_init_wrapper_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 987a460ec1f1fc4711de8db1de806b5c43e0057b..a1ff168d4602383dd4b9d4d5dd49f7eed04cb498 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -111,10 +111,6 @@ const char kDebugPrint[] = "debug-print";
// Triggers a pletora of diagnostic modes.
const char kDiagnostics[] = "diagnostics";
-// Disables accelerated compositing.
-const char kDisableAcceleratedCompositing[] =
- "disable-accelerated-compositing";
-
// Disables the alternate window station for the renderer.
const char kDisableAltWinstation[] = "disable-winsta";
@@ -174,9 +170,6 @@ const char kDisableDevTools[] = "disable-dev-tools";
// Disables device orientation events.
const char kDisableDeviceOrientation[] = "disable-device-orientation";
-// Disable experimental WebGL support.
-const char kDisableExperimentalWebGL[] = "disable-webgl";
-
// Disable extensions.
const char kDisableExtensions[] = "disable-extensions";
@@ -352,6 +345,9 @@ extern const char kLogNetLog[] = "log-net-log";
// Enable gpu-accelerated 2d canvas.
const char kEnableAccelerated2dCanvas[] = "enable-accelerated-2d-canvas";
+// Enable gpu-accelerated compositing.
+const char kEnableAcceleratedCompositing[] = "enable-accelerated-compositing";
+
// Enables WebKit accessibility within the renderer process.
const char kEnableAccessibility[] = "enable-accessibility";
@@ -406,6 +402,9 @@ const char kEnableDNSSECCerts[] = "enable-dnssec-certs";
const char kEnableExperimentalExtensionApis[] =
"enable-experimental-extension-apis";
+// Enable experimental WebGL support.
+const char kEnableExperimentalWebGL[] = "enable-webgl";
+
// Enable experimental timeline API.
const char kEnableExtensionTimelineApi[] = "enable-extension-timeline-api";
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/sandbox_init_wrapper_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698