summaryrefslogtreecommitdiffstats
path: root/ash/ash.gyp
diff options
context:
space:
mode:
authorxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-31 03:39:05 +0000
committerxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-31 03:39:05 +0000
commit19544b20ba420f75d613c38035140c4c12db0d7f (patch)
treea85766d2fe79863a198511d08da0ebba947e48e9 /ash/ash.gyp
parentc288ca0597d6259501104da2f804b9359cab86bb (diff)
downloadchromium_src-19544b20ba420f75d613c38035140c4c12db0d7f.zip
chromium_src-19544b20ba420f75d613c38035140c4c12db0d7f.tar.gz
chromium_src-19544b20ba420f75d613c38035140c4c12db0d7f.tar.bz2
Reland 129925 - ash: Icon cache for app list to save shadow generation time.
- Add an IconCache that stores processed (resized and shadow-generated) image, keyed by source image + desired size; - The cache is created with AppList controller and destroyed when controller is gone; - Controller marks all entries in cache unused before showing the UI and purges all unused entry after dismissing UI; - In item view, try cache first to get processed image before scheduling job, and update cache when background processing comes back; BUG=120961 TEST=Verify fix for issue 120961. Review URL: http://codereview.chromium.org/9934006 TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/9968024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130035 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/ash.gyp')
-rw-r--r--ash/ash.gyp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ash/ash.gyp b/ash/ash.gyp
index 316cc2b..edc0b13 100644
--- a/ash/ash.gyp
+++ b/ash/ash.gyp
@@ -64,6 +64,8 @@
'app_list/app_list_view_delegate.h',
'app_list/drop_shadow_label.cc',
'app_list/drop_shadow_label.h',
+ 'app_list/icon_cache.cc',
+ 'app_list/icon_cache.h',
'ash_switches.cc',
'ash_switches.h',
'caps_lock_delegate.h',