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

Unified Diff: third_party/WebKit/Source/core/events/MessageEvent.h

Issue 2466513002: Deprecate ServiceWorkerMessageEvent in favor of MessageEvent (Closed)
Patch Set: Rebase and update cross-origin-objects-exceptions-expected.txt Created 4 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
Index: third_party/WebKit/Source/core/events/MessageEvent.h
diff --git a/third_party/WebKit/Source/core/events/MessageEvent.h b/third_party/WebKit/Source/core/events/MessageEvent.h
index b7fb883fd26e9b11cde1963d1ad62a21d3d8cbb7..de9700cad4736d7469e5329e054ad8e88cbec5e2 100644
--- a/third_party/WebKit/Source/core/events/MessageEvent.h
+++ b/third_party/WebKit/Source/core/events/MessageEvent.h
@@ -37,7 +37,6 @@
#include "core/events/EventTarget.h"
#include "core/events/MessageEventInit.h"
#include "core/fileapi/Blob.h"
-#include "core/frame/DOMWindow.h"
#include "wtf/Compiler.h"
#include <memory>
@@ -99,7 +98,7 @@ class CORE_EXPORT MessageEvent final : public Event {
ScriptValue data,
const String& origin,
const String& lastEventId,
- DOMWindow* source,
+ EventTarget* source,
MessagePortArray*);
void initMessageEvent(const AtomicString& type,
bool canBubble,
@@ -107,7 +106,7 @@ class CORE_EXPORT MessageEvent final : public Event {
PassRefPtr<SerializedScriptValue> data,
const String& origin,
const String& lastEventId,
- DOMWindow* source,
+ EventTarget* source,
MessagePortArray*);
const String& origin() const { return m_origin; }
« no previous file with comments | « third_party/WebKit/Source/core/events/EventTarget.cpp ('k') | third_party/WebKit/Source/core/events/MessageEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698