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

Unified Diff: ash/wm/window_positioning_utils.h

Issue 2908433005: [mus+ash] Removes WmWindow from window_positioning_utils (Closed)
Patch Set: Removes WmWindow from window_positioning_utils (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
Index: ash/wm/window_positioning_utils.h
diff --git a/ash/wm/window_positioning_utils.h b/ash/wm/window_positioning_utils.h
index 195940be830611164728e73705f9d9250243369f..d60123a991a4660b34aaaa5009593f74e763dd19 100644
--- a/ash/wm/window_positioning_utils.h
+++ b/ash/wm/window_positioning_utils.h
@@ -22,8 +22,6 @@ class Size;
namespace ash {
-class WmWindow;
-
namespace wm {
// We force at least this many DIPs for any window on the screen.
@@ -60,11 +58,11 @@ ASH_EXPORT gfx::Rect GetDefaultRightSnappedWindowBoundsInParent(
aura::Window* window);
// Moves the window to the center of the display.
-ASH_EXPORT void CenterWindow(WmWindow* window);
+ASH_EXPORT void CenterWindow(aura::Window* window);
// Sets the bounds of |window| to |bounds_in_screen|. This may move |window|
// to |display| if necessary.
-ASH_EXPORT void SetBoundsInScreen(WmWindow* window,
+ASH_EXPORT void SetBoundsInScreen(aura::Window* window,
const gfx::Rect& bounds_in_screen,
const display::Display& display);

Powered by Google App Engine
This is Rietveld 408576698