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

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

Issue 2683033006: Move SetUseOverrideRedirectWindowByDefault() to //ui/base. (Closed)
Patch Set: g_use_test_config. Created 3 years, 10 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 | « ash/test/ash_test_helper.cc ('k') | services/ui/service.cc » ('j') | 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 cdfde3472a60256e4106913da06c327079886974..32e954eee9c9fd5cba08946daefe852ed613c992 100644
--- a/content/public/test/browser_test_base.cc
+++ b/content/public/test/browser_test_base.cc
@@ -32,6 +32,7 @@
#include "net/base/network_interfaces.h"
#include "net/dns/mock_host_resolver.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
+#include "ui/base/platform_window_defaults.h"
#include "ui/base/test/material_design_controller_test_api.h"
#include "ui/compositor/compositor_switches.h"
#include "ui/gl/gl_implementation.h"
@@ -54,9 +55,6 @@
#if defined(USE_AURA)
#include "content/browser/compositor/image_transport_factory.h"
#include "ui/aura/test/event_generator_delegate_aura.h" // nogncheck
-#if defined(USE_X11)
-#include "ui/aura/window_tree_host_x11.h" // nogncheck
-#endif
#endif
namespace content {
@@ -152,9 +150,7 @@ BrowserTestBase::BrowserTestBase()
base::mac::SetOverrideAmIBundled(true);
#endif
-#if defined(USE_AURA) && defined(USE_X11)
- aura::test::SetUseOverrideRedirectWindowByDefault(true);
-#endif
+ ui::test::EnableTestConfigForPlatformWindows();
#if defined(OS_POSIX)
handle_sigterm_ = true;
« no previous file with comments | « ash/test/ash_test_helper.cc ('k') | services/ui/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698