From 05af9e8c72d448d5286c6c1aad4b01fae03037b7 Mon Sep 17 00:00:00 2001 From: "asvitkine@chromium.org" Date: Thu, 31 Jan 2013 05:27:37 +0000 Subject: Support large icons for Windows desktop profile shortcuts. Also, fixes a problem in the existing code where the badged avatar on the icon was slightly stretched compared to the original image (as shown in the tab strip). BUG=167277 TEST=See bug. Review URL: https://chromiumcodereview.appspot.com/12090073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179804 0039d316-1c4b-4281-b951-d872f2087c98 --- ui/gfx/icon_util.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ui/gfx/icon_util.h') diff --git a/ui/gfx/icon_util.h b/ui/gfx/icon_util.h index dfeea4c..4aa2676 100644 --- a/ui/gfx/icon_util.h +++ b/ui/gfx/icon_util.h @@ -55,6 +55,9 @@ class SkBitmap; /////////////////////////////////////////////////////////////////////////////// class UI_EXPORT IconUtil { public: + // The size of the large icon entries in .ico files on Windows Vista+. + static const int kLargeIconSize = 256; + // Given an SkBitmap object, the function converts the bitmap to a Windows // icon and returns the corresponding HICON handle. If the function cannot // convert the bitmap, NULL is returned. -- cgit v1.1