summaryrefslogtreecommitdiffstats
path: root/ash/root_window_controller.h
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-27 16:21:26 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-27 16:21:26 +0000
commitf18531246f728226c9b2a62f425dfb8db38af243 (patch)
tree46e4710f345d7dc9452997e3c43e3fcaa80b314d /ash/root_window_controller.h
parentba2118ae1c85475b448d1796e79dfe4291bcd6da (diff)
downloadchromium_src-f18531246f728226c9b2a62f425dfb8db38af243.zip
chromium_src-f18531246f728226c9b2a62f425dfb8db38af243.tar.gz
chromium_src-f18531246f728226c9b2a62f425dfb8db38af243.tar.bz2
move windows when disconnecting secondary monitors
BUG=123160 TEST=root_window_controller_unittest.cc Review URL: https://chromiumcodereview.appspot.com/10659006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144467 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/root_window_controller.h')
-rw-r--r--ash/root_window_controller.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ash/root_window_controller.h b/ash/root_window_controller.h
index 66cf105..c440b5b 100644
--- a/ash/root_window_controller.h
+++ b/ash/root_window_controller.h
@@ -66,6 +66,9 @@ class RootWindowController {
// Returns true if the workspace has a maximized or fullscreen window.
bool IsInMaximizedMode() const;
+ // Moves child windows to |dest|.
+ void MoveWindowsTo(aura::RootWindow* dest);
+
private:
scoped_ptr<aura::RootWindow> root_window_;
internal::RootWindowLayoutManager* root_window_layout_;