summaryrefslogtreecommitdiffstats
path: root/ash/shell
diff options
context:
space:
mode:
authorbshe@chromium.org <bshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-01 18:24:32 +0000
committerbshe@chromium.org <bshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-01 18:24:32 +0000
commitc10baf7109f37d519f2500d4c4ba8206b7deee07 (patch)
tree95eee19b20c7eba74db2c52372da881049017145 /ash/shell
parentb9c9f20c55fdf632dd5a1840356c6c6f3f10a9fb (diff)
downloadchromium_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.cc3
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();
}