summaryrefslogtreecommitdiffstats
path: root/ash/ash.gyp
diff options
context:
space:
mode:
authorbshe@chromium.org <bshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-04 03:46:24 +0000
committerbshe@chromium.org <bshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-04 03:46:24 +0000
commite430a7ceeb0d3b368ab3ec2b2b90b4750ec18f46 (patch)
tree9a377380681d88cf717bc90d8ac42a698377634b /ash/ash.gyp
parenteb5c96871668a7952c24c1266005c4d3cbdcb005 (diff)
downloadchromium_src-e430a7ceeb0d3b368ab3ec2b2b90b4750ec18f46.zip
chromium_src-e430a7ceeb0d3b368ab3ec2b2b90b4750ec18f46.tar.gz
chromium_src-e430a7ceeb0d3b368ab3ec2b2b90b4750ec18f46.tar.bz2
Resize Wallpaper to reduce memory usage
This CL resizes the decoded wallpaper to a size that perfectly fit into all connected screens. By doing this, we could reduce the memory usage of wallpaper and sometimes speedup the wallpaper OnPaint function (if resize operation finishes before OnPaint get called). BUG=174156 Review URL: https://chromiumcodereview.appspot.com/12258011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185832 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/ash.gyp')
-rw-r--r--ash/ash.gyp3
1 files changed, 3 insertions, 0 deletions
diff --git a/ash/ash.gyp b/ash/ash.gyp
index 84172ad..0b0d775 100644
--- a/ash/ash.gyp
+++ b/ash/ash.gyp
@@ -75,6 +75,9 @@
'desktop_background/desktop_background_widget_controller.cc',
'desktop_background/desktop_background_widget_controller.h',
'desktop_background/user_wallpaper_delegate.h',
+ 'desktop_background/wallpaper_resizer.cc',
+ 'desktop_background/wallpaper_resizer.h',
+ 'desktop_background/wallpaper_resizer_observer.h',
'display/display_change_observer_x11.cc',
'display/display_change_observer_x11.h',
'display/display_controller.cc',