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

Unified Diff: modules/push_messaging/PushEvent.idl

Issue 540533002: Roll IDL to Dartium37 (r181268) (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 6 years, 3 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/PushManager.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/serviceworkers/NavigatorServiceWorker.idl b/modules/push_messaging/PushEvent.idl
similarity index 51%
copy from modules/serviceworkers/NavigatorServiceWorker.idl
copy to modules/push_messaging/PushEvent.idl
index 1f5335479cf79598fd1ce37f85c492eca124fe71..a6a03ff8d7895445e68bfcec475fc5db9afcf71d 100644
--- a/modules/serviceworkers/NavigatorServiceWorker.idl
+++ b/modules/push_messaging/PushEvent.idl
@@ -3,7 +3,8 @@
// found in the LICENSE file.
[
- RuntimeEnabled=ServiceWorker,
-] partial interface Navigator {
- readonly attribute ServiceWorkerContainer serviceWorker;
+ EventConstructor,
+ RuntimeEnabled=PushMessaging,
+] interface PushEvent : Event {
+ [InitializedByEventConstructor] readonly attribute DOMString data;
};
« no previous file with comments | « modules/push_messaging/NavigatorPushManager.idl ('k') | modules/push_messaging/PushManager.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698