OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 | 385 |
386 // Timer that periodically calls IdleHandler. | 386 // Timer that periodically calls IdleHandler. |
387 base::RepeatingTimer<RenderThreadImpl> idle_timer_; | 387 base::RepeatingTimer<RenderThreadImpl> idle_timer_; |
388 | 388 |
389 // The channel from the renderer process to the GPU process. | 389 // The channel from the renderer process to the GPU process. |
390 scoped_refptr<GpuChannelHost> gpu_channel_; | 390 scoped_refptr<GpuChannelHost> gpu_channel_; |
391 | 391 |
392 // A lazily initiated thread on which file operations are run. | 392 // A lazily initiated thread on which file operations are run. |
393 scoped_ptr<base::Thread> file_thread_; | 393 scoped_ptr<base::Thread> file_thread_; |
394 | 394 |
395 bool compositor_initialized_; | |
396 scoped_ptr<CompositorThread> compositor_thread_; | 395 scoped_ptr<CompositorThread> compositor_thread_; |
397 scoped_refptr<IPC::ForwardingMessageFilter> compositor_output_surface_filter_; | 396 scoped_refptr<IPC::ForwardingMessageFilter> compositor_output_surface_filter_; |
398 | 397 |
399 ObserverList<RenderProcessObserver> observers_; | 398 ObserverList<RenderProcessObserver> observers_; |
400 | 399 |
401 class GpuVDAContextLostCallback; | 400 class GpuVDAContextLostCallback; |
402 scoped_ptr<GpuVDAContextLostCallback> context_lost_cb_; | 401 scoped_ptr<GpuVDAContextLostCallback> context_lost_cb_; |
403 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> gpu_vda_context3d_; | 402 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> gpu_vda_context3d_; |
404 | 403 |
405 scoped_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; | 404 scoped_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; |
406 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_; | 405 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_; |
407 | 406 |
408 HistogramCustomizer histogram_customizer_; | 407 HistogramCustomizer histogram_customizer_; |
409 | 408 |
410 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 409 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
411 }; | 410 }; |
412 | 411 |
413 } // namespace content | 412 } // namespace content |
414 | 413 |
415 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 414 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |