Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(336)

Issue 10868003: chromeos: Fix pixelated icons in app list and launcher (part 3) (Closed)

Created:
8 years, 4 months ago by xiyuan
Modified:
8 years, 3 months ago
CC:
chromium-reviews, mihaip-chromium-reviews_chromium.org, sadrul, ben+watch_chromium.org, tfarina, rsesek+watch_chromium.org
Visibility:
Public.

Description

chromeos: Fix pixelated icons in app list and launcher (part 3) - Use extensions::IconImage for HiDPI icons; - Fix IconImage use default icon for bundled component extension icon; - Fix ImageLoadingTracker does not properly resize bundled component extension icon; - Get rid of icon cache and work thread for shadow generation. We are using the exact icon size (smaller) and only generate shadow for visible ones. Thus, it is no longer needed. BUG=131738, 131739 TEST=Verify launcher and app list have crispy icons on HiDPI. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=155939

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 7

Patch Set 3 : rebase on tony's cl, get rid of icon cache and worker thread #

Total comments: 14

Patch Set 4 : for comments in #3 #

Total comments: 1

Patch Set 5 : rebase, fix nit #

Patch Set 6 : fix win compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -389 lines) Patch
M ash/wm/app_list_controller.cc View 1 2 3 4 5 chunks +0 lines, -7 lines 0 comments Download
M chrome/browser/extensions/extension_icon_image.cc View 1 2 3 chunks +19 lines, -15 lines 0 comments Download
M chrome/browser/extensions/image_loading_tracker.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/extensions/image_loading_tracker.cc View 1 2 3 5 chunks +36 lines, -20 lines 0 comments Download
M chrome/browser/ui/app_list/extension_app_item.h View 1 2 3 4 4 chunks +6 lines, -7 lines 0 comments Download
M chrome/browser/ui/app_list/extension_app_item.cc View 1 2 3 4 2 chunks +11 lines, -20 lines 0 comments Download
M chrome/browser/ui/ash/launcher/browser_launcher_item_controller_unittest.cc View 1 2 3 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/ash/launcher/launcher_app_icon_loader.h View 1 2 2 chunks +10 lines, -14 lines 0 comments Download
M chrome/browser/ui/ash/launcher/launcher_app_icon_loader.cc View 1 2 3 3 chunks +29 lines, -21 lines 0 comments Download
M chrome/browser/ui/views/app_list/app_list_controller_win.cc View 1 2 3 4 5 2 chunks +1 line, -4 lines 0 comments Download
M ui/app_list/app_list.gyp View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M ui/app_list/app_list_item_model.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ui/app_list/app_list_item_view.h View 1 2 3 chunks +0 lines, -13 lines 0 comments Download
M ui/app_list/app_list_item_view.cc View 1 2 5 chunks +7 lines, -90 lines 0 comments Download
D ui/app_list/icon_cache.h View 1 2 1 chunk +0 lines, -58 lines 0 comments Download
D ui/app_list/icon_cache.cc View 1 2 1 chunk +0 lines, -115 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
xiyuan
Looks like this CL could be related to tony's https://chromiumcodereview.appspot.com/10861034/, regarding how we handle the ...
8 years, 4 months ago (2012-08-21 22:36:19 UTC) #1
Aaron Boodman
Can you please say which reviewer should review which bit?
8 years, 4 months ago (2012-08-22 21:23:04 UTC) #2
xiyuan
On 2012/08/22 21:23:04, Aaron Boodman wrote: > Can you please say which reviewer should review ...
8 years, 4 months ago (2012-08-22 22:22:36 UTC) #3
tbarzic
http://codereview.chromium.org/10868003/diff/3001/chrome/browser/extensions/image_loading_tracker.cc File chrome/browser/extensions/image_loading_tracker.cc (right): http://codereview.chromium.org/10868003/diff/3001/chrome/browser/extensions/image_loading_tracker.cc#newcode185 chrome/browser/extensions/image_loading_tracker.cc:185: scoped_ptr<SkBitmap> bitmap(new SkBitmap); now I wonder why I didn't ...
8 years, 4 months ago (2012-08-25 01:46:39 UTC) #4
xiyuan
http://codereview.chromium.org/10868003/diff/3001/ui/app_list/app_list_item_view.cc File ui/app_list/app_list_item_view.cc (right): http://codereview.chromium.org/10868003/diff/3001/ui/app_list/app_list_item_view.cc#newcode110 ui/app_list/app_list_item_view.cc:110: // generation does not run on UI thread. As ...
8 years, 3 months ago (2012-08-28 17:31:21 UTC) #5
Aaron Boodman
lgtm http://codereview.chromium.org/10868003/diff/3001/chrome/browser/extensions/extension_icon_image.cc File chrome/browser/extensions/extension_icon_image.cc (right): http://codereview.chromium.org/10868003/diff/3001/chrome/browser/extensions/extension_icon_image.cc#newcode119 chrome/browser/extensions/extension_icon_image.cc:119: if (!ImageLoadingTracker::IsSpecialBundledExtensionId(extension_->id())) { I hate this hack so ...
8 years, 3 months ago (2012-08-30 06:09:19 UTC) #6
pkotwicz
I am unsure if you have. Have you merged with tbarzic's changes in http://codereview.chromium.org/10861034/ ?
8 years, 3 months ago (2012-08-30 16:04:53 UTC) #7
xiyuan
On 2012/08/30 16:04:53, pkotwicz wrote: > I am unsure if you have. Have you merged ...
8 years, 3 months ago (2012-08-30 17:01:16 UTC) #8
tbarzic
lgtm http://codereview.chromium.org/10868003/diff/3001/chrome/browser/ui/ash/launcher/launcher_app_icon_loader.cc File chrome/browser/ui/ash/launcher/launcher_app_icon_loader.cc (right): http://codereview.chromium.org/10868003/diff/3001/chrome/browser/ui/ash/launcher/launcher_app_icon_loader.cc#newcode88 chrome/browser/ui/ash/launcher/launcher_app_icon_loader.cc:88: extensions::Extension::GetDefaultIcon(true), this will return SkBitmap, right? we should ...
8 years, 3 months ago (2012-08-31 18:57:34 UTC) #9
xiyuan
http://codereview.chromium.org/10868003/diff/3001/chrome/browser/ui/ash/launcher/launcher_app_icon_loader.cc File chrome/browser/ui/ash/launcher/launcher_app_icon_loader.cc (right): http://codereview.chromium.org/10868003/diff/3001/chrome/browser/ui/ash/launcher/launcher_app_icon_loader.cc#newcode88 chrome/browser/ui/ash/launcher/launcher_app_icon_loader.cc:88: extensions::Extension::GetDefaultIcon(true), On 2012/08/31 18:57:34, tbarzic wrote: > this will ...
8 years, 3 months ago (2012-08-31 19:24:45 UTC) #10
xiyuan
CL rebased on Tony's change. Please take another look. Thanks. Suggested split: pkotwicz, tbarzic: extensions::IconImage ...
8 years, 3 months ago (2012-09-07 16:41:52 UTC) #11
tbarzic
On 2012/09/07 16:41:52, xiyuan wrote: > CL rebased on Tony's change. Please take another look. ...
8 years, 3 months ago (2012-09-07 17:13:23 UTC) #12
tbarzic
forgot to publish nits :) http://codereview.chromium.org/10868003/diff/14002/chrome/browser/ui/app_list/extension_app_item.cc File chrome/browser/ui/app_list/extension_app_item.cc (right): http://codereview.chromium.org/10868003/diff/14002/chrome/browser/ui/app_list/extension_app_item.cc#newcode148 chrome/browser/ui/app_list/extension_app_item.cc:148: OnExtensionIconImageChanged(icon_.get()); optional: I think ...
8 years, 3 months ago (2012-09-07 17:14:06 UTC) #13
pkotwicz
LGTM with nits http://codereview.chromium.org/10868003/diff/14002/chrome/browser/extensions/image_loading_tracker.cc File chrome/browser/extensions/image_loading_tracker.cc (right): http://codereview.chromium.org/10868003/diff/14002/chrome/browser/extensions/image_loading_tracker.cc#newcode185 chrome/browser/extensions/image_loading_tracker.cc:185: scoped_ptr<SkBitmap> bitmap(new SkBitmap); Optional: You can ...
8 years, 3 months ago (2012-09-07 19:24:49 UTC) #14
xiyuan
http://codereview.chromium.org/10868003/diff/14002/chrome/browser/extensions/image_loading_tracker.cc File chrome/browser/extensions/image_loading_tracker.cc (right): http://codereview.chromium.org/10868003/diff/14002/chrome/browser/extensions/image_loading_tracker.cc#newcode185 chrome/browser/extensions/image_loading_tracker.cc:185: scoped_ptr<SkBitmap> bitmap(new SkBitmap); On 2012/09/07 19:24:49, pkotwicz wrote: > ...
8 years, 3 months ago (2012-09-07 20:05:58 UTC) #15
sky
LGTM http://codereview.chromium.org/10868003/diff/16002/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h File chrome/browser/ui/ash/launcher/chrome_launcher_controller.h (right): http://codereview.chromium.org/10868003/diff/16002/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h#newcode96 chrome/browser/ui/ash/launcher/chrome_launcher_controller.h:96: // Clears the image for specified id. the ...
8 years, 3 months ago (2012-09-10 21:10:03 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiyuan@chromium.org/10868003/22004
8 years, 3 months ago (2012-09-10 21:59:14 UTC) #17
commit-bot: I haz the power
Try job failure for 10868003-22004 (retry) on win_rel for step "compile" (clobber build). It's a ...
8 years, 3 months ago (2012-09-10 23:24:43 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiyuan@chromium.org/10868003/23003
8 years, 3 months ago (2012-09-11 01:13:46 UTC) #19
commit-bot: I haz the power
8 years, 3 months ago (2012-09-11 03:38:14 UTC) #20
Change committed as 155939

Powered by Google App Engine
This is Rietveld 408576698