diff options
author | sail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-03 19:58:06 +0000 |
---|---|---|
committer | sail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-03 19:58:06 +0000 |
commit | bdd6eec2dbd37b2fdc38d32cd69f467bbc2d69cc (patch) | |
tree | e99d5669185f6ac8ccd441baa70b69a65a0331c2 /chrome/browser/extensions/extension_uninstall_dialog.h | |
parent | 04f050b37f95b156b4b60c9e05e5672bc3388f0f (diff) | |
download | chromium_src-bdd6eec2dbd37b2fdc38d32cd69f467bbc2d69cc.zip chromium_src-bdd6eec2dbd37b2fdc38d32cd69f467bbc2d69cc.tar.gz chromium_src-bdd6eec2dbd37b2fdc38d32cd69f467bbc2d69cc.tar.bz2 |
Add support for multiple icon sizes for Mac platform apps
This is the combined version of the following CLs:
http://codereview.chromium.org/9428025/
http://codereview.chromium.org/9500007/
http://codereview.chromium.org/9535002/
BUG=112651
TEST=
Review URL: https://chromiumcodereview.appspot.com/9586018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124875 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_uninstall_dialog.h')
-rw-r--r-- | chrome/browser/extensions/extension_uninstall_dialog.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/extensions/extension_uninstall_dialog.h b/chrome/browser/extensions/extension_uninstall_dialog.h index a817af3..c0c55ca 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. |