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

Unified Diff: third_party/WebKit/Source/core/events/EventTarget.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/EventTarget.h
diff --git a/third_party/WebKit/Source/core/events/EventTarget.h b/third_party/WebKit/Source/core/events/EventTarget.h
index 750880023432295da1966425c08f0e0f516c3cbe..6b77c11e6ed31818646a94f36c973757033a7652 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();
@@ -119,6 +120,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*,
« no previous file with comments | « third_party/WebKit/Source/bindings/modules/v8/generated.gni ('k') | third_party/WebKit/Source/core/events/EventTarget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698