summaryrefslogtreecommitdiffstats
path: root/ash/wm/property_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'ash/wm/property_util.h')
-rw-r--r--ash/wm/property_util.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/ash/wm/property_util.h b/ash/wm/property_util.h
index 48f6e53..0d70fb4 100644
--- a/ash/wm/property_util.h
+++ b/ash/wm/property_util.h
@@ -52,6 +52,16 @@ enum WindowPersistsAcrossAllWorkspacesType {
ASH_EXPORT void SetIgnoredByShelf(aura::Window* window, bool value);
ASH_EXPORT bool GetIgnoredByShelf(const aura::Window* window);
+// Sets whether |window| should always be restored to the restore bounds
+// (sometimes the workspace layout manager restores the window to its original
+// bounds instead of the restore bounds. Setting this key overrides that
+// behaviour). The flag is reset to the default value after the window is
+// restored.
+ASH_EXPORT void SetWindowAlwaysRestoresToRestoreBounds(aura::Window* window,
+ bool value);
+ASH_EXPORT bool GetWindowAlwaysRestoresToRestoreBounds(
+ const aura::Window* window);
+
// Sets whether the specified window is tracked by workspace code. Default is
// true. If set to false the workspace does not switch the current workspace,
// nor does it attempt to impose constraints on the bounds of the window. This