Resize webstore icons to a known size before placing them in the app list model.
Icons from the webstore can be unusual sizes. Once installed, ExtensionAppItem uses extension_misc::EXTENSION_ICON_MEDIUM (48) to load it, so be consistent with that. BUG=338253 TEST=(CrOS) Start installing a large app from the webstore (e.g. tank riders). While it has a progress bar, drag it around the app launcher - the icon should grow a little, not a lot (see bug for screenshots). Review URL: https://codereview.chromium.org/400893002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284879 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment