diff options
Diffstat (limited to 'chrome/worker/nativewebworker_impl.h')
-rw-r--r-- | chrome/worker/nativewebworker_impl.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/chrome/worker/nativewebworker_impl.h b/chrome/worker/nativewebworker_impl.h index c2be7fc..528c31d1 100644 --- a/chrome/worker/nativewebworker_impl.h +++ b/chrome/worker/nativewebworker_impl.h @@ -24,15 +24,15 @@ class NativeWebWorkerImpl : public WebKit::WebWorker { static WebWorker* create(WebKit::WebWorkerClient* client); // WebWorker implementation. - void startWorkerContext(const WebKit::WebURL& script_url, - const WebKit::WebString& user_agent, - const WebKit::WebString& source_code); - void terminateWorkerContext(); - void postMessageToWorkerContext( + virtual void startWorkerContext(const WebKit::WebURL& script_url, + const WebKit::WebString& user_agent, + const WebKit::WebString& source_code); + virtual void terminateWorkerContext(); + virtual void postMessageToWorkerContext( const WebKit::WebString& message, const WebKit::WebMessagePortChannelArray& channels); - void workerObjectDestroyed(); - void clientDestroyed(); + virtual void workerObjectDestroyed(); + virtual void clientDestroyed(); private: WebKit::WebWorkerClient* client_; |