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

Unified Diff: ash/wm/panels/panel_window_resizer_unittest.cc

Issue 2653593004: chromeos: Remove AshTestBase::SupportsMultipleDisplays (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/wm/panels/panel_window_resizer_unittest.cc
diff --git a/ash/wm/panels/panel_window_resizer_unittest.cc b/ash/wm/panels/panel_window_resizer_unittest.cc
index 692949ff8dbbed22853b502139b69a5cdf2d79a7..987cb27ba4405ff9a807bc7d285cbe8b9af025a0 100644
--- a/ash/wm/panels/panel_window_resizer_unittest.cc
+++ b/ash/wm/panels/panel_window_resizer_unittest.cc
@@ -270,9 +270,6 @@ TEST_F(PanelWindowResizerTest, DetachThenHideShelf) {
}
TEST_F(PanelWindowResizerTest, PanelDetachReattachMultipleDisplays) {
- if (!SupportsMultipleDisplays())
- return;
-
UpdateDisplay("600x400,600x400");
aura::Window::Windows root_windows = Shell::GetAllRootWindows();
std::unique_ptr<aura::Window> window(CreatePanelWindow(gfx::Point(600, 0)));
@@ -281,9 +278,6 @@ TEST_F(PanelWindowResizerTest, PanelDetachReattachMultipleDisplays) {
}
TEST_F(PanelWindowResizerTest, DetachThenDragAcrossDisplays) {
- if (!SupportsMultipleDisplays())
- return;
-
UpdateDisplay("600x400,600x400");
aura::Window::Windows root_windows = Shell::GetAllRootWindows();
std::unique_ptr<aura::Window> window(CreatePanelWindow(gfx::Point(0, 0)));
@@ -309,9 +303,6 @@ TEST_F(PanelWindowResizerTest, DetachThenDragAcrossDisplays) {
}
TEST_F(PanelWindowResizerTest, DetachAcrossDisplays) {
- if (!SupportsMultipleDisplays())
- return;
-
UpdateDisplay("600x400,600x400");
aura::Window::Windows root_windows = Shell::GetAllRootWindows();
std::unique_ptr<aura::Window> window(CreatePanelWindow(gfx::Point(0, 0)));
@@ -328,9 +319,6 @@ TEST_F(PanelWindowResizerTest, DetachAcrossDisplays) {
}
TEST_F(PanelWindowResizerTest, DetachThenAttachToSecondDisplay) {
- if (!SupportsMultipleDisplays())
- return;
-
UpdateDisplay("600x400,600x600");
aura::Window::Windows root_windows = Shell::GetAllRootWindows();
std::unique_ptr<aura::Window> window(CreatePanelWindow(gfx::Point(0, 0)));
@@ -360,9 +348,6 @@ TEST_F(PanelWindowResizerTest, DetachThenAttachToSecondDisplay) {
}
TEST_F(PanelWindowResizerTest, AttachToSecondDisplay) {
- if (!SupportsMultipleDisplays())
- return;
-
UpdateDisplay("600x400,600x600");
aura::Window::Windows root_windows = Shell::GetAllRootWindows();
std::unique_ptr<aura::Window> window(CreatePanelWindow(gfx::Point(0, 0)));
@@ -385,9 +370,6 @@ TEST_F(PanelWindowResizerTest, AttachToSecondDisplay) {
}
TEST_F(PanelWindowResizerTest, AttachToSecondFullscreenDisplay) {
- if (!SupportsMultipleDisplays())
- return;
-
UpdateDisplay("600x400,600x600");
aura::Window::Windows root_windows = Shell::GetAllRootWindows();
std::unique_ptr<aura::Window> window(CreatePanelWindow(gfx::Point(0, 0)));
« no previous file with comments | « ash/wm/panels/panel_layout_manager_unittest.cc ('k') | ash/wm/system_modal_container_layout_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698