diff options
author | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-28 19:50:38 +0000 |
---|---|---|
committer | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-28 19:50:38 +0000 |
commit | bf63a0c1e70c8973d24c9e2613e2e3adbb7f6b4b (patch) | |
tree | 5e6cd540dc5b2b2941bb6251fcccee12f9c79abc /ash/wm/base_layout_manager.cc | |
parent | 2ac22db3febdd278e6e7f9979b2785277318e27a (diff) | |
download | chromium_src-bf63a0c1e70c8973d24c9e2613e2e3adbb7f6b4b.zip chromium_src-bf63a0c1e70c8973d24c9e2613e2e3adbb7f6b4b.tar.gz chromium_src-bf63a0c1e70c8973d24c9e2613e2e3adbb7f6b4b.tar.bz2 |
ash: Do not snap when touch-resizing a window, but mostly code cleanup.
Do not snap a window if a gesture-drag is resizing it (as opposed to moving it).
Also, use the API functions to get/set the restore bounds, instead of using the
key directly. This makes the code a bit cleaner, and makes it easier to track
who/when sets the restore bounds on windows.
BUG=162510,151267
Review URL: https://codereview.chromium.org/11418211
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170027 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/wm/base_layout_manager.cc')
-rw-r--r-- | ash/wm/base_layout_manager.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/wm/base_layout_manager.cc b/ash/wm/base_layout_manager.cc index 78019cd..166bc54 100644 --- a/ash/wm/base_layout_manager.cc +++ b/ash/wm/base_layout_manager.cc @@ -182,7 +182,7 @@ void BaseLayoutManager::UpdateBoundsFromShowState(aura::Window* window) { BoundsWithScreenEdgeVisible(window, bounds_in_parent)); } - window->ClearProperty(aura::client::kRestoreBoundsKey); + ClearRestoreBounds(window); break; } |