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

Unified Diff: Source/modules/push_messaging/ServiceWorkerGlobalScopePush.h

Issue 318413002: Push API: define push event on Service Worker. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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/push_messaging/ServiceWorkerGlobalScopePush.h
diff --git a/Source/modules/push_messaging/ServiceWorkerGlobalScopePush.h b/Source/modules/push_messaging/ServiceWorkerGlobalScopePush.h
new file mode 100644
index 0000000000000000000000000000000000000000..4c92682f076c75a84643c1a8470b539e1681f33e
--- /dev/null
+++ b/Source/modules/push_messaging/ServiceWorkerGlobalScopePush.h
@@ -0,0 +1,19 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef ServiceWorkerGlobalScopePush_h
+#define ServiceWorkerGlobalScopePush_h
+
+#include "core/events/EventTarget.h"
+
+namespace WebCore {
+
+class ServiceWorkerGlobalScopePush {
+public:
+ DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(push);
+};
+
+} // namespace WebCore
+
+#endif // ServiceWorkerGlobalScopePush_h
« no previous file with comments | « Source/modules/push_messaging/PushEvent.idl ('k') | Source/modules/push_messaging/ServiceWorkerGlobalScopePush.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698