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

Unified Diff: Source/modules/app_banner/AppBannerController.h

Issue 1089813002: Change beforeinstallprompt event to take an array of platforms. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
Index: Source/modules/app_banner/AppBannerController.h
diff --git a/Source/modules/app_banner/AppBannerController.h b/Source/modules/app_banner/AppBannerController.h
index a4f0829325ccf783570537ef1428cdd92a302f4a..fb61727d3ff740c8c6630fe30ae6ab950fa4a7d0 100644
--- a/Source/modules/app_banner/AppBannerController.h
+++ b/Source/modules/app_banner/AppBannerController.h
@@ -10,12 +10,13 @@ namespace blink {
enum class WebAppBannerPromptReply;
class LocalFrame;
class WebString;
+template <typename T> class WebVector;
// FIXME: unless userChoice ends up implemented, this class should not exist and
// a regular static method could be used instead.
class AppBannerController final {
public:
- static void willShowInstallBannerPrompt(LocalFrame*, const WebString& platform, WebAppBannerPromptReply*);
+ static void willShowInstallBannerPrompt(LocalFrame*, const WebVector<WebString>& platforms, WebAppBannerPromptReply*);
private:
AppBannerController() = delete;

Powered by Google App Engine
This is Rietveld 408576698