Chromium Code Reviews| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 103 class NetInfoDispatcher; | 103 class NetInfoDispatcher; |
| 104 class P2PSocketDispatcher; | 104 class P2PSocketDispatcher; |
| 105 class PeerConnectionDependencyFactory; | 105 class PeerConnectionDependencyFactory; |
| 106 class PeerConnectionTracker; | 106 class PeerConnectionTracker; |
| 107 class RasterWorkerPool; | 107 class RasterWorkerPool; |
| 108 class RenderProcessObserver; | 108 class RenderProcessObserver; |
| 109 class RendererBlinkPlatformImpl; | 109 class RendererBlinkPlatformImpl; |
| 110 class RendererDemuxerAndroid; | 110 class RendererDemuxerAndroid; |
| 111 class RendererGpuVideoAcceleratorFactories; | 111 class RendererGpuVideoAcceleratorFactories; |
| 112 class ResourceDispatchThrottler; | 112 class ResourceDispatchThrottler; |
| 113 class StreamTextureFactory; | |
|
no sievers
2015/11/06 22:08:41
move this below inside a #if defined(OS_ANDROID) b
sivag
2015/11/09 14:06:32
Done.
| |
| 113 class V8SamplingProfiler; | 114 class V8SamplingProfiler; |
| 114 class VideoCaptureImplManager; | 115 class VideoCaptureImplManager; |
| 115 class WebGraphicsContext3DCommandBufferImpl; | 116 class WebGraphicsContext3DCommandBufferImpl; |
| 116 class WebRTCIdentityService; | 117 class WebRTCIdentityService; |
| 117 | 118 |
| 118 #if defined(COMPILER_MSVC) | 119 #if defined(COMPILER_MSVC) |
| 119 // See explanation for other RenderViewHostImpl which is the same issue. | 120 // See explanation for other RenderViewHostImpl which is the same issue. |
| 120 #pragma warning(push) | 121 #pragma warning(push) |
| 121 #pragma warning(disable: 4250) | 122 #pragma warning(disable: 4250) |
| 122 #endif | 123 #endif |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 331 | 332 |
| 332 // Causes the idle handler to skip sending idle notifications | 333 // Causes the idle handler to skip sending idle notifications |
| 333 // on the two next scheduled calls, so idle notifications are | 334 // on the two next scheduled calls, so idle notifications are |
| 334 // not sent for at least one notification delay. | 335 // not sent for at least one notification delay. |
| 335 void PostponeIdleNotification(); | 336 void PostponeIdleNotification(); |
| 336 | 337 |
| 337 media::GpuVideoAcceleratorFactories* GetGpuFactories(); | 338 media::GpuVideoAcceleratorFactories* GetGpuFactories(); |
| 338 | 339 |
| 339 scoped_refptr<cc_blink::ContextProviderWebContext> | 340 scoped_refptr<cc_blink::ContextProviderWebContext> |
| 340 SharedMainThreadContextProvider(); | 341 SharedMainThreadContextProvider(); |
| 342 #if defined(OS_ANDROID) | |
| 343 scoped_refptr<StreamTextureFactory> GetStreamTexureFactory(); | |
| 344 #endif | |
| 341 | 345 |
| 342 // AudioRendererMixerManager instance which manages renderer side mixer | 346 // AudioRendererMixerManager instance which manages renderer side mixer |
| 343 // instances shared based on configured audio parameters. Lazily created on | 347 // instances shared based on configured audio parameters. Lazily created on |
| 344 // first call. | 348 // first call. |
| 345 AudioRendererMixerManager* GetAudioRendererMixerManager(); | 349 AudioRendererMixerManager* GetAudioRendererMixerManager(); |
| 346 | 350 |
| 347 // AudioHardwareConfig contains audio hardware configuration for | 351 // AudioHardwareConfig contains audio hardware configuration for |
| 348 // renderer side clients. Creation requires a synchronous IPC call so it is | 352 // renderer side clients. Creation requires a synchronous IPC call so it is |
| 349 // lazily created on the first call. | 353 // lazily created on the first call. |
| 350 media::AudioHardwareConfig* GetAudioHardwareConfig(); | 354 media::AudioHardwareConfig* GetAudioHardwareConfig(); |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 619 scoped_ptr<base::MemoryPressureListener> memory_pressure_listener_; | 623 scoped_ptr<base::MemoryPressureListener> memory_pressure_listener_; |
| 620 | 624 |
| 621 #if defined(ENABLE_WEBRTC) | 625 #if defined(ENABLE_WEBRTC) |
| 622 scoped_ptr<WebRTCIdentityService> webrtc_identity_service_; | 626 scoped_ptr<WebRTCIdentityService> webrtc_identity_service_; |
| 623 #endif | 627 #endif |
| 624 | 628 |
| 625 scoped_ptr<MemoryObserver> memory_observer_; | 629 scoped_ptr<MemoryObserver> memory_observer_; |
| 626 | 630 |
| 627 scoped_refptr<base::SingleThreadTaskRunner> | 631 scoped_refptr<base::SingleThreadTaskRunner> |
| 628 main_thread_compositor_task_runner_; | 632 main_thread_compositor_task_runner_; |
| 633 #if defined(OS_ANDROID) | |
|
no sievers
2015/11/06 22:08:41
nit: newline before
sivag
2015/11/09 14:06:32
Done.
| |
| 634 scoped_refptr<StreamTextureFactory> stream_texture_factory_; | |
| 635 #endif | |
| 629 | 636 |
| 630 // Compositor settings. | 637 // Compositor settings. |
| 631 bool is_gpu_rasterization_enabled_; | 638 bool is_gpu_rasterization_enabled_; |
| 632 bool is_gpu_rasterization_forced_; | 639 bool is_gpu_rasterization_forced_; |
| 633 int gpu_rasterization_msaa_sample_count_; | 640 int gpu_rasterization_msaa_sample_count_; |
| 634 bool is_lcd_text_enabled_; | 641 bool is_lcd_text_enabled_; |
| 635 bool is_distance_field_text_enabled_; | 642 bool is_distance_field_text_enabled_; |
| 636 bool is_zero_copy_enabled_; | 643 bool is_zero_copy_enabled_; |
| 637 bool is_one_copy_enabled_; | 644 bool is_one_copy_enabled_; |
| 638 bool is_gpu_memory_buffer_compositor_resources_enabled_; | 645 bool is_gpu_memory_buffer_compositor_resources_enabled_; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 676 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 683 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 677 }; | 684 }; |
| 678 | 685 |
| 679 #if defined(COMPILER_MSVC) | 686 #if defined(COMPILER_MSVC) |
| 680 #pragma warning(pop) | 687 #pragma warning(pop) |
| 681 #endif | 688 #endif |
| 682 | 689 |
| 683 } // namespace content | 690 } // namespace content |
| 684 | 691 |
| 685 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 692 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |