| 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 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 // AudioRendererMixerManager instance which manages renderer side mixer | 361 // AudioRendererMixerManager instance which manages renderer side mixer |
| 362 // instances shared based on configured audio parameters. Lazily created on | 362 // instances shared based on configured audio parameters. Lazily created on |
| 363 // first call. | 363 // first call. |
| 364 AudioRendererMixerManager* GetAudioRendererMixerManager(); | 364 AudioRendererMixerManager* GetAudioRendererMixerManager(); |
| 365 | 365 |
| 366 // AudioHardwareConfig contains audio hardware configuration for | 366 // AudioHardwareConfig contains audio hardware configuration for |
| 367 // renderer side clients. Creation requires a synchronous IPC call so it is | 367 // renderer side clients. Creation requires a synchronous IPC call so it is |
| 368 // lazily created on the first call. | 368 // lazily created on the first call. |
| 369 media::AudioHardwareConfig* GetAudioHardwareConfig(); | 369 media::AudioHardwareConfig* GetAudioHardwareConfig(); |
| 370 | 370 |
| 371 #if defined(OS_WIN) | |
| 372 void PreCacheFontCharacters(const LOGFONT& log_font, | |
| 373 const base::string16& str); | |
| 374 #endif | |
| 375 | |
| 376 #if defined(ENABLE_WEBRTC) | 371 #if defined(ENABLE_WEBRTC) |
| 377 WebRTCIdentityService* get_webrtc_identity_service() { | 372 WebRTCIdentityService* get_webrtc_identity_service() { |
| 378 return webrtc_identity_service_.get(); | 373 return webrtc_identity_service_.get(); |
| 379 } | 374 } |
| 380 #endif | 375 #endif |
| 381 | 376 |
| 382 // For producing custom V8 histograms. Custom histograms are produced if all | 377 // For producing custom V8 histograms. Custom histograms are produced if all |
| 383 // RenderViews share the same host, and the host is in the pre-specified set | 378 // RenderViews share the same host, and the host is in the pre-specified set |
| 384 // of hosts we want to produce custom diagrams for. The name for a custom | 379 // of hosts we want to produce custom diagrams for. The name for a custom |
| 385 // diagram is the name of the corresponding generic diagram plus a | 380 // diagram is the name of the corresponding generic diagram plus a |
| (...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 710 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 705 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 711 }; | 706 }; |
| 712 | 707 |
| 713 #if defined(COMPILER_MSVC) | 708 #if defined(COMPILER_MSVC) |
| 714 #pragma warning(pop) | 709 #pragma warning(pop) |
| 715 #endif | 710 #endif |
| 716 | 711 |
| 717 } // namespace content | 712 } // namespace content |
| 718 | 713 |
| 719 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 714 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |