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

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

Issue 285403002: Push API: define push event on Service Worker. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Define PushEvent with data attribute. Created 6 years, 7 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: Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
diff --git a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
index ca69663b8ea03d0b71aa201767e79c75cdaf21aa..6bfe42392df6d3501e3d6a2441b63666dc279cd9 100644
--- a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
+++ b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
@@ -60,6 +60,7 @@ public:
DEFINE_ATTRIBUTE_EVENT_LISTENER(fetch);
DEFINE_ATTRIBUTE_EVENT_LISTENER(message);
DEFINE_ATTRIBUTE_EVENT_LISTENER(sync);
+ DEFINE_ATTRIBUTE_EVENT_LISTENER(push);
Peter Beverloo 2014/05/16 15:41:43 Please define these in a new partial interface cal
Michael van Ouwerkerk 2014/05/21 17:06:42 Done.
virtual void trace(Visitor*) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698