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

Unified Diff: chrome/common/chrome_switches.cc

Issue 8805033: Makes tests either use mock compositor or mock WebGraphicsContext3D (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tweaks Created 9 years 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: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 3928cf0423d8b94a2b4010851588a14b7218a4ba..9ea53b9c03d652656a7cb8da2ddbdffd37edb3e3 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -1286,6 +1286,11 @@ const char kEnablePrintPreview[] = "enable-print-preview";
// Enables the benchmarking extensions.
const char kEnableBenchmarking[] = "enable-benchmarking";
+#if defined(USE_AURA)
+// Forces usage of the test compositor. Needed to run ui tests on bots.
+extern const char kTestCompositor[] = "test-compositor";
+#endif
+
bool IsPrintPreviewEnabled() {
if (CommandLine::ForCurrentProcess()->HasSwitch(kDisablePrintPreview))
return false;

Powered by Google App Engine
This is Rietveld 408576698