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

Unified Diff: athena/test/athena_test_base.cc

Issue 322503005: Athena's FocusManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | « athena/screen/screen_manager_impl.cc ('k') | athena/test/athena_test_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/test/athena_test_base.cc
diff --git a/athena/test/athena_test_base.cc b/athena/test/athena_test_base.cc
index d1f6260369d2575acf4106689d3d30b27374455e..a8ee6d3e2c7880d841a56c2bc88d8335a4fe5594 100644
--- a/athena/test/athena_test_base.cc
+++ b/athena/test/athena_test_base.cc
@@ -7,6 +7,10 @@
#include "athena/test/athena_test_helper.h"
#include "ui/compositor/test/context_factories_for_test.h"
+#if defined(USE_X11)
+#include "ui/aura/window_tree_host_x11.h"
+#endif
+
namespace athena {
namespace test {
@@ -31,6 +35,9 @@ void AthenaTestBase::SetUp() {
ui::InitializeContextFactoryForTests(enable_pixel_output);
helper_.reset(new AthenaTestHelper(&message_loop_));
+#if defined(USE_X11)
+ aura::test::SetUseOverrideRedirectWindowByDefault(true);
+#endif
helper_->SetUp(context_factory);
}
« no previous file with comments | « athena/screen/screen_manager_impl.cc ('k') | athena/test/athena_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698