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 1503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1514 // Allow this to be set when invoking the browser and relayed along. | 1514 // Allow this to be set when invoking the browser and relayed along. |
1515 switches::kEnableSandboxLogging, | 1515 switches::kEnableSandboxLogging, |
1516 #endif | 1516 #endif |
1517 #if defined(OS_WIN) | 1517 #if defined(OS_WIN) |
1518 switches::kDisableDirectWrite, | 1518 switches::kDisableDirectWrite, |
1519 switches::kDisableWin32kRendererLockDown, | 1519 switches::kDisableWin32kRendererLockDown, |
1520 switches::kTraceExportEventsToETW, | 1520 switches::kTraceExportEventsToETW, |
1521 #endif | 1521 #endif |
1522 #if defined(USE_OZONE) | 1522 #if defined(USE_OZONE) |
1523 switches::kOzonePlatform, | 1523 switches::kOzonePlatform, |
| 1524 switches::kOzoneUseDmaBufMmap, |
1524 #endif | 1525 #endif |
1525 #if defined(OS_CHROMEOS) | 1526 #if defined(OS_CHROMEOS) |
1526 switches::kDisableVaapiAcceleratedVideoEncode, | 1527 switches::kDisableVaapiAcceleratedVideoEncode, |
1527 #endif | 1528 #endif |
1528 "use-new-edk", // TODO(use_chrome_edk): temporary. | 1529 "use-new-edk", // TODO(use_chrome_edk): temporary. |
1529 }; | 1530 }; |
1530 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, | 1531 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, |
1531 arraysize(kSwitchNames)); | 1532 arraysize(kSwitchNames)); |
1532 | 1533 |
1533 CopyEnableDisableFeatureFlagsToRenderer(renderer_cmd); | 1534 CopyEnableDisableFeatureFlagsToRenderer(renderer_cmd); |
(...skipping 1210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2744 void RenderProcessHostImpl::GetAudioOutputControllers( | 2745 void RenderProcessHostImpl::GetAudioOutputControllers( |
2745 const GetAudioOutputControllersCallback& callback) const { | 2746 const GetAudioOutputControllersCallback& callback) const { |
2746 audio_renderer_host()->GetOutputControllers(callback); | 2747 audio_renderer_host()->GetOutputControllers(callback); |
2747 } | 2748 } |
2748 | 2749 |
2749 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { | 2750 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { |
2750 return bluetooth_dispatcher_host_.get(); | 2751 return bluetooth_dispatcher_host_.get(); |
2751 } | 2752 } |
2752 | 2753 |
2753 } // namespace content | 2754 } // namespace content |
OLD | NEW |