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

Unified Diff: ash/wm/drag_window_resizer_unittest.cc

Issue 1900443002: Removes aura dependencies from WindowPositioner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nuke GetWorkAreaForWindowInParent and fix windows Created 4 years, 8 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/drag_window_resizer.cc ('k') | ash/wm/window_positioner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/drag_window_resizer_unittest.cc
diff --git a/ash/wm/drag_window_resizer_unittest.cc b/ash/wm/drag_window_resizer_unittest.cc
index 686c88fab28a0847870d0bacf32bcf2a6815d71b..638b0b9fcb13cadac588e8992349a4b5fb93c795 100644
--- a/ash/wm/drag_window_resizer_unittest.cc
+++ b/ash/wm/drag_window_resizer_unittest.cc
@@ -13,6 +13,7 @@
#include "ash/test/ash_test_base.h"
#include "ash/test/cursor_manager_test_api.h"
#include "ash/test/display_manager_test_api.h"
+#include "ash/wm/common/window_positioning_utils.h"
#include "ash/wm/drag_window_controller.h"
#include "ash/wm/window_util.h"
#include "base/strings/string_number_conversions.h"
@@ -211,7 +212,7 @@ TEST_F(DragWindowResizerTest, WindowDragWithMultiDisplays) {
// root window's bounds.
EXPECT_EQ(root_windows[1], window_->GetRootWindow());
// Window origin should be adjusted for minimum visibility (25px).
- int expected_x = -50 + kMinimumOnScreenArea;
+ int expected_x = -50 + wm::kMinimumOnScreenArea;
EXPECT_EQ(base::IntToString(expected_x) + ",10 50x60",
window_->bounds().ToString());
« no previous file with comments | « ash/wm/drag_window_resizer.cc ('k') | ash/wm/window_positioner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698