| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #include "config.h" | 31 #include "config.h" |
| 32 #include "WebSharedWorkerImpl.h" | 32 #include "WebSharedWorkerImpl.h" |
| 33 | 33 |
| 34 #include "DatabaseTask.h" | 34 #include "DatabaseTask.h" |
| 35 #include "SharedWorkerContext.h" | |
| 36 #include "SharedWorkerThread.h" | |
| 37 #include "WebDataSourceImpl.h" | 35 #include "WebDataSourceImpl.h" |
| 38 #include "WebFrameClient.h" | 36 #include "WebFrameClient.h" |
| 39 #include "WebFrameImpl.h" | 37 #include "WebFrameImpl.h" |
| 40 #include "WebRuntimeFeatures.h" | 38 #include "WebRuntimeFeatures.h" |
| 41 #include "WebSettings.h" | 39 #include "WebSettings.h" |
| 42 #include "WebSharedWorkerClient.h" | 40 #include "WebSharedWorkerClient.h" |
| 43 #include "WebView.h" | 41 #include "WebView.h" |
| 44 #include "WorkerContext.h" | |
| 45 #include "WorkerDebuggerAgent.h" | 42 #include "WorkerDebuggerAgent.h" |
| 46 #include "WorkerInspectorController.h" | 43 #include "WorkerInspectorController.h" |
| 47 #include "WorkerLoaderProxy.h" | |
| 48 #include "WorkerThread.h" | |
| 49 #include "core/dom/CrossThreadTask.h" | 44 #include "core/dom/CrossThreadTask.h" |
| 50 #include "core/dom/Document.h" | 45 #include "core/dom/Document.h" |
| 51 #include "core/dom/MessageEvent.h" | 46 #include "core/dom/MessageEvent.h" |
| 52 #include "core/dom/MessagePortChannel.h" | 47 #include "core/dom/MessagePortChannel.h" |
| 53 #include "core/dom/ScriptExecutionContext.h" | 48 #include "core/dom/ScriptExecutionContext.h" |
| 54 #include "core/dom/default/chromium/PlatformMessagePortChannelChromium.h" | 49 #include "core/dom/default/chromium/PlatformMessagePortChannelChromium.h" |
| 55 #include "core/loader/FrameLoadRequest.h" | 50 #include "core/loader/FrameLoadRequest.h" |
| 56 #include "core/loader/FrameLoader.h" | 51 #include "core/loader/FrameLoader.h" |
| 57 #include "core/page/GroupSettings.h" | 52 #include "core/page/GroupSettings.h" |
| 58 #include "core/page/Page.h" | 53 #include "core/page/Page.h" |
| 59 #include "core/page/PageGroup.h" | 54 #include "core/page/PageGroup.h" |
| 60 #include "core/page/SecurityOrigin.h" | 55 #include "core/page/SecurityOrigin.h" |
| 61 #include "core/platform/KURL.h" | 56 #include "core/platform/KURL.h" |
| 57 #include "core/workers/SharedWorkerContext.h" |
| 58 #include "core/workers/SharedWorkerThread.h" |
| 59 #include "core/workers/WorkerContext.h" |
| 60 #include "core/workers/WorkerLoaderProxy.h" |
| 61 #include "core/workers/WorkerThread.h" |
| 62 #include <public/WebFileError.h> | 62 #include <public/WebFileError.h> |
| 63 #include <public/WebMessagePortChannel.h> | 63 #include <public/WebMessagePortChannel.h> |
| 64 #include <public/WebString.h> | 64 #include <public/WebString.h> |
| 65 #include <public/WebURL.h> | 65 #include <public/WebURL.h> |
| 66 #include <wtf/MainThread.h> | 66 #include <wtf/MainThread.h> |
| 67 | 67 |
| 68 using namespace WebCore; | 68 using namespace WebCore; |
| 69 | 69 |
| 70 namespace WebKit { | 70 namespace WebKit { |
| 71 | 71 |
| (...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 453 workerThread()->runLoop().postTaskForMode(createCallbackTask(dispatchOnInspe
ctorBackendTask, String(message)), WorkerDebuggerAgent::debuggerTaskMode); | 453 workerThread()->runLoop().postTaskForMode(createCallbackTask(dispatchOnInspe
ctorBackendTask, String(message)), WorkerDebuggerAgent::debuggerTaskMode); |
| 454 WorkerDebuggerAgent::interruptAndDispatchInspectorCommands(workerThread()); | 454 WorkerDebuggerAgent::interruptAndDispatchInspectorCommands(workerThread()); |
| 455 } | 455 } |
| 456 | 456 |
| 457 WebSharedWorker* WebSharedWorker::create(WebSharedWorkerClient* client) | 457 WebSharedWorker* WebSharedWorker::create(WebSharedWorkerClient* client) |
| 458 { | 458 { |
| 459 return new WebSharedWorkerImpl(client); | 459 return new WebSharedWorkerImpl(client); |
| 460 } | 460 } |
| 461 | 461 |
| 462 } // namespace WebKit | 462 } // namespace WebKit |
| OLD | NEW |