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

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

Issue 780963004: Use event init dictionaries in modules/{notifications,push_messaging,serviceworkers} (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « Source/modules/notifications/NotificationEventInit.idl ('k') | Source/modules/push_messaging/PushEvent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/push_messaging/PushEvent.h
diff --git a/Source/modules/push_messaging/PushEvent.h b/Source/modules/push_messaging/PushEvent.h
index 0f916dc81ea3d80693c826f9b8c5621c7c304dd3..7f4c708e5391e87101fe9af534a21eef589dcc55 100644
--- a/Source/modules/push_messaging/PushEvent.h
+++ b/Source/modules/push_messaging/PushEvent.h
@@ -6,6 +6,7 @@
#define PushEvent_h
#include "modules/EventModules.h"
+#include "modules/push_messaging/PushEventInit.h"
#include "modules/push_messaging/PushMessageData.h"
#include "modules/serviceworkers/ExtendableEvent.h"
#include "platform/heap/Handle.h"
@@ -14,12 +15,6 @@
namespace blink {
-struct PushEventInit : public ExtendableEventInit {
- PushEventInit();
-
- Member<PushMessageData> data;
-};
-
class PushEvent final : public ExtendableEvent {
DEFINE_WRAPPERTYPEINFO();
public:
« no previous file with comments | « Source/modules/notifications/NotificationEventInit.idl ('k') | Source/modules/push_messaging/PushEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698