| 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 1212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1223 cc::switches::kShowSurfaceDamageRects, | 1223 cc::switches::kShowSurfaceDamageRects, |
| 1224 cc::switches::kSlowDownRasterScaleFactor, | 1224 cc::switches::kSlowDownRasterScaleFactor, |
| 1225 cc::switches::kStrictLayerPropertyChangeChecking, | 1225 cc::switches::kStrictLayerPropertyChangeChecking, |
| 1226 cc::switches::kTopControlsHeight, | 1226 cc::switches::kTopControlsHeight, |
| 1227 cc::switches::kTopControlsHideThreshold, | 1227 cc::switches::kTopControlsHideThreshold, |
| 1228 cc::switches::kTopControlsShowThreshold, | 1228 cc::switches::kTopControlsShowThreshold, |
| 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::kEnableAudioTrackProcessing, | 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 #if defined(OS_ANDROID) | 1239 #if defined(OS_ANDROID) |
| 1240 switches::kDisableGestureRequirementForMediaPlayback, | 1240 switches::kDisableGestureRequirementForMediaPlayback, |
| 1241 switches::kDisableLowEndDeviceMode, | 1241 switches::kDisableLowEndDeviceMode, |
| 1242 switches::kDisableWebRTC, | 1242 switches::kDisableWebRTC, |
| 1243 switches::kEnableLowEndDeviceMode, | 1243 switches::kEnableLowEndDeviceMode, |
| (...skipping 1057 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2301 void RenderProcessHostImpl::GpuMemoryBufferAllocated( | 2301 void RenderProcessHostImpl::GpuMemoryBufferAllocated( |
| 2302 IPC::Message* reply, | 2302 IPC::Message* reply, |
| 2303 const gfx::GpuMemoryBufferHandle& handle) { | 2303 const gfx::GpuMemoryBufferHandle& handle) { |
| 2304 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 2304 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
| 2305 ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer::WriteReplyParams(reply, | 2305 ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer::WriteReplyParams(reply, |
| 2306 handle); | 2306 handle); |
| 2307 Send(reply); | 2307 Send(reply); |
| 2308 } | 2308 } |
| 2309 | 2309 |
| 2310 } // namespace content | 2310 } // namespace content |
| OLD | NEW |