| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 | 69 |
| 70 namespace gpu { | 70 namespace gpu { |
| 71 class GpuChannelHost; | 71 class GpuChannelHost; |
| 72 } | 72 } |
| 73 | 73 |
| 74 namespace IPC { | 74 namespace IPC { |
| 75 class MessageFilter; | 75 class MessageFilter; |
| 76 } | 76 } |
| 77 | 77 |
| 78 namespace media { | 78 namespace media { |
| 79 class AudioHardwareConfig; | |
| 80 class GpuVideoAcceleratorFactories; | 79 class GpuVideoAcceleratorFactories; |
| 81 } | 80 } |
| 82 | 81 |
| 83 namespace memory_coordinator { | 82 namespace memory_coordinator { |
| 84 class ChildMemoryCoordinatorImpl; | 83 class ChildMemoryCoordinatorImpl; |
| 85 } | 84 } |
| 86 | 85 |
| 87 namespace scheduler { | 86 namespace scheduler { |
| 88 class WebThreadBase; | 87 class WebThreadBase; |
| 89 } | 88 } |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 | 365 |
| 367 media::GpuVideoAcceleratorFactories* GetGpuFactories(); | 366 media::GpuVideoAcceleratorFactories* GetGpuFactories(); |
| 368 | 367 |
| 369 scoped_refptr<ContextProviderCommandBuffer> SharedMainThreadContextProvider(); | 368 scoped_refptr<ContextProviderCommandBuffer> SharedMainThreadContextProvider(); |
| 370 | 369 |
| 371 // AudioRendererMixerManager instance which manages renderer side mixer | 370 // AudioRendererMixerManager instance which manages renderer side mixer |
| 372 // instances shared based on configured audio parameters. Lazily created on | 371 // instances shared based on configured audio parameters. Lazily created on |
| 373 // first call. | 372 // first call. |
| 374 AudioRendererMixerManager* GetAudioRendererMixerManager(); | 373 AudioRendererMixerManager* GetAudioRendererMixerManager(); |
| 375 | 374 |
| 376 // AudioHardwareConfig contains audio hardware configuration for | |
| 377 // renderer side clients. Creation requires a synchronous IPC call so it is | |
| 378 // lazily created on the first call. | |
| 379 media::AudioHardwareConfig* GetAudioHardwareConfig(); | |
| 380 | |
| 381 #if defined(OS_WIN) | 375 #if defined(OS_WIN) |
| 382 void PreCacheFontCharacters(const LOGFONT& log_font, | 376 void PreCacheFontCharacters(const LOGFONT& log_font, |
| 383 const base::string16& str); | 377 const base::string16& str); |
| 384 #endif | 378 #endif |
| 385 | 379 |
| 386 // For producing custom V8 histograms. Custom histograms are produced if all | 380 // For producing custom V8 histograms. Custom histograms are produced if all |
| 387 // RenderViews share the same host, and the host is in the pre-specified set | 381 // RenderViews share the same host, and the host is in the pre-specified set |
| 388 // of hosts we want to produce custom diagrams for. The name for a custom | 382 // of hosts we want to produce custom diagrams for. The name for a custom |
| 389 // diagram is the name of the corresponding generic diagram plus a | 383 // diagram is the name of the corresponding generic diagram plus a |
| 390 // host-specific suffix. | 384 // host-specific suffix. |
| (...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 712 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 706 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 713 }; | 707 }; |
| 714 | 708 |
| 715 #if defined(COMPILER_MSVC) | 709 #if defined(COMPILER_MSVC) |
| 716 #pragma warning(pop) | 710 #pragma warning(pop) |
| 717 #endif | 711 #endif |
| 718 | 712 |
| 719 } // namespace content | 713 } // namespace content |
| 720 | 714 |
| 721 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 715 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |