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

Unified Diff: chrome/browser/extensions/extension_uninstall_dialog.h

Issue 9586018: Add support for multiple icon sizes for Mac platform apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix build Created 8 years, 10 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/extensions/extension_uninstall_dialog.h
diff --git a/chrome/browser/extensions/extension_uninstall_dialog.h b/chrome/browser/extensions/extension_uninstall_dialog.h
index a817af36fbc9397131c01bf8deab0c24a297fa5c..c0c55ca3728a2dc02d677a3fb938c9adff1829bb 100644
--- a/chrome/browser/extensions/extension_uninstall_dialog.h
+++ b/chrome/browser/extensions/extension_uninstall_dialog.h
@@ -56,13 +56,13 @@ class ExtensionUninstallDialog : public ImageLoadingTracker::Observer {
SkBitmap icon_;
private:
- // Sets the icon that will be used in the dialog. If |icon| is NULL, or
- // contains an empty bitmap, then we use a default icon instead.
- void SetIcon(SkBitmap* icon);
+ // Sets the icon that will be used in the dialog. If |icon| contains an empty
+ // bitmap, then we use a default icon instead.
+ void SetIcon(const gfx::Image& image);
// ImageLoadingTracker::Observer:
- virtual void OnImageLoaded(SkBitmap* image,
- const ExtensionResource& resource,
+ virtual void OnImageLoaded(const gfx::Image& image,
+ const std::string& extension_id,
int index) OVERRIDE;
// Displays the prompt. This should only be called after loading the icon.
« no previous file with comments | « chrome/browser/extensions/extension_tab_helper.cc ('k') | chrome/browser/extensions/extension_uninstall_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698