diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-20 01:52:16 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-20 01:52:16 +0000 |
commit | 14d8e6ad02c6268fcbcb2965a27196d32dd7921c (patch) | |
tree | 365a12c3e1af18b2db1911dc04d1814145b905ca /ash/wm/property_util.h | |
parent | 26effd10fe11d820b3040e72d85e00dd3bd524d5 (diff) | |
download | chromium_src-14d8e6ad02c6268fcbcb2965a27196d32dd7921c.zip chromium_src-14d8e6ad02c6268fcbcb2965a27196d32dd7921c.tar.gz chromium_src-14d8e6ad02c6268fcbcb2965a27196d32dd7921c.tar.bz2 |
Changes maximize/fullscreen to always reset the restore bounds. Doing
otherwise leads to unexpected behavior. I'm also changing double
clicking the caption to go back to restore bounds if set. This too
makes things more consistant.
BUG=122324
TEST=covered by tests
R=jamescook@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10803048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147598 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/wm/property_util.h')
-rw-r--r-- | ash/wm/property_util.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/ash/wm/property_util.h b/ash/wm/property_util.h index 75adf0a..bb8e431 100644 --- a/ash/wm/property_util.h +++ b/ash/wm/property_util.h @@ -30,10 +30,6 @@ ASH_EXPORT void SetRestoreBoundsInScreen(aura::Window* window, ASH_EXPORT void SetRestoreBoundsInParent(aura::Window* window, const gfx::Rect& parent_bounds); -// Same as SetRestoreBounds(), but does nothing if the restore bounds have -// already been set. The bounds used are the bounds of the window. -ASH_EXPORT void SetRestoreBoundsIfNotSet(aura::Window* window); - // Returns the restore bounds property on |window| in the virtual screen // coordinates. The bounds can be NULL if the bounds property does not // exist for |window|. |window| owns the bounds object. @@ -45,9 +41,6 @@ ASH_EXPORT gfx::Rect GetRestoreBoundsInParent(aura::Window* window); // Deletes and clears the restore bounds property on |window|. ASH_EXPORT void ClearRestoreBounds(aura::Window* window); -// Toggles the maximized state of the specified window. -ASH_EXPORT void ToggleMaximizedState(aura::Window* window); - enum WindowPersistsAcrossAllWorkspacesType { WINDOW_PERSISTS_ACROSS_ALL_WORKSPACES_VALUE_DEFAULT, WINDOW_PERSISTS_ACROSS_ALL_WORKSPACES_VALUE_NO, |