diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-16 20:56:28 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-16 20:56:28 +0000 |
commit | 193b39d2ef3ec7a4f1692fd4448c515c06bb46d1 (patch) | |
tree | b35587f06293535725508764137b06c6c413c5ff /ui/aura/env.cc | |
parent | 911cbcdade8c9386b68e3ee87cb9c2ea1c48db8e (diff) | |
download | chromium_src-193b39d2ef3ec7a4f1692fd4448c515c06bb46d1.zip chromium_src-193b39d2ef3ec7a4f1692fd4448c515c06bb46d1.tar.gz chromium_src-193b39d2ef3ec7a4f1692fd4448c515c06bb46d1.tar.bz2 |
Native bounds support to host windows.
* Moved SingleMonitorManager into separate file. This is a default
MonitorManager and creates RootWindow for PrimaryMonitor.
* Added MonitorObserver and moved monitor change logic to ash.
* MultiMonitorManager class and its layout logic will live in ash too.
* Added ability to move host window so that we can re-arrange root window when
switching primary monitor.
* Removed monitor_manager_x11, which I committed by accident.
* Use (0,0) for monitor/workarea bounds because the coordinate isn't translated yet
for non primary screens.
BUG=115510
TEST=none
Review URL: https://chromiumcodereview.appspot.com/9703083
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127231 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/env.cc')
-rw-r--r-- | ui/aura/env.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/aura/env.cc b/ui/aura/env.cc index 006400f..61289f5 100644 --- a/ui/aura/env.cc +++ b/ui/aura/env.cc @@ -4,7 +4,7 @@ #include "ui/aura/env.h" #include "ui/aura/env_observer.h" -#include "ui/aura/monitor_manager.h" +#include "ui/aura/single_monitor_manager.h" #include "ui/aura/root_window_host.h" #include "ui/aura/window.h" @@ -21,6 +21,7 @@ Env::Env() stacking_client_(NULL), monitor_manager_(NULL) { + SetMonitorManager(new internal::SingleMonitorManager()); #if !defined(OS_MACOSX) dispatcher_.reset(CreateDispatcher()); #endif |