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

Unified Diff: ash/wm/system_gesture_event_filter_unittest.cc

Issue 2897993003: chromeos: converts WindowResizer to aura::Window (Closed)
Patch Set: remove include from exo Created 3 years, 7 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/wm/panels/panel_window_resizer_unittest.cc ('k') | ash/wm/window_positioning_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/system_gesture_event_filter_unittest.cc
diff --git a/ash/wm/system_gesture_event_filter_unittest.cc b/ash/wm/system_gesture_event_filter_unittest.cc
index 32c3728632183e46d84039bf8ff62028efd9bc87..44b4e28b859706a71bfcad924b240a36eed0f7ec 100644
--- a/ash/wm/system_gesture_event_filter_unittest.cc
+++ b/ash/wm/system_gesture_event_filter_unittest.cc
@@ -417,8 +417,7 @@ TEST_F(SystemGestureEventFilterTest, DragLeftNearEdgeSnaps) {
generator.GestureMultiFingerScroll(kTouchPoints, points, 120, kSteps, drag_x,
0);
- EXPECT_EQ(ash::wm::GetDefaultLeftSnappedWindowBoundsInParent(
- ash::WmWindow::Get(toplevel_window))
+ EXPECT_EQ(ash::wm::GetDefaultLeftSnappedWindowBoundsInParent(toplevel_window)
.ToString(),
toplevel_window->bounds().ToString());
}
@@ -446,8 +445,7 @@ TEST_F(SystemGestureEventFilterTest, DragRightNearEdgeSnaps) {
int drag_x = work_area.right() - 20 - points[0].x();
generator.GestureMultiFingerScroll(kTouchPoints, points, 120, kSteps, drag_x,
0);
- EXPECT_EQ(wm::GetDefaultRightSnappedWindowBoundsInParent(
- WmWindow::Get(toplevel_window))
+ EXPECT_EQ(wm::GetDefaultRightSnappedWindowBoundsInParent(toplevel_window)
.ToString(),
toplevel_window->bounds().ToString());
}
« no previous file with comments | « ash/wm/panels/panel_window_resizer_unittest.cc ('k') | ash/wm/window_positioning_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698