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

Unified Diff: modules/notifications/ServiceWorkerGlobalScopeNotifications.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
Index: modules/notifications/ServiceWorkerGlobalScopeNotifications.idl
diff --git a/modules/push_messaging/ServiceWorkerGlobalScopePush.idl b/modules/notifications/ServiceWorkerGlobalScopeNotifications.idl
similarity index 51%
copy from modules/push_messaging/ServiceWorkerGlobalScopePush.idl
copy to modules/notifications/ServiceWorkerGlobalScopeNotifications.idl
index 3395b3d43107a7d298201f7ec943b12cd58529e5..b2a61e5dbf84558ee4342060c0b1121f1476d710 100644
--- a/modules/push_messaging/ServiceWorkerGlobalScopePush.idl
+++ b/modules/notifications/ServiceWorkerGlobalScopeNotifications.idl
@@ -2,8 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+// https://notifications.spec.whatwg.org/#service-worker-api
+
[
- RuntimeEnabled=PushMessaging,
+ RuntimeEnabled=ServiceWorkerNotifications,
] partial interface ServiceWorkerGlobalScope {
- attribute EventHandler onpush;
+ attribute EventHandler onnotificationclick;
+ attribute EventHandler onnotificationerror;
};
« no previous file with comments | « modules/notifications/NotificationOptions.idl ('k') | modules/notifications/ServiceWorkerRegistrationNotifications.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698