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 1155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1166 cc::switches::kShowSurfaceDamageRects, | 1166 cc::switches::kShowSurfaceDamageRects, |
1167 cc::switches::kSlowDownRasterScaleFactor, | 1167 cc::switches::kSlowDownRasterScaleFactor, |
1168 cc::switches::kStrictLayerPropertyChangeChecking, | 1168 cc::switches::kStrictLayerPropertyChangeChecking, |
1169 cc::switches::kTopControlsHeight, | 1169 cc::switches::kTopControlsHeight, |
1170 cc::switches::kTopControlsHideThreshold, | 1170 cc::switches::kTopControlsHideThreshold, |
1171 cc::switches::kTopControlsShowThreshold, | 1171 cc::switches::kTopControlsShowThreshold, |
1172 #if defined(ENABLE_PLUGINS) | 1172 #if defined(ENABLE_PLUGINS) |
1173 switches::kEnablePepperTesting, | 1173 switches::kEnablePepperTesting, |
1174 #endif | 1174 #endif |
1175 #if defined(ENABLE_WEBRTC) | 1175 #if defined(ENABLE_WEBRTC) |
1176 switches::kEnableAudioTrackProcessing, | 1176 switches::kDisableAudioTrackProcessing, |
1177 switches::kDisableDeviceEnumeration, | 1177 switches::kDisableDeviceEnumeration, |
1178 switches::kDisableWebRtcHWDecoding, | 1178 switches::kDisableWebRtcHWDecoding, |
1179 switches::kDisableWebRtcHWEncoding, | 1179 switches::kDisableWebRtcHWEncoding, |
1180 switches::kEnableWebRtcHWVp8Encoding, | 1180 switches::kEnableWebRtcHWVp8Encoding, |
1181 switches::kEnableWebRtcTcpServerSocket, | 1181 switches::kEnableWebRtcTcpServerSocket, |
1182 #endif | 1182 #endif |
1183 #if defined(OS_ANDROID) | 1183 #if defined(OS_ANDROID) |
1184 switches::kDisableGestureRequirementForMediaPlayback, | 1184 switches::kDisableGestureRequirementForMediaPlayback, |
1185 switches::kDisableLowEndDeviceMode, | 1185 switches::kDisableLowEndDeviceMode, |
1186 switches::kDisableWebRTC, | 1186 switches::kDisableWebRTC, |
(...skipping 885 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2072 mojo::ScopedMessagePipeHandle handle) { | 2072 mojo::ScopedMessagePipeHandle handle) { |
2073 mojo_activation_required_ = true; | 2073 mojo_activation_required_ = true; |
2074 MaybeActivateMojo(); | 2074 MaybeActivateMojo(); |
2075 | 2075 |
2076 mojo::AllocationScope scope; | 2076 mojo::AllocationScope scope; |
2077 mojo_application_host_->shell_client()->AcceptConnection(service_name, | 2077 mojo_application_host_->shell_client()->AcceptConnection(service_name, |
2078 handle.Pass()); | 2078 handle.Pass()); |
2079 } | 2079 } |
2080 | 2080 |
2081 } // namespace content | 2081 } // namespace content |
OLD | NEW |