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

Unified Diff: Source/web/ServiceWorkerGlobalScopeProxy.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/web/ServiceWorkerGlobalScopeProxy.h
diff --git a/Source/web/ServiceWorkerGlobalScopeProxy.h b/Source/web/ServiceWorkerGlobalScopeProxy.h
index cf378f7368a10b9a4106c7224bafac5bca72591e..0e3f56f7249f7a1702748ee0889018bfbbf55986 100644
--- a/Source/web/ServiceWorkerGlobalScopeProxy.h
+++ b/Source/web/ServiceWorkerGlobalScopeProxy.h
@@ -74,6 +74,8 @@ public:
virtual void dispatchGeofencingEvent(int, WebGeofencingEventType, const WebString& regionID, const WebCircularGeofencingRegion&) override;
virtual void dispatchMessageEvent(const WebString& message, const WebMessagePortChannelArray&) override;
virtual void dispatchPushEvent(int, const WebString& data) override;
+ virtual void dispatchNotificationClickEvent(int eventID, const WebNotificationData&) override;
+ virtual void dispatchNotificationErrorEvent(int eventID, const WebNotificationData&) override;
virtual void dispatchSyncEvent(int) override;
// WorkerReportingProxy overrides:

Powered by Google App Engine
This is Rietveld 408576698