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

Unified Diff: Source/modules/serviceworkers/ServiceWorkerContainer.h

Issue 1130113006: ServiceWorker: Introduce ServiceWorkerMessageEvent to replace MessageEvent (3/3). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: remove custom bindings Created 5 years, 7 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/serviceworkers/ServiceWorkerContainer.h
diff --git a/Source/modules/serviceworkers/ServiceWorkerContainer.h b/Source/modules/serviceworkers/ServiceWorkerContainer.h
index 8ec0ccbeec24e1736023f1511a4b8674b9fc8b63..b1c7c8f63ad6069cb163ca8849763ade43ac919c 100644
--- a/Source/modules/serviceworkers/ServiceWorkerContainer.h
+++ b/Source/modules/serviceworkers/ServiceWorkerContainer.h
@@ -77,13 +77,14 @@ public:
// WebServiceWorkerProviderClient overrides.
virtual void setController(WebServiceWorker*, bool shouldNotifyControllerChange) override;
- virtual void dispatchMessageEvent(const WebString& message, const WebMessagePortChannelArray&) override;
+ virtual void dispatchMessageEvent(WebServiceWorker*, const WebString& message, const WebMessagePortChannelArray&) override;
// EventTarget overrides.
virtual ExecutionContext* executionContext() const override { return ContextLifecycleObserver::executionContext(); }
virtual const AtomicString& interfaceName() const override;
DEFINE_ATTRIBUTE_EVENT_LISTENER(controllerchange);
+ DEFINE_ATTRIBUTE_EVENT_LISTENER(message);
private:
explicit ServiceWorkerContainer(ExecutionContext*);

Powered by Google App Engine
This is Rietveld 408576698