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

Unified Diff: modules/push_messaging/PushEventInit.idl

Issue 2786203002: Roll 50: Copied IDLs, PYTHON scripts from WebKit removed deleted files in WebCore (Closed)
Patch Set: Created 3 years, 9 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/presentation/PresentationSession.idl ('k') | modules/push_messaging/PushMessageData.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/push_messaging/PushEventInit.idl
diff --git a/modules/push_messaging/PushEventInit.idl b/modules/push_messaging/PushEventInit.idl
index aa921f407c832292ef0b0d034c33029a30d9c54d..a5672f88cb1dcafeb106b60b42995adfe66fdcfc 100644
--- a/modules/push_messaging/PushEventInit.idl
+++ b/modules/push_messaging/PushEventInit.idl
@@ -4,6 +4,9 @@
// https://w3c.github.io/push-api/#idl-def-PushEvent
+// TODO(peter): Use BufferSource when union types can refer to other union types.
+typedef (ArrayBuffer or ArrayBufferView or USVString) PushMessageDataInit;
+
dictionary PushEventInit : ExtendableEventInit {
- PushMessageData data;
+ PushMessageDataInit data;
};
« no previous file with comments | « modules/presentation/PresentationSession.idl ('k') | modules/push_messaging/PushMessageData.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698