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

Unified Diff: Source/modules/notifications/NotificationEventInit.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/notifications/NotificationEvent.idl ('k') | Source/modules/push_messaging/PushEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/notifications/NotificationEventInit.idl
diff --git a/Source/core/html/HTMLPictureElement.idl b/Source/modules/notifications/NotificationEventInit.idl
similarity index 53%
copy from Source/core/html/HTMLPictureElement.idl
copy to Source/modules/notifications/NotificationEventInit.idl
index 649316cb8a1be19e29c17f14bfbc5b6e10397164..47ce14afc6017f3fa04c1baa05abd4ebd2784177 100644
--- a/Source/core/html/HTMLPictureElement.idl
+++ b/Source/modules/notifications/NotificationEventInit.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://notifications.spec.whatwg.org/#notificationevent
+dictionary NotificationEventInit : ExtendableEventInit {
+ Notification notification;
+};
« no previous file with comments | « Source/modules/notifications/NotificationEvent.idl ('k') | Source/modules/push_messaging/PushEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698