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