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

Unified Diff: chrome/browser/android/banners/app_banner_infobar_delegate_android.h

Issue 2848703005: Fix appinstalled event firing when user opens a WebAPK from banner. (Closed)
Patch Set: Better comment. Created 3 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/android/banners/app_banner_infobar_delegate_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/banners/app_banner_infobar_delegate_android.h
diff --git a/chrome/browser/android/banners/app_banner_infobar_delegate_android.h b/chrome/browser/android/banners/app_banner_infobar_delegate_android.h
index 6552a14db809ef94568988575ea26b4115d4227c..6467eac3154372914cd5557604d9921dbd7be42a 100644
--- a/chrome/browser/android/banners/app_banner_infobar_delegate_android.h
+++ b/chrome/browser/android/banners/app_banner_infobar_delegate_android.h
@@ -122,6 +122,10 @@ class AppBannerInfoBarDelegateAndroid : public ConfirmInfoBarDelegate {
// Returns false if this delegate is for a WebAPK and was triggered from the
// A2HS menu item. Otherwise returns true.
bool TriggeredFromBanner() const;
+
+ // Called when the user accepts the banner to install the app. (Not called
+ // when the "Open" button is pressed on the banner that is shown after
+ // installation for WebAPK banners.)
void SendBannerAccepted();
void OnWebApkInstallFinished(WebApkInstallResult result,
bool relax_updates,
« no previous file with comments | « no previous file | chrome/browser/android/banners/app_banner_infobar_delegate_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698