Index: ash/wm/window_util.h |
diff --git a/ash/wm/window_util.h b/ash/wm/window_util.h |
index f1da5b8d79366039a0ca17eaab6b3aab197b129b..110f89ed45a1d76066661836cfd63b2e12c4cccd 100644 |
--- a/ash/wm/window_util.h |
+++ b/ash/wm/window_util.h |
@@ -6,6 +6,7 @@ |
#define ASH_WM_WINDOW_UTIL_H_ |
#include "ash/ash_export.h" |
+#include "ash/wm/workspace/snap_sizer.h" |
#include "base/compiler_specific.h" |
#include "ui/base/ui_base_types.h" |
@@ -84,6 +85,10 @@ ASH_EXPORT void ToggleMaximizedWindow(aura::Window* window); |
// Moves the window to the center of the display. |
ASH_EXPORT void CenterWindow(aura::Window* window); |
+// Snaps a window left or right. |
+ASH_EXPORT void SnapWindow(aura::Window* window, |
sky
2012/11/28 22:04:01
In hope of not making this file contain a ton of s
sadrul
2012/11/28 23:20:16
Yep. Sounds good to me. Done.
|
+ internal::SnapSizer::Edge edge); |
+ |
// Returns the existing Layer for |window| (and all its descendants) and creates |
// a new layer for |window| and all its descendants. This is intended for |
// animations that want to animate between the existing visuals and a new window |