| 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 1218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1229 #if defined(ENABLE_PLUGINS) | 1229 #if defined(ENABLE_PLUGINS) |
| 1230 switches::kEnablePepperTesting, | 1230 switches::kEnablePepperTesting, |
| 1231 #endif | 1231 #endif |
| 1232 #if defined(ENABLE_WEBRTC) | 1232 #if defined(ENABLE_WEBRTC) |
| 1233 switches::kDisableAudioTrackProcessing, | 1233 switches::kDisableAudioTrackProcessing, |
| 1234 switches::kDisableDeviceEnumeration, | 1234 switches::kDisableDeviceEnumeration, |
| 1235 switches::kDisableWebRtcHWDecoding, | 1235 switches::kDisableWebRtcHWDecoding, |
| 1236 switches::kDisableWebRtcHWEncoding, | 1236 switches::kDisableWebRtcHWEncoding, |
| 1237 switches::kEnableWebRtcHWVp8Encoding, | 1237 switches::kEnableWebRtcHWVp8Encoding, |
| 1238 #endif | 1238 #endif |
| 1239 switches::kDisableLowEndDeviceMode, |
| 1240 switches::kEnableLowEndDeviceMode, |
| 1241 #if !defined(OS_ANDROID) |
| 1242 switches::kDetectLowEndDevice, |
| 1243 #endif |
| 1239 #if defined(OS_ANDROID) | 1244 #if defined(OS_ANDROID) |
| 1240 switches::kDisableGestureRequirementForMediaPlayback, | 1245 switches::kDisableGestureRequirementForMediaPlayback, |
| 1241 switches::kDisableLowEndDeviceMode, | 1246 switches::kDisableLowEndDeviceMode, |
| 1242 switches::kDisableWebRTC, | 1247 switches::kDisableWebRTC, |
| 1243 switches::kEnableLowEndDeviceMode, | 1248 switches::kEnableLowEndDeviceMode, |
| 1244 switches::kEnableSpeechRecognition, | 1249 switches::kEnableSpeechRecognition, |
| 1245 switches::kMediaDrmEnableNonCompositing, | 1250 switches::kMediaDrmEnableNonCompositing, |
| 1246 switches::kNetworkCountryIso, | 1251 switches::kNetworkCountryIso, |
| 1247 switches::kDisableWebAudio, | 1252 switches::kDisableWebAudio, |
| 1248 #endif | 1253 #endif |
| (...skipping 1052 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2301 void RenderProcessHostImpl::GpuMemoryBufferAllocated( | 2306 void RenderProcessHostImpl::GpuMemoryBufferAllocated( |
| 2302 IPC::Message* reply, | 2307 IPC::Message* reply, |
| 2303 const gfx::GpuMemoryBufferHandle& handle) { | 2308 const gfx::GpuMemoryBufferHandle& handle) { |
| 2304 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 2309 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
| 2305 ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer::WriteReplyParams(reply, | 2310 ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer::WriteReplyParams(reply, |
| 2306 handle); | 2311 handle); |
| 2307 Send(reply); | 2312 Send(reply); |
| 2308 } | 2313 } |
| 2309 | 2314 |
| 2310 } // namespace content | 2315 } // namespace content |
| OLD | NEW |