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

Unified Diff: Source/core/workers/Worker.h

Issue 17236004: Update AbstractWorker, Worker and SharedWorker to match the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Move back ActiveDOMObject to AbstractWorker.h Created 7 years, 6 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
« no previous file with comments | « Source/core/workers/SharedWorker.idl ('k') | Source/core/workers/Worker.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/workers/Worker.h
diff --git a/Source/core/workers/Worker.h b/Source/core/workers/Worker.h
index 64100b03c40ee3018ee3b37e38a9f24882e76d8e..9b08a98d52484dd5e50883229d7c76dd5ea9f2ce 100644
--- a/Source/core/workers/Worker.h
+++ b/Source/core/workers/Worker.h
@@ -47,7 +47,7 @@ namespace WebCore {
typedef int ExceptionCode;
- class Worker : public AbstractWorker, private WorkerScriptLoaderClient {
+ class Worker : public AbstractWorker, public ScriptWrappable, private WorkerScriptLoaderClient {
public:
static PassRefPtr<Worker> create(ScriptExecutionContext*, const String& url, ExceptionCode&);
virtual ~Worker();
@@ -61,7 +61,7 @@ namespace WebCore {
virtual bool canSuspend() const OVERRIDE;
virtual void stop() OVERRIDE;
virtual bool hasPendingActivity() const OVERRIDE;
-
+
DEFINE_ATTRIBUTE_EVENT_LISTENER(message);
private:
« no previous file with comments | « Source/core/workers/SharedWorker.idl ('k') | Source/core/workers/Worker.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698