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

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

Issue 1901773002: Removes most of aura dependencies from DefaultState (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wm_window_positioner
Patch Set: nit and merge 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/workspace/workspace_window_resizer.cc ('k') | ash/wm/workspace_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/workspace/workspace_window_resizer_unittest.cc
diff --git a/ash/wm/workspace/workspace_window_resizer_unittest.cc b/ash/wm/workspace/workspace_window_resizer_unittest.cc
index c3873bc3a714dd8bf60f01526682030543b94fa2..aac414ab59482c2b51ee3df0ff6b345803338601 100644
--- a/ash/wm/workspace/workspace_window_resizer_unittest.cc
+++ b/ash/wm/workspace/workspace_window_resizer_unittest.cc
@@ -566,7 +566,8 @@ TEST_F(WorkspaceWindowResizerTest, Edge) {
{
gfx::Rect expected_bounds_in_parent(
- wm::GetDefaultLeftSnappedWindowBoundsInParent(window_.get()));
+ wm::GetDefaultLeftSnappedWindowBoundsInParent(
+ wm::WmWindowAura::Get(window_.get())));
std::unique_ptr<WindowResizer> resizer(
CreateResizerForTest(window_.get(), gfx::Point(), HTCAPTION));
@@ -583,7 +584,8 @@ TEST_F(WorkspaceWindowResizerTest, Edge) {
// Try the same with the right side.
{
gfx::Rect expected_bounds_in_parent(
- wm::GetDefaultRightSnappedWindowBoundsInParent(window_.get()));
+ wm::GetDefaultRightSnappedWindowBoundsInParent(
+ wm::WmWindowAura::Get(window_.get())));
std::unique_ptr<WindowResizer> resizer(
CreateResizerForTest(window_.get(), gfx::Point(), HTCAPTION));
« no previous file with comments | « ash/wm/workspace/workspace_window_resizer.cc ('k') | ash/wm/workspace_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698