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

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 bf4e4ab36bdbc0196142b4b2080ef362f1723014..f82a071fd44ba6e238261fa8cab86748035161d2 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -1287,6 +1287,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