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

Unified Diff: ash/wm/window_resizer.cc

Issue 11085053: Improving window auto management between workspaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Improved the entire window (auto) management Created 8 years, 2 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 | « no previous file | ash/wm/window_util.h » ('j') | ash/wm/window_util.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/window_resizer.cc
diff --git a/ash/wm/window_resizer.cc b/ash/wm/window_resizer.cc
index c759c9162ab84bda43fb1a4c3f6afacfd7e38ac7..3d5c58139727f507b49c350ba8063734941e4d9a 100644
--- a/ash/wm/window_resizer.cc
+++ b/ash/wm/window_resizer.cc
@@ -211,6 +211,8 @@ gfx::Rect WindowResizer::CalculateBoundsForDrag(
new_bounds.set_y(0);
new_bounds.set_height(new_bounds.height() + delta);
}
+ // Mark as user changed.
+ wm::UserHasChangedWindowPositionOrSize(details.window, true);
return new_bounds;
}
« no previous file with comments | « no previous file | ash/wm/window_util.h » ('j') | ash/wm/window_util.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698