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

Unified Diff: Source/modules/push_messaging/PushEventInit.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.idl ('k') | Source/modules/serviceworkers/ExtendableEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/push_messaging/PushEventInit.idl
diff --git a/Source/core/html/HTMLPictureElement.idl b/Source/modules/push_messaging/PushEventInit.idl
similarity index 57%
copy from Source/core/html/HTMLPictureElement.idl
copy to Source/modules/push_messaging/PushEventInit.idl
index 649316cb8a1be19e29c17f14bfbc5b6e10397164..aa921f407c832292ef0b0d034c33029a30d9c54d 100644
--- a/Source/core/html/HTMLPictureElement.idl
+++ b/Source/modules/push_messaging/PushEventInit.idl
@@ -2,9 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// http://picture.responsiveimages.org
-[
- RuntimeEnabled=Picture
-] interface HTMLPictureElement : HTMLElement {
-};
+// https://w3c.github.io/push-api/#idl-def-PushEvent
+dictionary PushEventInit : ExtendableEventInit {
+ PushMessageData data;
+};
« no previous file with comments | « Source/modules/push_messaging/PushEvent.idl ('k') | Source/modules/serviceworkers/ExtendableEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698