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 1213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1224 #if defined(ENABLE_PLUGINS) | 1224 #if defined(ENABLE_PLUGINS) |
1225 switches::kEnablePepperTesting, | 1225 switches::kEnablePepperTesting, |
1226 #endif | 1226 #endif |
1227 #if defined(ENABLE_WEBRTC) | 1227 #if defined(ENABLE_WEBRTC) |
1228 switches::kDisableAudioTrackProcessing, | 1228 switches::kDisableAudioTrackProcessing, |
1229 switches::kDisableDeviceEnumeration, | 1229 switches::kDisableDeviceEnumeration, |
1230 switches::kDisableWebRtcHWDecoding, | 1230 switches::kDisableWebRtcHWDecoding, |
1231 switches::kDisableWebRtcHWEncoding, | 1231 switches::kDisableWebRtcHWEncoding, |
1232 switches::kEnableWebRtcHWVp8Encoding, | 1232 switches::kEnableWebRtcHWVp8Encoding, |
1233 #endif | 1233 #endif |
| 1234 switches::kLowEndDeviceMode, |
1234 #if defined(OS_ANDROID) | 1235 #if defined(OS_ANDROID) |
1235 switches::kDisableGestureRequirementForMediaPlayback, | 1236 switches::kDisableGestureRequirementForMediaPlayback, |
1236 switches::kDisableLowEndDeviceMode, | |
1237 switches::kDisableWebRTC, | 1237 switches::kDisableWebRTC, |
1238 switches::kEnableLowEndDeviceMode, | |
1239 switches::kEnableSpeechRecognition, | 1238 switches::kEnableSpeechRecognition, |
1240 switches::kMediaDrmEnableNonCompositing, | 1239 switches::kMediaDrmEnableNonCompositing, |
1241 switches::kNetworkCountryIso, | 1240 switches::kNetworkCountryIso, |
1242 switches::kDisableWebAudio, | 1241 switches::kDisableWebAudio, |
1243 #endif | 1242 #endif |
1244 #if defined(OS_MACOSX) | 1243 #if defined(OS_MACOSX) |
1245 // Allow this to be set when invoking the browser and relayed along. | 1244 // Allow this to be set when invoking the browser and relayed along. |
1246 switches::kEnableSandboxLogging, | 1245 switches::kEnableSandboxLogging, |
1247 #endif | 1246 #endif |
1248 #if defined(OS_WIN) | 1247 #if defined(OS_WIN) |
(...skipping 1109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2358 void RenderProcessHostImpl::GpuMemoryBufferAllocated( | 2357 void RenderProcessHostImpl::GpuMemoryBufferAllocated( |
2359 IPC::Message* reply, | 2358 IPC::Message* reply, |
2360 const gfx::GpuMemoryBufferHandle& handle) { | 2359 const gfx::GpuMemoryBufferHandle& handle) { |
2361 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 2360 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
2362 ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer::WriteReplyParams(reply, | 2361 ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer::WriteReplyParams(reply, |
2363 handle); | 2362 handle); |
2364 Send(reply); | 2363 Send(reply); |
2365 } | 2364 } |
2366 | 2365 |
2367 } // namespace content | 2366 } // namespace content |
OLD | NEW |