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

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

Issue 2466513002: Deprecate ServiceWorkerMessageEvent in favor of MessageEvent (Closed)
Patch Set: Remove ServiceWorkerMessageEvent codes; update layout tests Created 4 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: third_party/WebKit/Source/core/events/EventTarget.h
diff --git a/third_party/WebKit/Source/core/events/EventTarget.h b/third_party/WebKit/Source/core/events/EventTarget.h
index 1e2272902f96e60557278406e5f512c378ee0244..15937e3a6b44197e3d0c3f9bbcb7ff941421ec4c 100644
--- a/third_party/WebKit/Source/core/events/EventTarget.h
+++ b/third_party/WebKit/Source/core/events/EventTarget.h
@@ -56,6 +56,7 @@ class LocalDOMWindow;
class ExceptionState;
class MessagePort;
class Node;
+class ServiceWorker;
struct FiringEventIterator {
DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
@@ -118,6 +119,7 @@ class CORE_EXPORT EventTarget : public GarbageCollectedFinalized<EventTarget>,
virtual const LocalDOMWindow* toLocalDOMWindow() const;
virtual LocalDOMWindow* toLocalDOMWindow();
virtual MessagePort* toMessagePort();
+ virtual ServiceWorker* toServiceWorker();
bool addEventListener(const AtomicString& eventType,
EventListener*,

Powered by Google App Engine
This is Rietveld 408576698