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 1214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1225 cc::switches::kTopControlsHideThreshold, | 1225 cc::switches::kTopControlsHideThreshold, |
1226 cc::switches::kTopControlsShowThreshold, | 1226 cc::switches::kTopControlsShowThreshold, |
1227 #if defined(ENABLE_PLUGINS) | 1227 #if defined(ENABLE_PLUGINS) |
1228 switches::kEnablePepperTesting, | 1228 switches::kEnablePepperTesting, |
1229 #endif | 1229 #endif |
1230 #if defined(ENABLE_WEBRTC) | 1230 #if defined(ENABLE_WEBRTC) |
1231 switches::kDisableAudioTrackProcessing, | 1231 switches::kDisableAudioTrackProcessing, |
1232 switches::kDisableWebRtcHWDecoding, | 1232 switches::kDisableWebRtcHWDecoding, |
1233 switches::kDisableWebRtcHWEncoding, | 1233 switches::kDisableWebRtcHWEncoding, |
1234 switches::kEnableWebRtcHWVp8Encoding, | 1234 switches::kEnableWebRtcHWVp8Encoding, |
| 1235 switches::kEnableWebRtcHWH264Encoding, |
1235 #endif | 1236 #endif |
1236 switches::kLowEndDeviceMode, | 1237 switches::kLowEndDeviceMode, |
1237 #if defined(OS_ANDROID) | 1238 #if defined(OS_ANDROID) |
1238 switches::kDisableGestureRequirementForMediaPlayback, | 1239 switches::kDisableGestureRequirementForMediaPlayback, |
1239 switches::kDisableWebRTC, | 1240 switches::kDisableWebRTC, |
1240 switches::kEnableSpeechRecognition, | 1241 switches::kEnableSpeechRecognition, |
1241 switches::kMediaDrmEnableNonCompositing, | 1242 switches::kMediaDrmEnableNonCompositing, |
1242 switches::kNetworkCountryIso, | 1243 switches::kNetworkCountryIso, |
1243 switches::kDisableWebAudio, | 1244 switches::kDisableWebAudio, |
1244 #endif | 1245 #endif |
(...skipping 1104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2349 } | 2350 } |
2350 | 2351 |
2351 void RenderProcessHostImpl::OnDeletedGpuMemoryBuffer( | 2352 void RenderProcessHostImpl::OnDeletedGpuMemoryBuffer( |
2352 gfx::GpuMemoryBufferType type, | 2353 gfx::GpuMemoryBufferType type, |
2353 const gfx::GpuMemoryBufferId& id) { | 2354 const gfx::GpuMemoryBufferId& id) { |
2354 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 2355 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
2355 GpuMemoryBufferImpl::DeletedByChildProcess(type, id, GetHandle()); | 2356 GpuMemoryBufferImpl::DeletedByChildProcess(type, id, GetHandle()); |
2356 } | 2357 } |
2357 | 2358 |
2358 } // namespace content | 2359 } // namespace content |
OLD | NEW |