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

Unified Diff: ash/wm/workspace/multi_window_resize_controller.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/window_resizer.h ('k') | ash/wm/workspace/workspace_window_resizer.h » ('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.cc
diff --git a/ash/wm/workspace/multi_window_resize_controller.cc b/ash/wm/workspace/multi_window_resize_controller.cc
index 351e086b1c32c1f9e3d87467cfc37e9020b01ee6..cd450ee7f1758f98bf0a62c38d99e8b6f084f57e 100644
--- a/ash/wm/workspace/multi_window_resize_controller.cc
+++ b/ash/wm/workspace/multi_window_resize_controller.cc
@@ -7,6 +7,7 @@
#include "ash/screen_util.h"
#include "ash/shell.h"
#include "ash/shell_window_ids.h"
+#include "ash/wm/aura/wm_window_aura.h"
#include "ash/wm/window_animations.h"
#include "ash/wm/window_state_aura.h"
#include "ash/wm/workspace/workspace_event_handler.h"
@@ -446,7 +447,8 @@ void MultiWindowResizeController::StartResize(
wm::WindowState* window_state = wm::GetWindowState(windows_.window1);
window_state->CreateDragDetails(location_in_parent, component,
aura::client::WINDOW_MOVE_SOURCE_MOUSE);
- window_resizer_.reset(WorkspaceWindowResizer::Create(window_state, windows));
+ window_resizer_.reset(WorkspaceWindowResizer::Create(
+ window_state, wm::WmWindowAura::FromAuraWindows(windows)));
// Do not hide the resize widget while a drag is active.
mouse_watcher_.reset();
« no previous file with comments | « ash/wm/window_resizer.h ('k') | ash/wm/workspace/workspace_window_resizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698