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

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: Removed as requested. Corner cases will have to be addressed as they show 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
Index: ash/wm/window_resizer.cc
diff --git a/ash/wm/window_resizer.cc b/ash/wm/window_resizer.cc
index 6ea755233fcc62be71fe72712aa001e856f8f17f..aa7c7fa10828c1c4a3bab40ce07e21da8506f6aa 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::SetUserHasChangedWindowPositionOrSize(details.window, true);
sky 2012/10/16 17:25:34 Putting this here means if the user reverts the mo
Mr4D (OOO till 08-26) 2012/10/16 19:00:28 Done.
return new_bounds;
}

Powered by Google App Engine
This is Rietveld 408576698