From 14d8e6ad02c6268fcbcb2965a27196d32dd7921c Mon Sep 17 00:00:00 2001 From: "sky@chromium.org" Date: Fri, 20 Jul 2012 01:52:16 +0000 Subject: 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 --- ash/wm/property_util.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'ash/wm/property_util.h') 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, -- cgit v1.1