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 1216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1227 switches::kEnablePepperTesting, | 1227 switches::kEnablePepperTesting, |
1228 #endif | 1228 #endif |
1229 #if defined(ENABLE_WEBRTC) | 1229 #if defined(ENABLE_WEBRTC) |
1230 switches::kDisableAudioTrackProcessing, | 1230 switches::kDisableAudioTrackProcessing, |
1231 switches::kDisableWebRtcHWDecoding, | 1231 switches::kDisableWebRtcHWDecoding, |
1232 switches::kDisableWebRtcHWEncoding, | 1232 switches::kDisableWebRtcHWEncoding, |
1233 switches::kEnableWebRtcHWVp8Encoding, | 1233 switches::kEnableWebRtcHWVp8Encoding, |
1234 #endif | 1234 #endif |
1235 switches::kLowEndDeviceMode, | 1235 switches::kLowEndDeviceMode, |
1236 #if defined(OS_ANDROID) | 1236 #if defined(OS_ANDROID) |
1237 switches::kDisableGestureRequirementForMediaPlayback, | |
1238 switches::kDisableWebRTC, | 1237 switches::kDisableWebRTC, |
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 |
(...skipping 1093 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2341 } | 2340 } |
2342 | 2341 |
2343 void RenderProcessHostImpl::OnDeletedGpuMemoryBuffer( | 2342 void RenderProcessHostImpl::OnDeletedGpuMemoryBuffer( |
2344 gfx::GpuMemoryBufferType type, | 2343 gfx::GpuMemoryBufferType type, |
2345 const gfx::GpuMemoryBufferId& id) { | 2344 const gfx::GpuMemoryBufferId& id) { |
2346 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 2345 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
2347 GpuMemoryBufferImpl::DeletedByChildProcess(type, id, GetHandle()); | 2346 GpuMemoryBufferImpl::DeletedByChildProcess(type, id, GetHandle()); |
2348 } | 2347 } |
2349 | 2348 |
2350 } // namespace content | 2349 } // namespace content |
OLD | NEW |