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

Unified Diff: ash/wm/workspace/multi_window_resize_controller_unittest.cc

Issue 2891183002: chromeos: removes WmWindow usage from MultiWindowResizeController (Closed)
Patch Set: feedback and merge 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/workspace/multi_window_resize_controller.cc ('k') | ash/wm/workspace/workspace_event_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/workspace/multi_window_resize_controller_unittest.cc
diff --git a/ash/wm/workspace/multi_window_resize_controller_unittest.cc b/ash/wm/workspace/multi_window_resize_controller_unittest.cc
index 48fb93c6a88517b6366b0b0f467cdaebb779af5d..67fb9e2101104d94e5b16734f5de01fe9583b267 100644
--- a/ash/wm/workspace/multi_window_resize_controller_unittest.cc
+++ b/ash/wm/workspace/multi_window_resize_controller_unittest.cc
@@ -85,12 +85,12 @@ class MultiWindowResizeControllerTest : public test::AshTestBase {
bool HasTarget(aura::Window* window) {
if (!resize_controller_->windows_.is_valid())
return false;
- WmWindow* wm_window = WmWindow::Get(window);
- if ((resize_controller_->windows_.window1 == wm_window ||
- resize_controller_->windows_.window2 == wm_window))
+ if (resize_controller_->windows_.window1 == window ||
+ resize_controller_->windows_.window2 == window) {
return true;
+ }
return base::ContainsValue(resize_controller_->windows_.other_windows,
- wm_window);
+ window);
}
bool IsOverWindows(const gfx::Point& loc) {
« no previous file with comments | « ash/wm/workspace/multi_window_resize_controller.cc ('k') | ash/wm/workspace/workspace_event_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698