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

Unified Diff: ash/wm/window_positioner.h

Issue 2895713002: [mus+ash] Removes WmWindow from ash/wm/mru_window_tracker and overview mode (Closed)
Patch Set: Address nits, unit_tests target compiles 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
Index: ash/wm/window_positioner.h
diff --git a/ash/wm/window_positioner.h b/ash/wm/window_positioner.h
index 97e182aad1650f0ef40e03a407bc63bfb42bb310..d4957ecdd2b728671f9173c090bfa89627237f50 100644
--- a/ash/wm/window_positioner.h
+++ b/ash/wm/window_positioner.h
@@ -9,6 +9,10 @@
#include "base/macros.h"
#include "ui/base/ui_base_types.h"
+namespace aura {
+class Window;
+}
+
namespace display {
class Display;
}
@@ -19,8 +23,6 @@ class Rect;
namespace ash {
-class WmWindow;
-
namespace test {
class WindowPositionerTest;
}
@@ -48,7 +50,7 @@ class ASH_EXPORT WindowPositioner {
// |is_saved_bounds| indicates the |bounds_in_out| is the saved
// bounds.
static void GetBoundsAndShowStateForNewWindow(
- const WmWindow* new_window,
+ const aura::Window* new_window,
bool is_saved_bounds,
ui::WindowShowState show_state_in,
gfx::Rect* bounds_in_out,
@@ -61,7 +63,7 @@ class ASH_EXPORT WindowPositioner {
// automated desktop location management can be performed and
// rearrange accordingly.
static void RearrangeVisibleWindowOnHideOrRemove(
- const WmWindow* removed_window);
+ const aura::Window* removed_window);
// Turn the automatic positioning logic temporarily off. Returns the previous
// state.
@@ -70,7 +72,7 @@ class ASH_EXPORT WindowPositioner {
// Check if after insertion or showing of the given |added_window|
// an automated desktop location management can be performed and
// rearrange accordingly.
- static void RearrangeVisibleWindowOnShow(WmWindow* added_window);
+ static void RearrangeVisibleWindowOnShow(aura::Window* added_window);
WindowPositioner();
~WindowPositioner();

Powered by Google App Engine
This is Rietveld 408576698