| Index: chrome/browser/banners/app_banner_manager.h
|
| diff --git a/chrome/browser/banners/app_banner_manager.h b/chrome/browser/banners/app_banner_manager.h
|
| index e5dab9f1c095494a4b6384c83320e833f2e2b4ff..68fddb4026c89ffc7a2d8367f50385008d638fc9 100644
|
| --- a/chrome/browser/banners/app_banner_manager.h
|
| +++ b/chrome/browser/banners/app_banner_manager.h
|
| @@ -120,9 +120,10 @@ class AppBannerManager : public content::WebContentsObserver,
|
| // |code|. Returns the empty string if |code| requires no parameter.
|
| std::string GetStatusParam(InstallableStatusCode code);
|
|
|
| - // Returns the ideal and minimum icon sizes required for being installable.
|
| - virtual int GetIdealIconSizeInPx();
|
| - virtual int GetMinimumIconSizeInPx();
|
| + // Returns the ideal and minimum size requirements for icons.
|
| + virtual int GetIdealPrimaryIconSizeInPx();
|
| + virtual int GetMinimumPrimaryIconSizeInPx();
|
| + virtual int GetIdealBadgeIconSizeInPx();
|
|
|
| // Returns a WeakPtr to this object. Exposed so subclasses/infobars may
|
| // may bind callbacks without needing their own WeakPtrFactory.
|
| @@ -208,11 +209,13 @@ class AppBannerManager : public content::WebContentsObserver,
|
| // The manifest object.
|
| content::Manifest manifest_;
|
|
|
| - // The URL of the icon.
|
| - GURL icon_url_;
|
| + // Icon URLs.
|
| + GURL primary_icon_url_;
|
| + GURL badge_icon_url_;
|
|
|
| - // The icon object.
|
| - std::unique_ptr<SkBitmap> icon_;
|
| + // Icon objects.
|
| + std::unique_ptr<SkBitmap> primary_icon_;
|
| + std::unique_ptr<SkBitmap> badge_icon_;
|
|
|
| // The referrer string (if any) specified in the app URL. Used only for native
|
| // app banners.
|
|
|