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

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

Issue 9428025: Add support for multiple icon sizes for Mac platform apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address review comment 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..eb6452e2f191671997a30b45e9ff77049a12f324 100644
--- a/chrome/browser/extensions/extension_uninstall_dialog.h
+++ b/chrome/browser/extensions/extension_uninstall_dialog.h
@@ -58,11 +58,11 @@ class ExtensionUninstallDialog : public ImageLoadingTracker::Observer {
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);
+ 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.

Powered by Google App Engine
This is Rietveld 408576698