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

Unified Diff: third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h

Issue 1619703002: Implement notificationclose event (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed test expectations and compile error 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: third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h
diff --git a/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h b/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h
index 18fadb686c9ee2f8df2195005ee0f869eebc87b9..2a02473d96acb5b4f3a06ce7879e6fd6018f529d 100644
--- a/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h
+++ b/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextClient.h
@@ -124,6 +124,11 @@ public:
// ServiceWorker's script context.
virtual void didHandleNotificationClickEvent(int eventID, WebServiceWorkerEventResult result) { }
+ // ServiceWorker specific method. Called after NotificationCloseEvent
+ // (dispatched via WebServiceWorkerContextProxy) is handled by the
+ // ServiceWorker's script context.
+ virtual void didHandleNotificationCloseEvent(int eventID, WebServiceWorkerEventResult result) { }
+
// ServiceWorker specific method. Called after PushEvent (dispatched via
// WebServiceWorkerContextProxy) is handled by the ServiceWorker's script
// context.

Powered by Google App Engine
This is Rietveld 408576698