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 1227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1238 switches::kEnableWebRtcHWH264Encoding, | 1238 switches::kEnableWebRtcHWH264Encoding, |
1239 #endif | 1239 #endif |
1240 switches::kLowEndDeviceMode, | 1240 switches::kLowEndDeviceMode, |
1241 #if defined(OS_ANDROID) | 1241 #if defined(OS_ANDROID) |
1242 switches::kDisableGestureRequirementForMediaPlayback, | 1242 switches::kDisableGestureRequirementForMediaPlayback, |
1243 switches::kDisableWebRTC, | 1243 switches::kDisableWebRTC, |
1244 switches::kEnableSpeechRecognition, | 1244 switches::kEnableSpeechRecognition, |
1245 switches::kMediaDrmEnableNonCompositing, | 1245 switches::kMediaDrmEnableNonCompositing, |
1246 switches::kNetworkCountryIso, | 1246 switches::kNetworkCountryIso, |
1247 switches::kDisableWebAudio, | 1247 switches::kDisableWebAudio, |
1248 switches::kRendererWainForJavaDebugger, | |
Charlie Reis
2014/08/28 16:38:37
Wain -> Wait
Jaekyun Seok (inactive)
2014/08/28 23:41:16
Done.
| |
1248 #endif | 1249 #endif |
1249 #if defined(OS_MACOSX) | 1250 #if defined(OS_MACOSX) |
1250 // Allow this to be set when invoking the browser and relayed along. | 1251 // Allow this to be set when invoking the browser and relayed along. |
1251 switches::kEnableSandboxLogging, | 1252 switches::kEnableSandboxLogging, |
1252 #endif | 1253 #endif |
1253 #if defined(OS_WIN) | 1254 #if defined(OS_WIN) |
1254 switches::kDisableDirectWrite, | 1255 switches::kDisableDirectWrite, |
1255 #endif | 1256 #endif |
1256 #if defined(OS_CHROMEOS) | 1257 #if defined(OS_CHROMEOS) |
1257 switches::kDisableVaapiAcceleratedVideoEncode, | 1258 switches::kDisableVaapiAcceleratedVideoEncode, |
(...skipping 1095 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2353 } | 2354 } |
2354 | 2355 |
2355 void RenderProcessHostImpl::OnDeletedGpuMemoryBuffer( | 2356 void RenderProcessHostImpl::OnDeletedGpuMemoryBuffer( |
2356 gfx::GpuMemoryBufferType type, | 2357 gfx::GpuMemoryBufferType type, |
2357 const gfx::GpuMemoryBufferId& id) { | 2358 const gfx::GpuMemoryBufferId& id) { |
2358 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 2359 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
2359 GpuMemoryBufferImpl::DeletedByChildProcess(type, id, GetHandle()); | 2360 GpuMemoryBufferImpl::DeletedByChildProcess(type, id, GetHandle()); |
2360 } | 2361 } |
2361 | 2362 |
2362 } // namespace content | 2363 } // namespace content |
OLD | NEW |