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

Unified Diff: modules/push_messaging/PushEvent.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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
« no previous file with comments | « modules/push_messaging/NavigatorPushManager.idl ('k') | modules/push_messaging/PushEventInit.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/push_messaging/PushEvent.idl
diff --git a/modules/push_messaging/PushEvent.idl b/modules/push_messaging/PushEvent.idl
index a6a03ff8d7895445e68bfcec475fc5db9afcf71d..aa6d11692bf0d5b4ab8e4874b2019729ed927336 100644
--- a/modules/push_messaging/PushEvent.idl
+++ b/modules/push_messaging/PushEvent.idl
@@ -2,9 +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 : Event {
- [InitializedByEventConstructor] readonly attribute DOMString data;
+] interface PushEvent : ExtendableEvent {
+ [RuntimeEnabled=PushMessagingData] readonly attribute PushMessageData data;
};
« no previous file with comments | « modules/push_messaging/NavigatorPushManager.idl ('k') | modules/push_messaging/PushEventInit.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698