diff options
author | bshe@chromium.org <bshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-01 18:24:32 +0000 |
---|---|---|
committer | bshe@chromium.org <bshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-01 18:24:32 +0000 |
commit | c10baf7109f37d519f2500d4c4ba8206b7deee07 (patch) | |
tree | 95eee19b20c7eba74db2c52372da881049017145 /ash/shell | |
parent | b9c9f20c55fdf632dd5a1840356c6c6f3f10a9fb (diff) | |
download | chromium_src-c10baf7109f37d519f2500d4c4ba8206b7deee07.zip chromium_src-c10baf7109f37d519f2500d4c4ba8206b7deee07.tar.gz chromium_src-c10baf7109f37d519f2500d4c4ba8206b7deee07.tar.bz2 |
Use large resolution wallpaper when hook up a large external monitor
If we hook up a external monitor that has a larger resoltuion than our small
wallpaper resolution, we should load large resolution wallpaper. Otherwise,
wallpaper do not cover all screen on the extern monitor.
BUG=152221
Review URL: https://codereview.chromium.org/11234036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165443 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell')
-rw-r--r-- | ash/shell/content_client/shell_browser_main_parts.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ash/shell/content_client/shell_browser_main_parts.cc b/ash/shell/content_client/shell_browser_main_parts.cc index 06df2ad..872f352 100644 --- a/ash/shell/content_client/shell_browser_main_parts.cc +++ b/ash/shell/content_client/shell_browser_main_parts.cc @@ -102,8 +102,7 @@ void ShellBrowserMainParts::PreMainMessageLoopRun() { ash::shell::InitWindowTypeLauncher(); - Shell::GetInstance()->desktop_background_controller()-> - SetDefaultWallpaper(0, false); + Shell::GetInstance()->desktop_background_controller()->SetDefaultWallpaper(0); ash::Shell::GetPrimaryRootWindow()->ShowRootWindow(); } |