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

Unified Diff: ash/shelf/shelf_widget_unittest.cc

Issue 2370913002: Removes AshTestBase::SupportsHostWindowResize (Closed)
Patch Set: feedback Created 4 years, 3 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/mus/workspace/workspace_layout_manager_unittest.cc ('k') | ash/shell_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_widget_unittest.cc
diff --git a/ash/shelf/shelf_widget_unittest.cc b/ash/shelf/shelf_widget_unittest.cc
index d73f0ca3dc30eedcd6d3d89b6c9a98fd58744005..9d8631965babac143bb366c0dd1fa8174b290d99 100644
--- a/ash/shelf/shelf_widget_unittest.cc
+++ b/ash/shelf/shelf_widget_unittest.cc
@@ -59,9 +59,6 @@ void TestLauncherAlignment(WmWindow* root,
}
TEST_P(ShelfWidgetTest, TestAlignment) {
- if (!SupportsHostWindowResize())
- return;
-
// Note that for a left- and right-aligned shelf, this offset must be
// applied to a maximized window's width rather than its height.
const int offset = GetMdMaximizedWindowHeightOffset();
@@ -214,9 +211,6 @@ TEST_P(ShelfWidgetTest, ShelfInitiallySizedAfterLogin) {
// Tests that the shelf lets mouse-events close to the edge fall through to the
// window underneath.
TEST_P(ShelfWidgetTest, ShelfEdgeOverlappingWindowHitTestMouse) {
- if (!SupportsHostWindowResize())
- return;
-
UpdateDisplay("400x400");
ShelfWidget* shelf_widget = GetShelfWidget();
gfx::Rect shelf_bounds = shelf_widget->GetWindowBoundsInScreen();
« no previous file with comments | « ash/mus/workspace/workspace_layout_manager_unittest.cc ('k') | ash/shell_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698