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

Unified Diff: chrome/common/extensions/extension.h

Issue 10843014: Generalize ExtensionIconSet to store icon paths for custom size sets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 4 months 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
« no previous file with comments | « chrome/browser/ui/webui/ntp/app_launcher_handler.cc ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension.h
diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h
index 8ff4e33de19be279fbca1c6ac106c440fd859b0c..d5070bdfb9f2cbe05f5c315031f6c323f0c4729d 100644
--- a/chrome/common/extensions/extension.h
+++ b/chrome/common/extensions/extension.h
@@ -408,7 +408,7 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
// called on the file thread. To easily load extension images on the UI
// thread, see ImageLoadingTracker.
static void DecodeIcon(const Extension* extension,
- ExtensionIconSet::Icons icon_size,
+ int icon_size,
ExtensionIconSet::MatchType match_type,
scoped_ptr<SkBitmap>* result);
@@ -417,7 +417,7 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
// file thread. To easily load extension images on the UI thread, see
// ImageLoadingTracker.
static void DecodeIcon(const Extension* extension,
- ExtensionIconSet::Icons icon_size,
+ int icon_size,
scoped_ptr<SkBitmap>* result);
// Given an icon_path and icon size, read it if present and decode it into
@@ -425,7 +425,7 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
// file thread. To easily load extension images on the UI thread, see
// ImageLoadingTracker.
static void DecodeIconFromPath(const FilePath& icon_path,
- ExtensionIconSet::Icons icon_size,
+ int icon_size,
scoped_ptr<SkBitmap>* result);
// Returns the default extension/app icon (for extensions or apps that don't
« no previous file with comments | « chrome/browser/ui/webui/ntp/app_launcher_handler.cc ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698