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

Unified Diff: Source/web/ServiceWorkerGlobalScopeClientImpl.cpp

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/web/ServiceWorkerGlobalScopeClientImpl.cpp
diff --git a/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp b/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
index 3f449e4293283dba8231c1a35c462e9b6b702648..938d87b39bd41cc86d0e44151b1f71694a711733 100644
--- a/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
+++ b/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
@@ -88,6 +88,16 @@ void ServiceWorkerGlobalScopeClientImpl::didHandlePushEvent(int pushEventID, Web
m_client.didHandlePushEvent(pushEventID, result);
}
+void ServiceWorkerGlobalScopeClientImpl::didHandleNotificationClickEvent(int eventID, WebServiceWorkerEventResult result)
+{
+ m_client.didHandleNotificationClickEvent(eventID, result);
+}
+
+void ServiceWorkerGlobalScopeClientImpl::didHandleNotificationErrorEvent(int eventID, WebServiceWorkerEventResult result)
+{
+ m_client.didHandleNotificationErrorEvent(eventID, result);
+}
+
void ServiceWorkerGlobalScopeClientImpl::didHandleSyncEvent(int syncEventID)
{
m_client.didHandleSyncEvent(syncEventID);

Powered by Google App Engine
This is Rietveld 408576698