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 20 matching lines...) Expand all Loading... |
31 #include "config.h" | 31 #include "config.h" |
32 #include "WebWorkerClientImpl.h" | 32 #include "WebWorkerClientImpl.h" |
33 | 33 |
34 #include "DatabaseClientImpl.h" | 34 #include "DatabaseClientImpl.h" |
35 #include "LocalFileSystemClient.h" | 35 #include "LocalFileSystemClient.h" |
36 #include "WebFrameImpl.h" | 36 #include "WebFrameImpl.h" |
37 #include "WebPermissionClient.h" | 37 #include "WebPermissionClient.h" |
38 #include "WebViewImpl.h" | 38 #include "WebViewImpl.h" |
39 #include "WorkerPermissionClient.h" | 39 #include "WorkerPermissionClient.h" |
40 #include "core/dom/Document.h" | 40 #include "core/dom/Document.h" |
41 #include "core/dom/ExecutionContext.h" | |
42 #include "core/inspector/ScriptCallStack.h" | 41 #include "core/inspector/ScriptCallStack.h" |
43 #include "core/workers/Worker.h" | 42 #include "core/workers/Worker.h" |
44 #include "core/workers/WorkerClients.h" | 43 #include "core/workers/WorkerClients.h" |
45 #include "core/workers/WorkerMessagingProxy.h" | |
46 #include "public/platform/WebString.h" | 44 #include "public/platform/WebString.h" |
47 #include "public/web/WebFrameClient.h" | 45 #include "public/web/WebFrameClient.h" |
48 #include "public/web/WebSecurityOrigin.h" | 46 #include "public/web/WebSecurityOrigin.h" |
49 #include "public/web/WebWorkerPermissionClientProxy.h" | 47 #include "public/web/WebWorkerPermissionClientProxy.h" |
50 #include "wtf/OwnPtr.h" | |
51 #include "wtf/Threading.h" | 48 #include "wtf/Threading.h" |
52 | 49 |
53 using namespace WebCore; | 50 using namespace WebCore; |
54 | 51 |
55 namespace blink { | 52 namespace blink { |
56 | 53 |
57 // Chromium-specific decorator of WorkerMessagingProxy. | 54 // Chromium-specific decorator of WorkerMessagingProxy. |
58 | 55 |
59 // static | 56 // static |
60 WorkerGlobalScopeProxy* WebWorkerClientImpl::createWorkerGlobalScopeProxy(Worker
* worker) | 57 WorkerGlobalScopeProxy* WebWorkerClientImpl::createWorkerGlobalScopeProxy(Worker
* worker) |
(...skipping 22 matching lines...) Expand all Loading... |
83 : WebCore::WorkerMessagingProxy(worker, workerClients) | 80 : WebCore::WorkerMessagingProxy(worker, workerClients) |
84 , m_webFrame(webFrame) | 81 , m_webFrame(webFrame) |
85 { | 82 { |
86 } | 83 } |
87 | 84 |
88 WebWorkerClientImpl::~WebWorkerClientImpl() | 85 WebWorkerClientImpl::~WebWorkerClientImpl() |
89 { | 86 { |
90 } | 87 } |
91 | 88 |
92 } // namespace blink | 89 } // namespace blink |
OLD | NEW |