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

Unified Diff: components/exo/shell_surface.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/workspace_controller_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/shell_surface.cc
diff --git a/components/exo/shell_surface.cc b/components/exo/shell_surface.cc
index 476a475ec8a2d8bdecf76e0e6f20c8c94333fafa..80a7c119bcf53b783c08c7c62012e9f740680066 100644
--- a/components/exo/shell_surface.cc
+++ b/components/exo/shell_surface.cc
@@ -6,6 +6,7 @@
#include "ash/shell.h"
#include "ash/shell_window_ids.h"
+#include "ash/wm/aura/wm_window_aura.h"
#include "ash/wm/window_resizer.h"
#include "ash/wm/window_state.h"
#include "ash/wm/window_state_aura.h"
@@ -804,9 +805,9 @@ void ShellSurface::AttemptToStartDrag(int component) {
break;
}
- resizer_ = ash::CreateWindowResizer(widget_->GetNativeWindow(), drag_location,
- component,
- aura::client::WINDOW_MOVE_SOURCE_MOUSE);
+ resizer_ = ash::CreateWindowResizer(
+ ash::wm::WmWindowAura::Get(widget_->GetNativeWindow()), drag_location,
+ component, aura::client::WINDOW_MOVE_SOURCE_MOUSE);
if (!resizer_)
return;
« no previous file with comments | « ash/wm/workspace_controller_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698