Index: ash/wm/property_util.h |
diff --git a/ash/wm/property_util.h b/ash/wm/property_util.h |
index 97d7b24b4cac6f16b0e5e867f407ec34e29b82bf..5d0ecf689c8bf17a383e1561e65950e392e1a625 100644 |
--- a/ash/wm/property_util.h |
+++ b/ash/wm/property_util.h |
@@ -69,6 +69,12 @@ ASH_EXPORT bool GetWindowAlwaysRestoresToRestoreBounds( |
ASH_EXPORT void SetTrackedByWorkspace(aura::Window* window, bool value); |
ASH_EXPORT bool GetTrackedByWorkspace(const aura::Window* window); |
+// Set if a window can be maximized by the window manager or not. |
+// The default is that the window can not be maximized. Setting the flag will |
+// have an immediate effect without animations (if maximize mode is enabled). |
+ASH_EXPORT void SetCanBeMaximizedByWorkspace(aura::Window* window, bool value); |
sky
2013/04/29 20:36:53
This is roughly what I was thinking. But CanBeMazi
|
+ASH_EXPORT bool GetCanBeMaximizedByWorkspace(const aura::Window* window); |
+ |
// Makes |window| persist across all workspaces. The default is controlled |
// by SetDefaultPersistsAcrossAllWorkspaces(). |
ASH_EXPORT void SetPersistsAcrossAllWorkspaces( |