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

Unified Diff: Source/modules/push_messaging/ServiceWorkerGlobalScopePush.idl

Issue 318413002: Push API: define push event on Service Worker. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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
Index: Source/modules/push_messaging/ServiceWorkerGlobalScopePush.idl
diff --git a/Source/modules/push_messaging/NavigatorPushManager.idl b/Source/modules/push_messaging/ServiceWorkerGlobalScopePush.idl
similarity index 71%
copy from Source/modules/push_messaging/NavigatorPushManager.idl
copy to Source/modules/push_messaging/ServiceWorkerGlobalScopePush.idl
index 26db0dddc171d946dab70ea59e2202a465f47803..3395b3d43107a7d298201f7ec943b12cd58529e5 100644
--- a/Source/modules/push_messaging/NavigatorPushManager.idl
+++ b/Source/modules/push_messaging/ServiceWorkerGlobalScopePush.idl
@@ -4,6 +4,6 @@
[
RuntimeEnabled=PushMessaging,
-] partial interface Navigator {
- readonly attribute PushManager push;
+] partial interface ServiceWorkerGlobalScope {
+ attribute EventHandler onpush;
};
« no previous file with comments | « Source/modules/push_messaging/ServiceWorkerGlobalScopePush.h ('k') | Source/web/ServiceWorkerGlobalScopeProxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698