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

Unified Diff: ash/wm/property_util.h

Issue 13934007: Adding experimental maximize mode (behind a flag) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changed as requested Created 7 years, 8 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
« no previous file with comments | « ash/shell.cc ('k') | ash/wm/property_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
« no previous file with comments | « ash/shell.cc ('k') | ash/wm/property_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698