| 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 1073 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1084 switches::kAllowInsecureWebSocketFromHttpsOrigin, | 1084 switches::kAllowInsecureWebSocketFromHttpsOrigin, |
| 1085 switches::kAllowLoopbackInPeerConnection, | 1085 switches::kAllowLoopbackInPeerConnection, |
| 1086 switches::kAudioBufferSize, | 1086 switches::kAudioBufferSize, |
| 1087 switches::kAuditAllHandles, | 1087 switches::kAuditAllHandles, |
| 1088 switches::kAuditHandles, | 1088 switches::kAuditHandles, |
| 1089 switches::kBlinkPlatformLogChannels, | 1089 switches::kBlinkPlatformLogChannels, |
| 1090 switches::kBlockCrossSiteDocuments, | 1090 switches::kBlockCrossSiteDocuments, |
| 1091 switches::kDefaultTileWidth, | 1091 switches::kDefaultTileWidth, |
| 1092 switches::kDefaultTileHeight, | 1092 switches::kDefaultTileHeight, |
| 1093 switches::kDisable3DAPIs, | 1093 switches::kDisable3DAPIs, |
| 1094 switches::kDisableAcceleratedFixedRootBackground, | |
| 1095 switches::kDisableAcceleratedOverflowScroll, | |
| 1096 switches::kDisableAcceleratedVideoDecode, | 1094 switches::kDisableAcceleratedVideoDecode, |
| 1097 switches::kDisableApplicationCache, | 1095 switches::kDisableApplicationCache, |
| 1098 switches::kDisableBreakpad, | 1096 switches::kDisableBreakpad, |
| 1099 switches::kDisablePreferCompositingToLCDText, | 1097 switches::kDisablePreferCompositingToLCDText, |
| 1100 switches::kDisableCompositingForTransition, | 1098 switches::kDisableCompositingForTransition, |
| 1101 switches::kDisableDatabases, | 1099 switches::kDisableDatabases, |
| 1102 switches::kDisableDesktopNotifications, | 1100 switches::kDisableDesktopNotifications, |
| 1103 switches::kDisableDirectNPAPIRequests, | 1101 switches::kDisableDirectNPAPIRequests, |
| 1104 switches::kDisableDistanceFieldText, | 1102 switches::kDisableDistanceFieldText, |
| 1105 switches::kDisableFileSystem, | 1103 switches::kDisableFileSystem, |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1117 switches::kDisablePrefixedEncryptedMedia, | 1115 switches::kDisablePrefixedEncryptedMedia, |
| 1118 switches::kDisableSeccompFilterSandbox, | 1116 switches::kDisableSeccompFilterSandbox, |
| 1119 switches::kDisableSessionStorage, | 1117 switches::kDisableSessionStorage, |
| 1120 switches::kDisableSharedWorkers, | 1118 switches::kDisableSharedWorkers, |
| 1121 switches::kDisableThreadedCompositing, | 1119 switches::kDisableThreadedCompositing, |
| 1122 switches::kDisableTouchAdjustment, | 1120 switches::kDisableTouchAdjustment, |
| 1123 switches::kDisableTouchDragDrop, | 1121 switches::kDisableTouchDragDrop, |
| 1124 switches::kDisableTouchEditing, | 1122 switches::kDisableTouchEditing, |
| 1125 switches::kDisableZeroCopy, | 1123 switches::kDisableZeroCopy, |
| 1126 switches::kDomAutomationController, | 1124 switches::kDomAutomationController, |
| 1127 switches::kEnableAcceleratedFixedRootBackground, | |
| 1128 switches::kEnableAcceleratedOverflowScroll, | |
| 1129 switches::kEnableBeginFrameScheduling, | 1125 switches::kEnableBeginFrameScheduling, |
| 1130 switches::kEnableBleedingEdgeRenderingFastPaths, | 1126 switches::kEnableBleedingEdgeRenderingFastPaths, |
| 1131 switches::kEnablePreferCompositingToLCDText, | 1127 switches::kEnablePreferCompositingToLCDText, |
| 1132 switches::kEnableCompositingForTransition, | 1128 switches::kEnableCompositingForTransition, |
| 1133 switches::kEnableDeferredImageDecoding, | 1129 switches::kEnableDeferredImageDecoding, |
| 1134 switches::kEnableDisplayList2dCanvas, | 1130 switches::kEnableDisplayList2dCanvas, |
| 1135 switches::kEnableDistanceFieldText, | 1131 switches::kEnableDistanceFieldText, |
| 1136 switches::kEnableEncryptedMedia, | 1132 switches::kEnableEncryptedMedia, |
| 1137 switches::kEnableExperimentalCanvasFeatures, | 1133 switches::kEnableExperimentalCanvasFeatures, |
| 1138 switches::kEnableExperimentalWebPlatformFeatures, | 1134 switches::kEnableExperimentalWebPlatformFeatures, |
| (...skipping 1214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2353 } | 2349 } |
| 2354 | 2350 |
| 2355 void RenderProcessHostImpl::OnDeletedGpuMemoryBuffer( | 2351 void RenderProcessHostImpl::OnDeletedGpuMemoryBuffer( |
| 2356 gfx::GpuMemoryBufferType type, | 2352 gfx::GpuMemoryBufferType type, |
| 2357 const gfx::GpuMemoryBufferId& id) { | 2353 const gfx::GpuMemoryBufferId& id) { |
| 2358 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 2354 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
| 2359 GpuMemoryBufferImpl::DeletedByChildProcess(type, id, GetHandle()); | 2355 GpuMemoryBufferImpl::DeletedByChildProcess(type, id, GetHandle()); |
| 2360 } | 2356 } |
| 2361 | 2357 |
| 2362 } // namespace content | 2358 } // namespace content |
| OLD | NEW |