OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CONTENT_RENDERER_RENDER_THREAD_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_H_ |
6 #define CONTENT_RENDERER_RENDER_THREAD_H_ | 6 #define CONTENT_RENDERER_RENDER_THREAD_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 class MessageLoopProxy; | 49 class MessageLoopProxy; |
50 class Thread; | 50 class Thread; |
51 } | 51 } |
52 | 52 |
53 namespace IPC { | 53 namespace IPC { |
54 struct ChannelHandle; | 54 struct ChannelHandle; |
55 } | 55 } |
56 | 56 |
57 namespace WebKit { | 57 namespace WebKit { |
58 class WebStorageEventDispatcher; | 58 class WebStorageEventDispatcher; |
| 59 class WebThread; |
59 } | 60 } |
60 | 61 |
61 namespace v8 { | 62 namespace v8 { |
62 class Extension; | 63 class Extension; |
63 } | 64 } |
64 | 65 |
65 // The RenderThreadBase is the minimal interface that a RenderView/Widget | 66 // The RenderThreadBase is the minimal interface that a RenderView/Widget |
66 // expects from a render thread. The interface basically abstracts a way to send | 67 // expects from a render thread. The interface basically abstracts a way to send |
67 // and receive messages. | 68 // and receive messages. |
68 // | 69 // |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 | 270 |
270 // The channel from the renderer process to the GPU process. | 271 // The channel from the renderer process to the GPU process. |
271 scoped_refptr<GpuChannelHost> gpu_channel_; | 272 scoped_refptr<GpuChannelHost> gpu_channel_; |
272 | 273 |
273 // A lazily initiated thread on which file operations are run. | 274 // A lazily initiated thread on which file operations are run. |
274 scoped_ptr<base::Thread> file_thread_; | 275 scoped_ptr<base::Thread> file_thread_; |
275 | 276 |
276 // Map of registered v8 extensions. The key is the extension name. | 277 // Map of registered v8 extensions. The key is the extension name. |
277 std::set<std::string> v8_extensions_; | 278 std::set<std::string> v8_extensions_; |
278 | 279 |
| 280 scoped_ptr<WebKit::WebThread> compositor_thread_; |
| 281 |
279 ObserverList<RenderProcessObserver> observers_; | 282 ObserverList<RenderProcessObserver> observers_; |
280 | 283 |
281 DISALLOW_COPY_AND_ASSIGN(RenderThread); | 284 DISALLOW_COPY_AND_ASSIGN(RenderThread); |
282 }; | 285 }; |
283 | 286 |
284 #endif // CONTENT_RENDERER_RENDER_THREAD_H_ | 287 #endif // CONTENT_RENDERER_RENDER_THREAD_H_ |
OLD | NEW |