| 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 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 413 | 413 |
| 414 // Timer that periodically calls IdleHandler. | 414 // Timer that periodically calls IdleHandler. |
| 415 base::RepeatingTimer<RenderThreadImpl> idle_timer_; | 415 base::RepeatingTimer<RenderThreadImpl> idle_timer_; |
| 416 | 416 |
| 417 // The channel from the renderer process to the GPU process. | 417 // The channel from the renderer process to the GPU process. |
| 418 scoped_refptr<GpuChannelHost> gpu_channel_; | 418 scoped_refptr<GpuChannelHost> gpu_channel_; |
| 419 | 419 |
| 420 // A lazily initiated thread on which file operations are run. | 420 // A lazily initiated thread on which file operations are run. |
| 421 scoped_ptr<base::Thread> file_thread_; | 421 scoped_ptr<base::Thread> file_thread_; |
| 422 | 422 |
| 423 bool compositor_initialized_; | |
| 424 scoped_ptr<CompositorThread> compositor_thread_; | 423 scoped_ptr<CompositorThread> compositor_thread_; |
| 425 scoped_refptr<IPC::ForwardingMessageFilter> compositor_output_surface_filter_; | 424 scoped_refptr<IPC::ForwardingMessageFilter> compositor_output_surface_filter_; |
| 426 | 425 |
| 427 class RendererContextProviderCommandBuffer; | 426 class RendererContextProviderCommandBuffer; |
| 428 scoped_refptr<RendererContextProviderCommandBuffer> | 427 scoped_refptr<RendererContextProviderCommandBuffer> |
| 429 shared_contexts_main_thread_; | 428 shared_contexts_main_thread_; |
| 430 scoped_refptr<RendererContextProviderCommandBuffer> | 429 scoped_refptr<RendererContextProviderCommandBuffer> |
| 431 shared_contexts_compositor_thread_; | 430 shared_contexts_compositor_thread_; |
| 432 | 431 |
| 433 ObserverList<RenderProcessObserver> observers_; | 432 ObserverList<RenderProcessObserver> observers_; |
| 434 | 433 |
| 435 class GpuVDAContextLostCallback; | 434 class GpuVDAContextLostCallback; |
| 436 scoped_ptr<GpuVDAContextLostCallback> context_lost_cb_; | 435 scoped_ptr<GpuVDAContextLostCallback> context_lost_cb_; |
| 437 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> gpu_vda_context3d_; | 436 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> gpu_vda_context3d_; |
| 438 | 437 |
| 439 scoped_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; | 438 scoped_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_; |
| 440 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_; | 439 scoped_ptr<media::AudioHardwareConfig> audio_hardware_config_; |
| 441 | 440 |
| 442 HistogramCustomizer histogram_customizer_; | 441 HistogramCustomizer histogram_customizer_; |
| 443 | 442 |
| 444 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 443 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 445 }; | 444 }; |
| 446 | 445 |
| 447 } // namespace content | 446 } // namespace content |
| 448 | 447 |
| 449 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 448 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |