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

Unified Diff: Source/modules/notifications/ServiceWorkerRegistrationNotifications.idl

Issue 1016843002: Implement the ServiceWorkerRegistration.getNotifications() API. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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/notifications/ServiceWorkerRegistrationNotifications.idl
diff --git a/Source/modules/notifications/ServiceWorkerRegistrationNotifications.idl b/Source/modules/notifications/ServiceWorkerRegistrationNotifications.idl
index d1a4260199e2d8c51c971a2b11717ee2b811f160..60c04e2632d23f5b5c0af080191a620ab876a5fb 100644
--- a/Source/modules/notifications/ServiceWorkerRegistrationNotifications.idl
+++ b/Source/modules/notifications/ServiceWorkerRegistrationNotifications.idl
@@ -9,4 +9,5 @@
RuntimeEnabled=ServiceWorkerNotifications
] partial interface ServiceWorkerRegistration {
[CallWith=ScriptState, RaisesException] Promise showNotification(DOMString title, optional NotificationOptions options);
+ [CallWith=ScriptState, RuntimeEnabled=NotificationExperimental] Promise<sequence<Notification>> getNotifications(optional GetNotificationOptions filter);
};

Powered by Google App Engine
This is Rietveld 408576698