diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-17 18:24:33 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-17 18:24:33 +0000 |
commit | 55ad8c14c31df30801d8422e81b78322f95c0526 (patch) | |
tree | c0fe47685194fd2137c658944589c439d93b0c8b /ash/shell/panel_window.cc | |
parent | f3eccd0dfd02eb6b32c1a233e28439fc1a241d65 (diff) | |
download | chromium_src-55ad8c14c31df30801d8422e81b78322f95c0526.zip chromium_src-55ad8c14c31df30801d8422e81b78322f95c0526.tar.gz chromium_src-55ad8c14c31df30801d8422e81b78322f95c0526.tar.bz2 |
Screen cleanup:
* Split ScreenAsh to ScreenUtil (set of utility functions) and the screen implementation.
* moved screen_ash from Shell to DisplayManager. Ash specific imp is now hidden in DisplayManager.
* Shell now creates a separate screen object which simply keeps the list of displays for shutdown. This allow all screen operation valid during shutdown.
BUG=None
TBR=hongbo.min@intel.com,sky@chromium.org
Review URL: https://codereview.chromium.org/138003007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245562 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell/panel_window.cc')
-rw-r--r-- | ash/shell/panel_window.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ash/shell/panel_window.cc b/ash/shell/panel_window.cc index 3e59680..8776be7 100644 --- a/ash/shell/panel_window.cc +++ b/ash/shell/panel_window.cc @@ -4,7 +4,7 @@ #include "ash/shell/panel_window.h" -#include "ash/screen_ash.h" +#include "ash/screen_util.h" #include "ash/shell.h" #include "ash/wm/panels/panel_frame_view.h" #include "base/strings/utf_string_conversions.h" @@ -46,7 +46,7 @@ views::Widget* PanelWindow::CreateWidget() { params().bounds.set_width(kDefaultWidth); if (params().bounds.height() == 0) params().bounds.set_height(kDefaultHeight); - params().bounds = ScreenAsh::ConvertRectToScreen( + params().bounds = ScreenUtil::ConvertRectToScreen( Shell::GetTargetRootWindow(), params().bounds); |