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 13 matching lines...) Expand all Loading... |
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
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 "CrossThreadTask.h" | |
35 #include "DatabaseTask.h" | 34 #include "DatabaseTask.h" |
36 #include "Document.h" | |
37 #include "MessageEvent.h" | |
38 #include "MessagePortChannel.h" | |
39 #include "PlatformMessagePortChannelChromium.h" | |
40 #include "ScriptExecutionContext.h" | |
41 #include "SharedWorkerContext.h" | 35 #include "SharedWorkerContext.h" |
42 #include "SharedWorkerThread.h" | 36 #include "SharedWorkerThread.h" |
43 #include "WebDataSourceImpl.h" | 37 #include "WebDataSourceImpl.h" |
44 #include "WebFrameClient.h" | 38 #include "WebFrameClient.h" |
45 #include "WebFrameImpl.h" | 39 #include "WebFrameImpl.h" |
46 #include "WebRuntimeFeatures.h" | 40 #include "WebRuntimeFeatures.h" |
47 #include "WebSettings.h" | 41 #include "WebSettings.h" |
48 #include "WebSharedWorkerClient.h" | 42 #include "WebSharedWorkerClient.h" |
49 #include "WebView.h" | 43 #include "WebView.h" |
50 #include "WorkerContext.h" | 44 #include "WorkerContext.h" |
51 #include "WorkerDebuggerAgent.h" | 45 #include "WorkerDebuggerAgent.h" |
52 #include "WorkerInspectorController.h" | 46 #include "WorkerInspectorController.h" |
53 #include "WorkerLoaderProxy.h" | 47 #include "WorkerLoaderProxy.h" |
54 #include "WorkerThread.h" | 48 #include "WorkerThread.h" |
| 49 #include "core/dom/CrossThreadTask.h" |
| 50 #include "core/dom/Document.h" |
| 51 #include "core/dom/MessageEvent.h" |
| 52 #include "core/dom/MessagePortChannel.h" |
| 53 #include "core/dom/ScriptExecutionContext.h" |
| 54 #include "core/dom/default/chromium/PlatformMessagePortChannelChromium.h" |
55 #include "core/loader/FrameLoadRequest.h" | 55 #include "core/loader/FrameLoadRequest.h" |
56 #include "core/loader/FrameLoader.h" | 56 #include "core/loader/FrameLoader.h" |
57 #include "core/page/GroupSettings.h" | 57 #include "core/page/GroupSettings.h" |
58 #include "core/page/Page.h" | 58 #include "core/page/Page.h" |
59 #include "core/page/PageGroup.h" | 59 #include "core/page/PageGroup.h" |
60 #include "core/page/SecurityOrigin.h" | 60 #include "core/page/SecurityOrigin.h" |
61 #include "core/platform/KURL.h" | 61 #include "core/platform/KURL.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> |
(...skipping 388 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 |