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

Unified Diff: Source/modules/push_messaging/PushEvent.idl

Issue 780963004: Use event init dictionaries in modules/{notifications,push_messaging,serviceworkers} (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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/push_messaging/PushEvent.idl
diff --git a/Source/modules/push_messaging/PushEvent.idl b/Source/modules/push_messaging/PushEvent.idl
index 0c852a20757afebd54ad9bdc080aa51498d0ab2a..229793e3882191a4ad744db40206da5af5891298 100644
--- a/Source/modules/push_messaging/PushEvent.idl
+++ b/Source/modules/push_messaging/PushEvent.idl
@@ -2,10 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+// https://w3c.github.io/push-api/#idl-def-PushEvent
+
[
- EventConstructor,
Exposed=ServiceWorker,
RuntimeEnabled=PushMessaging,
+ Constructor(DOMString type, optional PushEventInit eventInitDict),
] interface PushEvent : ExtendableEvent {
- [InitializedByEventConstructor] readonly attribute PushMessageData data;
+ readonly attribute PushMessageData data;
};

Powered by Google App Engine
This is Rietveld 408576698