summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webworker_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/webworker_impl.h')
-rw-r--r--webkit/glue/webworker_impl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/webkit/glue/webworker_impl.h b/webkit/glue/webworker_impl.h
index 8c87d48..db12c09 100644
--- a/webkit/glue/webworker_impl.h
+++ b/webkit/glue/webworker_impl.h
@@ -19,6 +19,8 @@ class Strng;
class WorkerThread;
};
+class WebView;
+
// This class is used by the worker process code to talk to the WebCore::Worker
// implementation. It can't use it directly since it uses WebKit types, so this
// class converts the data types. When the WebCore::Worker object wants to call
@@ -113,6 +115,11 @@ class WebWorkerImpl: public WebCore::WorkerObjectProxy,
WebWorkerImpl* this_ptr);
WebKit::WebWorkerClient* client_;
+
+ // 'shadow page' - created to proxy loading requests from the worker.
+ WTF::RefPtr<WebCore::ScriptExecutionContext> loading_document_;
+ WebView* web_view_;
+
WTF::RefPtr<WebCore::WorkerThread> worker_thread_;
DISALLOW_COPY_AND_ASSIGN(WebWorkerImpl);