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

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

Issue 1160413004: Add hooks for BeforeInstallPromptEvent to be redispatched. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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 30f2a7f5415f1a80e4ec99dd60b422a7b8b1748e..691aa0c54f8c17d9688c09b995c88e6715e1c20c 100644
--- a/Source/modules/app_banner/BeforeInstallPromptEvent.idl
+++ b/Source/modules/app_banner/BeforeInstallPromptEvent.idl
@@ -8,4 +8,5 @@
] interface BeforeInstallPromptEvent : Event {
readonly attribute sequence<DOMString> platforms;
[CallWith=ScriptState] readonly attribute Promise<DOMString> userChoice;
+ [CallWith=ScriptState] Promise<void> prompt();
};
« no previous file with comments | « Source/modules/app_banner/BeforeInstallPromptEvent.cpp ('k') | public/platform/modules/app_banner/WebAppBannerClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698