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