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

Unified Diff: ui/gfx/icon_util.h

Issue 1408063012: Replaced GetAppIconForSize with GetAppIconImageFamily. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master-plus
Patch Set: Split off ImageFamily stuff into CL 1424913007. Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/gfx/icon_util.h
diff --git a/ui/gfx/icon_util.h b/ui/gfx/icon_util.h
index 1a48304735043801cb9b82f96dbb10dd49c8b50c..235fd480e208bce9974b0b4470c60a1f352e608d 100644
--- a/ui/gfx/icon_util.h
+++ b/ui/gfx/icon_util.h
@@ -103,9 +103,9 @@ class GFX_EXPORT IconUtil {
// loaded .dll or .exe |module|. Supports loading smaller icon sizes as well
// as the Vista+ 256x256 PNG icon size. If the icon could not be loaded or
// found, returns a NULL scoped_ptr.
- static scoped_ptr<SkBitmap> CreateSkBitmapFromIconResource(HMODULE module,
- int resource_id,
- int size);
+ static scoped_ptr<gfx::ImageFamily> CreateImageFamilyFromIconResource(
+ HMODULE module,
+ int resource_id);
// Given a valid HICON handle representing an icon, this function converts
// the icon into an SkBitmap object containing an ARGB bitmap using the

Powered by Google App Engine
This is Rietveld 408576698