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

Unified Diff: components/exo/shell_surface.cc

Issue 2897993003: chromeos: converts WindowResizer to aura::Window (Closed)
Patch Set: remove include from exo Created 3 years, 7 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.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 cf0e78ad527e3a46e27129318f999091a8fc57c4..7fe884ddec4f26815a3096cd588f82293181620f 100644
--- a/components/exo/shell_surface.cc
+++ b/components/exo/shell_surface.cc
@@ -16,7 +16,6 @@
#include "ash/wm/window_resizer.h"
#include "ash/wm/window_state.h"
#include "ash/wm/window_util.h"
-#include "ash/wm_window.h"
#include "base/logging.h"
#include "base/macros.h"
#include "base/memory/ptr_util.h"
@@ -1313,8 +1312,7 @@ void ShellSurface::AttemptToStartDrag(int component) {
break;
}
- resizer_ = ash::CreateWindowResizer(ash::WmWindow::Get(window),
- GetMouseLocation(), component,
+ resizer_ = ash::CreateWindowResizer(window, GetMouseLocation(), component,
aura::client::WINDOW_MOVE_SOURCE_MOUSE);
if (!resizer_)
return;
« no previous file with comments | « ash/wm_window.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698