| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WEBKIT_GLUE_WEBWORKER_IMPL_H_ | 5 #ifndef WEBKIT_GLUE_WEBWORKER_IMPL_H_ |
| 6 #define WEBKIT_GLUE_WEBWORKER_IMPL_H_ | 6 #define WEBKIT_GLUE_WEBWORKER_IMPL_H_ |
| 7 | 7 |
| 8 #include "webkit/api/public/WebWorker.h" | 8 #include "webkit/api/public/WebWorker.h" |
| 9 | 9 |
| 10 #if ENABLE(WORKERS) | 10 #if ENABLE(WORKERS) |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 bool has_pending_activity); | 112 bool has_pending_activity); |
| 113 static void WorkerContextDestroyedTask( | 113 static void WorkerContextDestroyedTask( |
| 114 WebCore::ScriptExecutionContext* context, | 114 WebCore::ScriptExecutionContext* context, |
| 115 WebWorkerImpl* this_ptr); | 115 WebWorkerImpl* this_ptr); |
| 116 | 116 |
| 117 WebKit::WebWorkerClient* client_; | 117 WebKit::WebWorkerClient* client_; |
| 118 | 118 |
| 119 // 'shadow page' - created to proxy loading requests from the worker. | 119 // 'shadow page' - created to proxy loading requests from the worker. |
| 120 WTF::RefPtr<WebCore::ScriptExecutionContext> loading_document_; | 120 WTF::RefPtr<WebCore::ScriptExecutionContext> loading_document_; |
| 121 WebView* web_view_; | 121 WebView* web_view_; |
| 122 bool asked_to_terminate_; |
| 122 | 123 |
| 123 WTF::RefPtr<WebCore::WorkerThread> worker_thread_; | 124 WTF::RefPtr<WebCore::WorkerThread> worker_thread_; |
| 124 | 125 |
| 125 DISALLOW_COPY_AND_ASSIGN(WebWorkerImpl); | 126 DISALLOW_COPY_AND_ASSIGN(WebWorkerImpl); |
| 126 }; | 127 }; |
| 127 | 128 |
| 128 #endif | 129 #endif |
| 129 | 130 |
| 130 #endif // WEBKIT_GLUE_WEBWORKER_IMPL_H_ | 131 #endif // WEBKIT_GLUE_WEBWORKER_IMPL_H_ |
| OLD | NEW |