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

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

Issue 2379923002: Implement "appinstalled" event on Android. (Closed)
Patch Set: Minor refactor. Created 4 years, 2 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/android/banners/app_banner_infobar_delegate_android.cc
diff --git a/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc b/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc
index a42484fb8d4db0ff0a5209d5a031302f937b13bc..c67e1f9764c7be80dfedfc78dad6706e4191d299 100644
--- a/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc
+++ b/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc
@@ -279,6 +279,8 @@ void AppBannerInfoBarDelegateAndroid::SendBannerAccepted(
web_contents->GetMainFrame()->GetRoutingID(),
event_request_id_,
platform));
+ if (weak_manager_)
+ weak_manager_->OnInstall();
dominickn 2016/10/12 22:35:09 We're already sending a message to the renderer he
Matt Giuca 2016/12/09 04:36:48 Hmmm yeah your CL did make this easier but it's st
}
infobars::InfoBarDelegate::InfoBarIdentifier

Powered by Google App Engine
This is Rietveld 408576698