| Index: chrome/browser/android/banners/app_banner_manager.h
|
| diff --git a/chrome/browser/android/banners/app_banner_manager.h b/chrome/browser/android/banners/app_banner_manager.h
|
| index 736d9fa1f6ed64538a9de23216163f2696390916..a90b597a51681b9d5eb5408ff938c62e9276121c 100644
|
| --- a/chrome/browser/android/banners/app_banner_manager.h
|
| +++ b/chrome/browser/android/banners/app_banner_manager.h
|
| @@ -94,6 +94,16 @@ class AppBannerManager : public chrome::BitmapFetcherDelegate,
|
| jstring japp_package,
|
| jstring jicon_url);
|
|
|
| + // Called when the installation Intent has been handled.
|
| + void OnIntentCompleted(JNIEnv* env,
|
| + jobject obj,
|
| + jboolean jis_installing);
|
| +
|
| + // Called when the InstallerDelegate task has finished.
|
| + void OnInstallFinished(JNIEnv* env,
|
| + jobject obj,
|
| + jboolean success);
|
| +
|
| // Fetches the icon at the given URL asynchronously.
|
| // Returns |false| if this couldn't be kicked off.
|
| bool FetchIcon(const GURL& image_url);
|
| @@ -103,6 +113,9 @@ class AppBannerManager : public chrome::BitmapFetcherDelegate,
|
| static void InstallManifestApp(const content::Manifest& manifest,
|
| const SkBitmap& icon);
|
|
|
| + // Called when the AppBannerInfoBar's button needs to be updated.
|
| + void UpdateInstallState(JNIEnv* env, jobject obj);
|
| +
|
| // WebContentsObserver overrides.
|
| void DidNavigateMainFrame(
|
| const content::LoadCommittedDetails& details,
|
| @@ -117,6 +130,7 @@ class AppBannerManager : public chrome::BitmapFetcherDelegate,
|
| // AppBannerInfoBarDelegate::AppDelegate overrides.
|
| void Block() const override;
|
| bool OnButtonClicked() const override;
|
| + bool OnLinkClicked() const override;
|
| void OnInfoBarDestroyed() override;
|
| base::string16 GetTitle() const override;
|
| gfx::Image GetIcon() const override;
|
|
|