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

Unified Diff: ash/wm/workspace/workspace_window_resizer.h

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/workspace/multi_window_resize_controller.cc ('k') | ash/wm/workspace/workspace_window_resizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/workspace/workspace_window_resizer.h
diff --git a/ash/wm/workspace/workspace_window_resizer.h b/ash/wm/workspace/workspace_window_resizer.h
index 018056963e3cc87e771ec7f8e2bcea50d1649dfd..374ffd7a10186997eead7f93b0a188abe8f0d88d 100644
--- a/ash/wm/workspace/workspace_window_resizer.h
+++ b/ash/wm/workspace/workspace_window_resizer.h
@@ -54,7 +54,7 @@ class ASH_EXPORT WorkspaceWindowResizer : public WindowResizer {
static WorkspaceWindowResizer* Create(
wm::WindowState* window_state,
- const std::vector<WmWindow*>& attached_windows);
+ const std::vector<aura::Window*>& attached_windows);
// WindowResizer:
void Drag(const gfx::Point& location_in_parent, int event_flags) override;
@@ -68,7 +68,7 @@ class ASH_EXPORT WorkspaceWindowResizer : public WindowResizer {
enum SnapType { SNAP_LEFT, SNAP_RIGHT, SNAP_NONE };
WorkspaceWindowResizer(wm::WindowState* window_state,
- const std::vector<WmWindow*>& attached_windows);
+ const std::vector<aura::Window*>& attached_windows);
// Lays out the attached windows. |bounds| is the bounds of the main window.
void LayoutAttachedWindows(gfx::Rect* bounds);
@@ -156,7 +156,7 @@ class ASH_EXPORT WorkspaceWindowResizer : public WindowResizer {
wm::WindowState* window_state() { return window_state_; }
- const std::vector<WmWindow*> attached_windows_;
+ const std::vector<aura::Window*> attached_windows_;
// Returns the currently used instance for test.
static WorkspaceWindowResizer* GetInstanceForTest();
@@ -199,7 +199,7 @@ class ASH_EXPORT WorkspaceWindowResizer : public WindowResizer {
gfx::Point last_mouse_location_;
// Window the drag has magnetically attached to.
- WmWindow* magnetism_window_;
+ aura::Window* magnetism_window_;
// Used to verify |magnetism_window_| is still valid.
aura::WindowTracker window_tracker_;
« no previous file with comments | « ash/wm/workspace/multi_window_resize_controller.cc ('k') | ash/wm/workspace/workspace_window_resizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698