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 CHROME_RENDERER_WEBWORKER_PROXY_H_ | 5 #ifndef CHROME_RENDERER_WEBWORKER_PROXY_H_ |
6 #define CHROME_RENDERER_WEBWORKER_PROXY_H_ | 6 #define CHROME_RENDERER_WEBWORKER_PROXY_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "chrome/renderer/webworker_base.h" | 11 #include "chrome/renderer/webworker_base.h" |
12 #include "ipc/ipc_channel.h" | 12 #include "ipc/ipc_channel.h" |
13 #include "webkit/api/public/WebWorker.h" | 13 #include "third_party/WebKit/WebKit/chromium/public/WebWorker.h" |
14 | 14 |
15 class ChildThread; | 15 class ChildThread; |
16 class GURL; | 16 class GURL; |
17 class RenderView; | 17 class RenderView; |
18 struct WorkerHostMsg_PostConsoleMessageToWorkerObject_Params; | 18 struct WorkerHostMsg_PostConsoleMessageToWorkerObject_Params; |
19 | 19 |
20 // This class provides an implementation of WebWorker that the renderer provides | 20 // This class provides an implementation of WebWorker that the renderer provides |
21 // to the glue. This class converts function calls to IPC messages that are | 21 // to the glue. This class converts function calls to IPC messages that are |
22 // dispatched in the worker process by WebWorkerClientProxy. It also receives | 22 // dispatched in the worker process by WebWorkerClientProxy. It also receives |
23 // IPC messages from WebWorkerClientProxy which it converts to function calls to | 23 // IPC messages from WebWorkerClientProxy which it converts to function calls to |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 55 |
56 | 56 |
57 // Used to communicate to the WebCore::Worker object in response to IPC | 57 // Used to communicate to the WebCore::Worker object in response to IPC |
58 // messages. | 58 // messages. |
59 WebKit::WebWorkerClient* client_; | 59 WebKit::WebWorkerClient* client_; |
60 | 60 |
61 DISALLOW_COPY_AND_ASSIGN(WebWorkerProxy); | 61 DISALLOW_COPY_AND_ASSIGN(WebWorkerProxy); |
62 }; | 62 }; |
63 | 63 |
64 #endif // CHROME_RENDERER_WEBWORKER_PROXY_H_ | 64 #endif // CHROME_RENDERER_WEBWORKER_PROXY_H_ |
OLD | NEW |