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_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 | 235 |
236 // The channel from the renderer process to the GPU process. | 236 // The channel from the renderer process to the GPU process. |
237 scoped_refptr<GpuChannelHost> gpu_channel_; | 237 scoped_refptr<GpuChannelHost> gpu_channel_; |
238 | 238 |
239 // A lazily initiated thread on which file operations are run. | 239 // A lazily initiated thread on which file operations are run. |
240 scoped_ptr<base::Thread> file_thread_; | 240 scoped_ptr<base::Thread> file_thread_; |
241 | 241 |
242 // Map of registered v8 extensions. The key is the extension name. | 242 // Map of registered v8 extensions. The key is the extension name. |
243 std::set<std::string> v8_extensions_; | 243 std::set<std::string> v8_extensions_; |
244 | 244 |
| 245 bool compositor_initialized_; |
245 scoped_ptr<CompositorThread> compositor_thread_; | 246 scoped_ptr<CompositorThread> compositor_thread_; |
246 | 247 |
247 ObserverList<content::RenderProcessObserver> observers_; | 248 ObserverList<content::RenderProcessObserver> observers_; |
248 | 249 |
249 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 250 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
250 }; | 251 }; |
251 | 252 |
252 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 253 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |