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

Unified Diff: chrome/browser/ui/views/frame/browser_frame_aura.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
Index: chrome/browser/ui/views/frame/browser_frame_aura.cc
diff --git a/chrome/browser/ui/views/frame/browser_frame_aura.cc b/chrome/browser/ui/views/frame/browser_frame_aura.cc
index 764e95b5d6a15431b838c9ceef87a95023cc48b8..b1c1cbe3de3462729da6b0c4d031e7478b3641cb 100644
--- a/chrome/browser/ui/views/frame/browser_frame_aura.cc
+++ b/chrome/browser/ui/views/frame/browser_frame_aura.cc
@@ -24,6 +24,7 @@
#if defined(USE_ASH)
#include "ash/wm/property_util.h"
+#include "ash/wm/window_util.h"
#endif
#if !defined(OS_CHROMEOS)
@@ -109,6 +110,8 @@ BrowserFrameAura::BrowserFrameAura(BrowserFrame* browser_frame,
ash::SetPersistsAcrossAllWorkspaces(
GetNativeWindow(),
ash::WINDOW_PERSISTS_ACROSS_ALL_WORKSPACES_VALUE_NO);
+ // Also mark this window as automatically position manageable.
+ ash::wm::SetWindowPositionManageable(GetNativeWindow(), true);
}
#endif
}

Powered by Google App Engine
This is Rietveld 408576698