Index: content/common/service_worker/service_worker_event_dispatcher.mojom |
diff --git a/content/common/service_worker/service_worker_event_dispatcher.mojom b/content/common/service_worker/service_worker_event_dispatcher.mojom |
index 0adc81aa2ca8eb3d0bebe9f59f9a054a56178581..0cce78436badaccd848aa2dcbbe7beab2964d147 100644 |
--- a/content/common/service_worker/service_worker_event_dispatcher.mojom |
+++ b/content/common/service_worker/service_worker_event_dispatcher.mojom |
@@ -13,6 +13,9 @@ import "third_party/WebKit/public/platform/modules/serviceworker/service_worker_ |
import "url/mojo/origin.mojom"; |
[Native] |
+struct PlatformNotificationData; |
+ |
+[Native] |
struct PushEventPayload; |
[Native] |
@@ -43,6 +46,16 @@ interface ServiceWorkerEventDispatcher { |
FetchEventPreloadHandle? preload_handle) |
=> (blink.mojom.ServiceWorkerEventStatus status, |
mojo.common.mojom.Time dispatch_event_time); |
+ DispatchNotificationClickEvent(string notification_id, |
+ PlatformNotificationData notification_data, |
+ int32 action_index, |
+ mojo.common.mojom.String16? reply) |
+ => (blink.mojom.ServiceWorkerEventStatus status, |
+ mojo.common.mojom.Time dispatch_event_time); |
+ DispatchNotificationCloseEvent(string notification_id, |
+ PlatformNotificationData notification_data) |
+ => (blink.mojom.ServiceWorkerEventStatus status, |
+ mojo.common.mojom.Time dispatch_event_time); |
DispatchPushEvent(PushEventPayload payload) |
=> (blink.mojom.ServiceWorkerEventStatus status, |
mojo.common.mojom.Time dispatch_event_time); |