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

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
« no previous file with comments | « Source/modules/push_messaging/PushEvent.cpp ('k') | Source/modules/push_messaging/PushEventInit.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..c11714ba618b9461459a6a1517a68eda937c7480 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,
+ Constructor(DOMString type, optional PushEventInit eventInitDict),
Exposed=ServiceWorker,
RuntimeEnabled=PushMessaging,
] interface PushEvent : ExtendableEvent {
- [InitializedByEventConstructor] readonly attribute PushMessageData data;
+ readonly attribute PushMessageData data;
};
« no previous file with comments | « Source/modules/push_messaging/PushEvent.cpp ('k') | Source/modules/push_messaging/PushEventInit.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698