OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 1380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1391 // Allow this to be set when invoking the browser and relayed along. | 1391 // Allow this to be set when invoking the browser and relayed along. |
1392 switches::kEnableSandboxLogging, | 1392 switches::kEnableSandboxLogging, |
1393 #endif | 1393 #endif |
1394 #if defined(OS_WIN) | 1394 #if defined(OS_WIN) |
1395 switches::kDisableDirectWrite, | 1395 switches::kDisableDirectWrite, |
1396 switches::kDisableWin32kRendererLockDown, | 1396 switches::kDisableWin32kRendererLockDown, |
1397 switches::kTraceExportEventsToETW, | 1397 switches::kTraceExportEventsToETW, |
1398 #endif | 1398 #endif |
1399 #if defined(USE_OZONE) | 1399 #if defined(USE_OZONE) |
1400 switches::kOzonePlatform, | 1400 switches::kOzonePlatform, |
| 1401 switches::kOzoneUseIntelDrm, |
1401 #endif | 1402 #endif |
1402 #if defined(OS_CHROMEOS) | 1403 #if defined(OS_CHROMEOS) |
1403 switches::kDisableVaapiAcceleratedVideoEncode, | 1404 switches::kDisableVaapiAcceleratedVideoEncode, |
1404 #endif | 1405 #endif |
1405 }; | 1406 }; |
1406 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, | 1407 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, |
1407 arraysize(kSwitchNames)); | 1408 arraysize(kSwitchNames)); |
1408 | 1409 |
1409 if (browser_cmd.HasSwitch(switches::kTraceStartup) && | 1410 if (browser_cmd.HasSwitch(switches::kTraceStartup) && |
1410 BrowserMainLoop::GetInstance()->is_tracing_startup()) { | 1411 BrowserMainLoop::GetInstance()->is_tracing_startup()) { |
(...skipping 1112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2523 void RenderProcessHostImpl::GetAudioOutputControllers( | 2524 void RenderProcessHostImpl::GetAudioOutputControllers( |
2524 const GetAudioOutputControllersCallback& callback) const { | 2525 const GetAudioOutputControllersCallback& callback) const { |
2525 audio_renderer_host()->GetOutputControllers(callback); | 2526 audio_renderer_host()->GetOutputControllers(callback); |
2526 } | 2527 } |
2527 | 2528 |
2528 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { | 2529 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { |
2529 return bluetooth_dispatcher_host_.get(); | 2530 return bluetooth_dispatcher_host_.get(); |
2530 } | 2531 } |
2531 | 2532 |
2532 } // namespace content | 2533 } // namespace content |
OLD | NEW |