summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_icon_image_unittest.cc
Commit message (Collapse)AuthorAgeFilesLines
* Change browser/page action default icon defined in manifest to support hidpi.tbarzic@chromium.org2012-09-181-7/+19
| | | | | | | | | | | | | | | | | | | To support hidpi for browser action default icons, ability to define dictionary of icon in manifest as default icons is added. Defining images of sizes 19 and 38 is allowed (other dictionary values will be ignored). The image to be painted will be determined based on screen density. Similary, for script badges, default icon is determined using 16 and 32 px icon defined in extension manifest. I have extracted actual icon loading code to extension_action_icon_factory.h/.cc, so it doesn't have to be implemented for all platform specific solutions. BUG=138025,135271 Review URL: https://chromiumcodereview.appspot.com/10905005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157309 0039d316-1c4b-4281-b951-d872f2087c98
* Supply default icon to extension icon image.tbarzic@chromium.org2012-09-071-93/+362
| | | | | | | | | | | | | | | Icon image shuld return default representation until actual image is loaded instead of the empty representation. Also, handle the case when image loading tracker returns synchronously. BUG=138025 TEST=IconImageTests Review URL: https://chromiumcodereview.appspot.com/10861034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155330 0039d316-1c4b-4281-b951-d872f2087c98
* taking over xiyuan's patch: http://codereview.chromium.org/10701087/tbarzic@chromium.org2012-08-201-0/+264
*************************************************************** chromeos: Fix pixelated icons in app list and launcher (part 2) Add an ExtensionIconImage, which loads image that supports DIP by having a special ImageSkiaSource that makes ImageLoadingTracker to load image for additional DIP scale. BUG=131738, 131739 TEST=None. Wait for the last CL to update laucher/app list code to use LoadImageInDIP to verify. *************************************************************** For gypi files (I reckon this part is trivial enough) TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10825012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152407 0039d316-1c4b-4281-b951-d872f2087c98