| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 class SingleThreadTaskRunner; | 56 class SingleThreadTaskRunner; |
| 57 class Thread; | 57 class Thread; |
| 58 } | 58 } |
| 59 | 59 |
| 60 namespace cc { | 60 namespace cc { |
| 61 class ContextProvider; | 61 class ContextProvider; |
| 62 class ImageSerializationProcessor; | 62 class ImageSerializationProcessor; |
| 63 class TaskGraphRunner; | 63 class TaskGraphRunner; |
| 64 } | 64 } |
| 65 | 65 |
| 66 namespace cc_blink { | |
| 67 class ContextProviderWebContext; | |
| 68 } | |
| 69 | |
| 70 namespace gpu { | 66 namespace gpu { |
| 71 class GpuChannelHost; | 67 class GpuChannelHost; |
| 72 } | 68 } |
| 73 | 69 |
| 74 namespace IPC { | 70 namespace IPC { |
| 75 class MessageFilter; | 71 class MessageFilter; |
| 76 } | 72 } |
| 77 | 73 |
| 78 namespace media { | 74 namespace media { |
| 79 class AudioHardwareConfig; | 75 class AudioHardwareConfig; |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 // Returns a shared worker context provider that can be used on any thread. | 344 // Returns a shared worker context provider that can be used on any thread. |
| 349 scoped_refptr<ContextProviderCommandBuffer> SharedWorkerContextProvider(); | 345 scoped_refptr<ContextProviderCommandBuffer> SharedWorkerContextProvider(); |
| 350 | 346 |
| 351 // Causes the idle handler to skip sending idle notifications | 347 // Causes the idle handler to skip sending idle notifications |
| 352 // on the two next scheduled calls, so idle notifications are | 348 // on the two next scheduled calls, so idle notifications are |
| 353 // not sent for at least one notification delay. | 349 // not sent for at least one notification delay. |
| 354 void PostponeIdleNotification(); | 350 void PostponeIdleNotification(); |
| 355 | 351 |
| 356 media::GpuVideoAcceleratorFactories* GetGpuFactories(); | 352 media::GpuVideoAcceleratorFactories* GetGpuFactories(); |
| 357 | 353 |
| 358 scoped_refptr<cc_blink::ContextProviderWebContext> | 354 scoped_refptr<ContextProviderCommandBuffer> SharedMainThreadContextProvider(); |
| 359 SharedMainThreadContextProvider(); | |
| 360 | 355 |
| 361 // AudioRendererMixerManager instance which manages renderer side mixer | 356 // AudioRendererMixerManager instance which manages renderer side mixer |
| 362 // instances shared based on configured audio parameters. Lazily created on | 357 // instances shared based on configured audio parameters. Lazily created on |
| 363 // first call. | 358 // first call. |
| 364 AudioRendererMixerManager* GetAudioRendererMixerManager(); | 359 AudioRendererMixerManager* GetAudioRendererMixerManager(); |
| 365 | 360 |
| 366 // AudioHardwareConfig contains audio hardware configuration for | 361 // AudioHardwareConfig contains audio hardware configuration for |
| 367 // renderer side clients. Creation requires a synchronous IPC call so it is | 362 // renderer side clients. Creation requires a synchronous IPC call so it is |
| 368 // lazily created on the first call. | 363 // lazily created on the first call. |
| 369 media::AudioHardwareConfig* GetAudioHardwareConfig(); | 364 media::AudioHardwareConfig* GetAudioHardwareConfig(); |
| (...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 709 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 704 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 710 }; | 705 }; |
| 711 | 706 |
| 712 #if defined(COMPILER_MSVC) | 707 #if defined(COMPILER_MSVC) |
| 713 #pragma warning(pop) | 708 #pragma warning(pop) |
| 714 #endif | 709 #endif |
| 715 | 710 |
| 716 } // namespace content | 711 } // namespace content |
| 717 | 712 |
| 718 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 713 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |