| 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::kLowEndDeviceMode, |
| 1239 #if defined(OS_ANDROID) | 1240 #if defined(OS_ANDROID) |
| 1240 switches::kDisableGestureRequirementForMediaPlayback, | 1241 switches::kDisableGestureRequirementForMediaPlayback, |
| 1241 switches::kDisableLowEndDeviceMode, | |
| 1242 switches::kDisableWebRTC, | 1242 switches::kDisableWebRTC, |
| 1243 switches::kEnableLowEndDeviceMode, | |
| 1244 switches::kEnableSpeechRecognition, | 1243 switches::kEnableSpeechRecognition, |
| 1245 switches::kMediaDrmEnableNonCompositing, | 1244 switches::kMediaDrmEnableNonCompositing, |
| 1246 switches::kNetworkCountryIso, | 1245 switches::kNetworkCountryIso, |
| 1247 switches::kDisableWebAudio, | 1246 switches::kDisableWebAudio, |
| 1248 #endif | 1247 #endif |
| 1249 #if defined(OS_MACOSX) | 1248 #if defined(OS_MACOSX) |
| 1250 // Allow this to be set when invoking the browser and relayed along. | 1249 // Allow this to be set when invoking the browser and relayed along. |
| 1251 switches::kEnableSandboxLogging, | 1250 switches::kEnableSandboxLogging, |
| 1252 #endif | 1251 #endif |
| 1253 #if defined(OS_WIN) | 1252 #if defined(OS_WIN) |
| (...skipping 1109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2363 void RenderProcessHostImpl::GpuMemoryBufferAllocated( | 2362 void RenderProcessHostImpl::GpuMemoryBufferAllocated( |
| 2364 IPC::Message* reply, | 2363 IPC::Message* reply, |
| 2365 const gfx::GpuMemoryBufferHandle& handle) { | 2364 const gfx::GpuMemoryBufferHandle& handle) { |
| 2366 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 2365 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
| 2367 ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer::WriteReplyParams(reply, | 2366 ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer::WriteReplyParams(reply, |
| 2368 handle); | 2367 handle); |
| 2369 Send(reply); | 2368 Send(reply); |
| 2370 } | 2369 } |
| 2371 | 2370 |
| 2372 } // namespace content | 2371 } // namespace content |
| OLD | NEW |