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

Unified Diff: components/infobars/core/infobar_delegate.cc

Issue 2290603005: Trigger app banner when add to homescreen is pressed and WebAPKs are enabled. (Closed)
Patch Set: Nits. Created 4 years, 3 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: components/infobars/core/infobar_delegate.cc
diff --git a/components/infobars/core/infobar_delegate.cc b/components/infobars/core/infobar_delegate.cc
index 4f0473e9731f4b458bff249ef414e7f1186f31bd..119ff4a30d8a933c4c56b72c096554dff6264231 100644
--- a/components/infobars/core/infobar_delegate.cc
+++ b/components/infobars/core/infobar_delegate.cc
@@ -127,6 +127,11 @@ translate::TranslateInfoBarDelegate*
}
#if defined(OS_ANDROID)
+banners::AppBannerInfoBarDelegateAndroid*
+InfoBarDelegate::AsAppBannerInfoBarDelegateAndroid() {
+ return nullptr;
+}
+
MediaStreamInfoBarDelegateAndroid*
InfoBarDelegate::AsMediaStreamInfoBarDelegateAndroid() {
return nullptr;

Powered by Google App Engine
This is Rietveld 408576698