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

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

Issue 2290603005: Trigger app banner when add to homescreen is pressed and WebAPKs are enabled. (Closed)
Patch Set: Remove InstallWebApk from infobar. Created 4 years, 4 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_manager_android.h
diff --git a/chrome/browser/android/banners/app_banner_manager_android.h b/chrome/browser/android/banners/app_banner_manager_android.h
index 541501aa9b7d7856e11c54aa11d9a64bc7851d1c..4d5bf7e5e3d57cc18b84d9f84cc241af5ded4630 100644
--- a/chrome/browser/android/banners/app_banner_manager_android.h
+++ b/chrome/browser/android/banners/app_banner_manager_android.h
@@ -11,6 +11,8 @@
#include "chrome/browser/banners/app_banner_manager.h"
#include "content/public/browser/web_contents_user_data.h"
+struct ShortcutInfo;
+
namespace banners {
// Extends the AppBannerManager to support native Android apps.
@@ -97,6 +99,9 @@ class AppBannerManagerAndroid
const GURL& url,
const std::string& id);
+ // Create shortcut info from the Web Manifest for a web app.
+ std::unique_ptr<ShortcutInfo> CreateShortcutInfo();
+
// The Java-side AppBannerManager.
base::android::ScopedJavaGlobalRef<jobject> java_banner_manager_;

Powered by Google App Engine
This is Rietveld 408576698