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

Unified Diff: content/public/test/browser_test_base.cc

Issue 245443004: Set the override redirect in browser_tests on aura/x11 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/browser_test_base.cc
diff --git a/content/public/test/browser_test_base.cc b/content/public/test/browser_test_base.cc
index bc1b618e91c137ae6c5a4848c8f9bbaee9878682..d0a33f021150bf55cae8e285dfad8cd9bd3b8e40 100644
--- a/content/public/test/browser_test_base.cc
+++ b/content/public/test/browser_test_base.cc
@@ -40,6 +40,9 @@
#if defined(USE_AURA)
#include "content/browser/compositor/image_transport_factory.h"
+#if defined(USE_X11)
+#include "ui/aura/window_tree_host_x11.h"
+#endif
#endif
namespace content {
@@ -125,6 +128,10 @@ BrowserTestBase::BrowserTestBase()
base::mac::SetOverrideAmIBundled(true);
#endif
+#if defined(USE_AURA) && defined(USE_X11)
+ aura::test::SetUseOverrideRedirectWindowByDefault(true);
+#endif
+
#if defined(OS_POSIX)
handle_sigterm_ = true;
#endif
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698