Index: chrome/browser/app_icon_win.cc |
diff --git a/chrome/browser/app_icon_win.cc b/chrome/browser/app_icon_win.cc |
index e893b4e70ba2d4a922291cf3b3bad78d211cbf47..d8b3628c4920a649e92d38c2b1b13b83cdcdde0b 100644 |
--- a/chrome/browser/app_icon_win.cc |
+++ b/chrome/browser/app_icon_win.cc |
@@ -33,6 +33,14 @@ HICON GetAppIcon() { |
MAKEINTRESOURCE(icon_id)); |
} |
+HICON GetSmallAppIcon() { |
+ const int icon_id = GetAppIconResourceId(); |
+ return static_cast<HICON>(LoadImage( |
+ GetModuleHandle(chrome::kBrowserResourcesDll), MAKEINTRESOURCE(icon_id), |
+ IMAGE_ICON, GetSystemMetrics(SM_CXSMICON), GetSystemMetrics(SM_CYSMICON), |
+ LR_DEFAULTCOLOR)); |
+} |
+ |
scoped_ptr<SkBitmap> GetAppIconForSize(int size) { |
const int icon_id = GetAppIconResourceId(); |
return IconUtil::CreateSkBitmapFromIconResource( |