| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 namespace media { | 51 namespace media { |
| 52 class AudioHardwareConfig; | 52 class AudioHardwareConfig; |
| 53 } | 53 } |
| 54 | 54 |
| 55 namespace v8 { | 55 namespace v8 { |
| 56 class Extension; | 56 class Extension; |
| 57 } | 57 } |
| 58 | 58 |
| 59 namespace webkit { | 59 namespace webkit { |
| 60 namespace gpu { | 60 namespace gpu { |
| 61 class ContextProviderWebContext; |
| 61 class GrContextForWebGraphicsContext3D; | 62 class GrContextForWebGraphicsContext3D; |
| 62 } | 63 } |
| 63 } | 64 } |
| 64 | 65 |
| 65 namespace content { | 66 namespace content { |
| 66 | 67 |
| 67 class AppCacheDispatcher; | 68 class AppCacheDispatcher; |
| 68 class AudioInputMessageFilter; | 69 class AudioInputMessageFilter; |
| 69 class AudioMessageFilter; | 70 class AudioMessageFilter; |
| 70 class AudioRendererMixerManager; | 71 class AudioRendererMixerManager; |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 scoped_refptr<base::MessageLoopProxy> GetMediaThreadMessageLoopProxy(); | 256 scoped_refptr<base::MessageLoopProxy> GetMediaThreadMessageLoopProxy(); |
| 256 | 257 |
| 257 // Causes the idle handler to skip sending idle notifications | 258 // Causes the idle handler to skip sending idle notifications |
| 258 // on the two next scheduled calls, so idle notifications are | 259 // on the two next scheduled calls, so idle notifications are |
| 259 // not sent for at least one notification delay. | 260 // not sent for at least one notification delay. |
| 260 void PostponeIdleNotification(); | 261 void PostponeIdleNotification(); |
| 261 | 262 |
| 262 scoped_refptr<RendererGpuVideoAcceleratorFactories> GetGpuFactories(); | 263 scoped_refptr<RendererGpuVideoAcceleratorFactories> GetGpuFactories(); |
| 263 | 264 |
| 264 scoped_refptr<cc::ContextProvider> OffscreenCompositorContextProvider(); | 265 scoped_refptr<cc::ContextProvider> OffscreenCompositorContextProvider(); |
| 265 scoped_refptr<cc::ContextProvider> SharedMainThreadContextProvider(); | 266 scoped_refptr<webkit::gpu::ContextProviderWebContext> |
| 267 SharedMainThreadContextProvider(); |
| 266 | 268 |
| 267 // AudioRendererMixerManager instance which manages renderer side mixer | 269 // AudioRendererMixerManager instance which manages renderer side mixer |
| 268 // instances shared based on configured audio parameters. Lazily created on | 270 // instances shared based on configured audio parameters. Lazily created on |
| 269 // first call. | 271 // first call. |
| 270 AudioRendererMixerManager* GetAudioRendererMixerManager(); | 272 AudioRendererMixerManager* GetAudioRendererMixerManager(); |
| 271 | 273 |
| 272 // AudioHardwareConfig contains audio hardware configuration for | 274 // AudioHardwareConfig contains audio hardware configuration for |
| 273 // renderer side clients. Creation requires a synchronous IPC call so it is | 275 // renderer side clients. Creation requires a synchronous IPC call so it is |
| 274 // lazily created on the first call. | 276 // lazily created on the first call. |
| 275 media::AudioHardwareConfig* GetAudioHardwareConfig(); | 277 media::AudioHardwareConfig* GetAudioHardwareConfig(); |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 504 // multiple threads. Current allocation mechanism for IOSurface | 506 // multiple threads. Current allocation mechanism for IOSurface |
| 505 // backed GpuMemoryBuffers prevent this. crbug.com/325045 | 507 // backed GpuMemoryBuffers prevent this. crbug.com/325045 |
| 506 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; | 508 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; |
| 507 | 509 |
| 508 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 510 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 509 }; | 511 }; |
| 510 | 512 |
| 511 } // namespace content | 513 } // namespace content |
| 512 | 514 |
| 513 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 515 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |