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

Unified Diff: ash/wm/panels/panel_window_resizer_unittest.cc

Issue 1913473002: Makes WorkspaceWindowResizer use ash/wm/common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@root_controller_observer
Patch Set: fix exo again 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_unittest.cc ('k') | ash/wm/toplevel_window_event_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/panels/panel_window_resizer_unittest.cc
diff --git a/ash/wm/panels/panel_window_resizer_unittest.cc b/ash/wm/panels/panel_window_resizer_unittest.cc
index 1d5fc6bbb51245cff0ec89873d3162b95728ef0c..754ef3743d49d8e950ebc3ba921ab65003b2b702 100644
--- a/ash/wm/panels/panel_window_resizer_unittest.cc
+++ b/ash/wm/panels/panel_window_resizer_unittest.cc
@@ -17,6 +17,7 @@
#include "ash/test/cursor_manager_test_api.h"
#include "ash/test/shell_test_api.h"
#include "ash/test/test_shelf_delegate.h"
+#include "ash/wm/aura/wm_window_aura.h"
#include "ash/wm/common/wm_event.h"
#include "ash/wm/drag_window_resizer.h"
#include "ash/wm/window_state.h"
@@ -66,11 +67,10 @@ class PanelWindowResizerTest : public test::AshTestBase {
}
void DragStart(aura::Window* window) {
- resizer_.reset(CreateWindowResizer(
- window,
- window->bounds().origin(),
- HTCAPTION,
- aura::client::WINDOW_MOVE_SOURCE_MOUSE).release());
+ resizer_.reset(CreateWindowResizer(wm::WmWindowAura::Get(window),
+ window->bounds().origin(), HTCAPTION,
+ aura::client::WINDOW_MOVE_SOURCE_MOUSE)
+ .release());
ASSERT_TRUE(resizer_.get());
}
« no previous file with comments | « ash/wm/drag_window_resizer_unittest.cc ('k') | ash/wm/toplevel_window_event_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698