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

Unified Diff: chrome/browser/background/background_application_list_model.cc

Issue 10843014: Generalize ExtensionIconSet to store icon paths for custom size sets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: .. 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
Index: chrome/browser/background/background_application_list_model.cc
diff --git a/chrome/browser/background/background_application_list_model.cc b/chrome/browser/background/background_application_list_model.cc
index 3cbb1145b8b55eee13e0553bb6d166b76619cee0..262916e551f6c7ed3d9a97537bee80e669b5cd32 100644
--- a/chrome/browser/background/background_application_list_model.cc
+++ b/chrome/browser/background/background_application_list_model.cc
@@ -73,7 +73,7 @@ class BackgroundApplicationListModel::Application
// Uses the FILE thread to request this extension's icon, sized
// appropriately.
- void RequestIcon(ExtensionIconSet::Icons size);
+ void RequestIcon(ExtensionIconSet::ExtensionIcons size);
const Extension* extension_;
scoped_ptr<gfx::ImageSkia> icon_;
@@ -155,7 +155,7 @@ void BackgroundApplicationListModel::Application::OnImageLoaded(
}
void BackgroundApplicationListModel::Application::RequestIcon(
- ExtensionIconSet::Icons size) {
+ ExtensionIconSet::ExtensionIcons size) {
ExtensionResource resource = extension_->GetIconResource(
size, ExtensionIconSet::MATCH_BIGGER);
tracker_.LoadImage(extension_, resource, gfx::Size(size, size),

Powered by Google App Engine
This is Rietveld 408576698