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

Unified Diff: ash/test/ash_test_base.cc

Issue 2642113004: chromeos: Remove OS_WIN and OS_CHROMEOS ifdefs from ash/test (Closed)
Patch Set: Created 3 years, 11 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
Index: ash/test/ash_test_base.cc
diff --git a/ash/test/ash_test_base.cc b/ash/test/ash_test_base.cc
index 0b1234d35df84c9195f6357151115d5521a89bb0..a0ad32b599a6da1860f9c6f825d42638dc2edf9a 100644
--- a/ash/test/ash_test_base.cc
+++ b/ash/test/ash_test_base.cc
@@ -44,11 +44,6 @@
#include "ui/gfx/geometry/point.h"
#include "ui/wm/core/coordinate_conversion.h"
-#if defined(OS_WIN)
-#include "base/win/windows_version.h"
-#include "ui/platform_window/win/win_window.h"
-#endif
-
#if defined(USE_X11)
#include "ui/gfx/x/x11_connection.h" // nogncheck
#endif
@@ -134,9 +129,6 @@ void AshTestBase::SetUp() {
command_line->AppendSwitchASCII(::switches::kHostWindowBounds,
"1+1-800x600");
}
-#if defined(OS_WIN)
- ui::test::SetUsePopupAsRootWindowForTest(true);
-#endif
ash_test_helper_->SetUp(start_session_, material_mode_);
@@ -164,9 +156,6 @@ void AshTestBase::TearDown() {
RunAllPendingInMessageLoop();
ash_test_helper_->TearDown();
-#if defined(OS_WIN)
- ui::test::SetUsePopupAsRootWindowForTest(false);
-#endif
event_generator_.reset();
// Some tests set an internal display id,

Powered by Google App Engine
This is Rietveld 408576698