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 CONTENT_RENDERER_WEBWORKER_PROXY_H_ |
6 #define CHROME_RENDERER_WEBWORKER_PROXY_H_ | 6 #define CONTENT_RENDERER_WEBWORKER_PROXY_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "chrome/renderer/webworker_base.h" | 12 #include "content/renderer/webworker_base.h" |
13 #include "ipc/ipc_channel.h" | 13 #include "ipc/ipc_channel.h" |
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebWorker.h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebWorker.h" |
15 | 15 |
16 class ChildThread; | 16 class ChildThread; |
17 class GURL; | 17 class GURL; |
18 class RenderView; | 18 class RenderView; |
19 struct WorkerHostMsg_PostConsoleMessageToWorkerObject_Params; | 19 struct WorkerHostMsg_PostConsoleMessageToWorkerObject_Params; |
20 | 20 |
21 // This class provides an implementation of WebWorker that the renderer provides | 21 // This class provides an implementation of WebWorker that the renderer provides |
22 // to the glue. This class converts function calls to IPC messages that are | 22 // to the glue. This class converts function calls to IPC messages that are |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 const WorkerHostMsg_PostConsoleMessageToWorkerObject_Params& params); | 56 const WorkerHostMsg_PostConsoleMessageToWorkerObject_Params& params); |
57 | 57 |
58 | 58 |
59 // Used to communicate to the WebCore::Worker object in response to IPC | 59 // Used to communicate to the WebCore::Worker object in response to IPC |
60 // messages. | 60 // messages. |
61 WebKit::WebWorkerClient* client_; | 61 WebKit::WebWorkerClient* client_; |
62 | 62 |
63 DISALLOW_COPY_AND_ASSIGN(WebWorkerProxy); | 63 DISALLOW_COPY_AND_ASSIGN(WebWorkerProxy); |
64 }; | 64 }; |
65 | 65 |
66 #endif // CHROME_RENDERER_WEBWORKER_PROXY_H_ | 66 #endif // CONTENT_RENDERER_WEBWORKER_PROXY_H_ |
OLD | NEW |