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

Unified Diff: Source/modules/app_banner/BeforeInstallPromptEvent.idl

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/BeforeInstallPromptEvent.idl
diff --git a/Source/modules/app_banner/BeforeInstallPromptEvent.idl b/Source/modules/app_banner/BeforeInstallPromptEvent.idl
index 1444c7e5716d1f70a68568e772dd2d3686e16816..9255f83fefd0703656d0234fbaf68bc6cc914a1e 100644
--- a/Source/modules/app_banner/BeforeInstallPromptEvent.idl
+++ b/Source/modules/app_banner/BeforeInstallPromptEvent.idl
@@ -6,6 +6,6 @@
Constructor(DOMString platform, optional BeforeInstallPromptEventInit eventInitDict),
RuntimeEnabled=AppBanner,
] interface BeforeInstallPromptEvent : Event {
- readonly attribute DOMString platform;
+ readonly attribute DOMString[] platforms;
[CallWith=ScriptState] readonly attribute Promise<DOMString> userChoice;
};

Powered by Google App Engine
This is Rietveld 408576698