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

Unified Diff: ash/wm/default_window_resizer.cc

Issue 11085053: Improving window auto management between workspaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: git try 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/default_window_resizer.cc
diff --git a/ash/wm/default_window_resizer.cc b/ash/wm/default_window_resizer.cc
index 4b121387f43a1d9e55a3d073d69cd2318127c6ed..8d68d0e273f2144309fc6963b222410422270056 100644
--- a/ash/wm/default_window_resizer.cc
+++ b/ash/wm/default_window_resizer.cc
@@ -7,6 +7,7 @@
#include "ash/shell.h"
#include "ash/wm/cursor_manager.h"
#include "ash/wm/property_util.h"
+#include "ash/wm/window_util.h"
#include "ui/aura/client/aura_constants.h"
#include "ui/aura/env.h"
#include "ui/aura/window.h"
@@ -41,6 +42,7 @@ void DefaultWindowResizer::Drag(const gfx::Point& location, int event_flags) {
}
void DefaultWindowResizer::CompleteDrag(int event_flags) {
+ wm::SetUserHasChangedWindowPositionOrSize(details_.window, true);
sky 2012/10/22 16:40:50 I don't think you need this since WorkspaceWindowR
Mr4D (OOO till 08-26) 2012/10/22 20:27:23 Done.
}
void DefaultWindowResizer::RevertDrag() {

Powered by Google App Engine
This is Rietveld 408576698