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 // Represents the browser side of the browser <--> renderer communication | 5 // Represents the browser side of the browser <--> renderer communication |
6 // channel. There will be one RenderProcessHost per renderer process. | 6 // channel. There will be one RenderProcessHost per renderer process. |
7 | 7 |
8 #include "content/browser/renderer_host/render_process_host_impl.h" | 8 #include "content/browser/renderer_host/render_process_host_impl.h" |
9 | 9 |
10 #include <algorithm> | 10 #include <algorithm> |
(...skipping 1328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1339 switches::kDisableWebRTC, | 1339 switches::kDisableWebRTC, |
1340 switches::kMediaDrmEnableNonCompositing, | 1340 switches::kMediaDrmEnableNonCompositing, |
1341 switches::kNetworkCountryIso, | 1341 switches::kNetworkCountryIso, |
1342 switches::kDisableWebAudio, | 1342 switches::kDisableWebAudio, |
1343 switches::kRendererWaitForJavaDebugger, | 1343 switches::kRendererWaitForJavaDebugger, |
1344 #endif | 1344 #endif |
1345 #if defined(OS_MACOSX) | 1345 #if defined(OS_MACOSX) |
1346 // Allow this to be set when invoking the browser and relayed along. | 1346 // Allow this to be set when invoking the browser and relayed along. |
1347 switches::kEnableSandboxLogging, | 1347 switches::kEnableSandboxLogging, |
1348 #endif | 1348 #endif |
1349 #if defined(OS_MACOSX) && !defined(OS_IOS) | |
1350 switches::kDisableThreadedEventHandlingMac, | |
1351 #endif | |
1352 #if defined(OS_WIN) | 1349 #if defined(OS_WIN) |
1353 switches::kDisableDirectWrite, | 1350 switches::kDisableDirectWrite, |
1354 switches::kEnableWin32kRendererLockDown, | 1351 switches::kEnableWin32kRendererLockDown, |
1355 switches::kDisableWin32kRendererLockDown, | 1352 switches::kDisableWin32kRendererLockDown, |
1356 #endif | 1353 #endif |
1357 #if defined(OS_CHROMEOS) | 1354 #if defined(OS_CHROMEOS) |
1358 switches::kDisableVaapiAcceleratedVideoEncode, | 1355 switches::kDisableVaapiAcceleratedVideoEncode, |
1359 #endif | 1356 #endif |
1360 }; | 1357 }; |
1361 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, | 1358 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, |
(...skipping 1035 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2397 if (worker_ref_count_ == 0) | 2394 if (worker_ref_count_ == 0) |
2398 Cleanup(); | 2395 Cleanup(); |
2399 } | 2396 } |
2400 | 2397 |
2401 void RenderProcessHostImpl::GetAudioOutputControllers( | 2398 void RenderProcessHostImpl::GetAudioOutputControllers( |
2402 const GetAudioOutputControllersCallback& callback) const { | 2399 const GetAudioOutputControllersCallback& callback) const { |
2403 audio_renderer_host()->GetOutputControllers(callback); | 2400 audio_renderer_host()->GetOutputControllers(callback); |
2404 } | 2401 } |
2405 | 2402 |
2406 } // namespace content | 2403 } // namespace content |
OLD | NEW |