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

Unified Diff: Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h

Issue 720873002: Expose the notificationclick and notificationerror events on ServiceWorkerGlobalScope (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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/serviceworkers/ServiceWorkerGlobalScopeClient.h
diff --git a/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h b/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h
index 19dc42267bdbfc224cf41dea85bc242b4585df12..8eb88fea0008873362531d34b24fa7161321e89e 100644
--- a/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h
+++ b/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h
@@ -64,6 +64,8 @@ public:
virtual void didHandleFetchEvent(int fetchEventID) = 0;
virtual void didHandleFetchEvent(int fetchEventID, const WebServiceWorkerResponse&) = 0;
virtual void didHandlePushEvent(int pushEventID, WebServiceWorkerEventResult) = 0;
+ virtual void didHandleNotificationClickEvent(int eventID, WebServiceWorkerEventResult) = 0;
Michael van Ouwerkerk 2014/11/12 18:12:46 Are we sorting alphabetically here, or something e
horo 2014/11/13 03:48:49 I don't have strong opinions. But it looks better
Peter Beverloo 2014/11/13 14:40:47 Done. I moved didHandleInstallEvent too.
+ virtual void didHandleNotificationErrorEvent(int eventID, WebServiceWorkerEventResult) = 0;
virtual void didHandleSyncEvent(int syncEventID) = 0;
virtual void postMessageToClient(int clientID, const WebString& message, PassOwnPtr<WebMessagePortChannelArray>) = 0;

Powered by Google App Engine
This is Rietveld 408576698