| 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 17 matching lines...) Expand all Loading... |
| 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 "DatabaseClientImpl.h" | 34 #include "DatabaseClientImpl.h" |
| 35 #include "LocalFileSystemClient.h" | 35 #include "LocalFileSystemClient.h" |
| 36 #include "WebDataSourceImpl.h" | 36 #include "WebDataSourceImpl.h" |
| 37 #include "WebFrame.h" | 37 #include "WebFrame.h" |
| 38 #include "WebFrameClient.h" | |
| 39 #include "WebFrameImpl.h" | 38 #include "WebFrameImpl.h" |
| 40 #include "WebRuntimeFeatures.h" | 39 #include "WebRuntimeFeatures.h" |
| 41 #include "WebSettings.h" | 40 #include "WebSettings.h" |
| 42 #include "WebSharedWorkerClient.h" | |
| 43 #include "WebView.h" | 41 #include "WebView.h" |
| 44 #include "WorkerPermissionClient.h" | 42 #include "WorkerPermissionClient.h" |
| 45 #include "core/dom/CrossThreadTask.h" | 43 #include "core/dom/CrossThreadTask.h" |
| 46 #include "core/dom/Document.h" | 44 #include "core/dom/Document.h" |
| 47 #include "core/dom/ExecutionContext.h" | |
| 48 #include "core/dom/MessagePortChannel.h" | 45 #include "core/dom/MessagePortChannel.h" |
| 49 #include "core/events/MessageEvent.h" | 46 #include "core/events/MessageEvent.h" |
| 50 #include "core/html/HTMLFormElement.h" | 47 #include "core/html/HTMLFormElement.h" |
| 51 #include "core/inspector/WorkerDebuggerAgent.h" | 48 #include "core/inspector/WorkerDebuggerAgent.h" |
| 52 #include "core/inspector/WorkerInspectorController.h" | 49 #include "core/inspector/WorkerInspectorController.h" |
| 53 #include "core/loader/FrameLoadRequest.h" | 50 #include "core/loader/FrameLoadRequest.h" |
| 54 #include "core/loader/FrameLoader.h" | 51 #include "core/loader/FrameLoader.h" |
| 55 #include "core/page/Page.h" | 52 #include "core/page/Page.h" |
| 56 #include "core/page/PageGroup.h" | 53 #include "core/page/PageGroup.h" |
| 57 #include "core/workers/SharedWorkerGlobalScope.h" | 54 #include "core/workers/SharedWorkerGlobalScope.h" |
| 58 #include "core/workers/SharedWorkerThread.h" | 55 #include "core/workers/SharedWorkerThread.h" |
| 59 #include "core/workers/WorkerClients.h" | 56 #include "core/workers/WorkerClients.h" |
| 60 #include "core/workers/WorkerGlobalScope.h" | 57 #include "core/workers/WorkerGlobalScope.h" |
| 61 #include "core/workers/WorkerLoaderProxy.h" | |
| 62 #include "core/workers/WorkerThread.h" | |
| 63 #include "core/workers/WorkerThreadStartupData.h" | 58 #include "core/workers/WorkerThreadStartupData.h" |
| 64 #include "modules/webdatabase/DatabaseTask.h" | 59 #include "modules/webdatabase/DatabaseTask.h" |
| 65 #include "public/platform/WebFileError.h" | 60 #include "public/platform/WebFileError.h" |
| 66 #include "public/platform/WebMessagePortChannel.h" | 61 #include "public/platform/WebMessagePortChannel.h" |
| 67 #include "public/platform/WebString.h" | 62 #include "public/platform/WebString.h" |
| 68 #include "public/platform/WebURL.h" | 63 #include "public/platform/WebURL.h" |
| 69 #include "public/web/WebWorkerPermissionClientProxy.h" | 64 #include "public/web/WebWorkerPermissionClientProxy.h" |
| 70 #include "weborigin/KURL.h" | 65 #include "weborigin/KURL.h" |
| 71 #include "weborigin/SecurityOrigin.h" | 66 #include "weborigin/SecurityOrigin.h" |
| 72 #include "wtf/Functional.h" | 67 #include "wtf/Functional.h" |
| (...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 workerThread()->runLoop().postTaskForMode(createCallbackTask(dispatchOnInspe
ctorBackendTask, String(message)), WorkerDebuggerAgent::debuggerTaskMode); | 340 workerThread()->runLoop().postTaskForMode(createCallbackTask(dispatchOnInspe
ctorBackendTask, String(message)), WorkerDebuggerAgent::debuggerTaskMode); |
| 346 WorkerDebuggerAgent::interruptAndDispatchInspectorCommands(workerThread()); | 341 WorkerDebuggerAgent::interruptAndDispatchInspectorCommands(workerThread()); |
| 347 } | 342 } |
| 348 | 343 |
| 349 WebSharedWorker* WebSharedWorker::create(WebSharedWorkerClient* client) | 344 WebSharedWorker* WebSharedWorker::create(WebSharedWorkerClient* client) |
| 350 { | 345 { |
| 351 return new WebSharedWorkerImpl(client); | 346 return new WebSharedWorkerImpl(client); |
| 352 } | 347 } |
| 353 | 348 |
| 354 } // namespace blink | 349 } // namespace blink |
| OLD | NEW |