| 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 1078 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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, | 1094 switches::kDisableAcceleratedFixedRootBackground, |
| 1095 switches::kDisableAcceleratedOverflowScroll, | 1095 switches::kDisableAcceleratedOverflowScroll, |
| 1096 switches::kDisableAcceleratedVideoDecode, | 1096 switches::kDisableAcceleratedVideoDecode, |
| 1097 switches::kDisableApplicationCache, | 1097 switches::kDisableApplicationCache, |
| 1098 switches::kDisableBreakpad, | 1098 switches::kDisableBreakpad, |
| 1099 switches::kDisableCompositingForFixedPosition, | 1099 switches::kDisablePreferCompositingToLCDText, |
| 1100 switches::kDisableCompositingForTransition, | 1100 switches::kDisableCompositingForTransition, |
| 1101 switches::kDisableDatabases, | 1101 switches::kDisableDatabases, |
| 1102 switches::kDisableDesktopNotifications, | 1102 switches::kDisableDesktopNotifications, |
| 1103 switches::kDisableDirectNPAPIRequests, | 1103 switches::kDisableDirectNPAPIRequests, |
| 1104 switches::kDisableDistanceFieldText, | 1104 switches::kDisableDistanceFieldText, |
| 1105 switches::kDisableFileSystem, | 1105 switches::kDisableFileSystem, |
| 1106 switches::kDisableGpuCompositing, | 1106 switches::kDisableGpuCompositing, |
| 1107 switches::kDisableGpuVsync, | 1107 switches::kDisableGpuVsync, |
| 1108 switches::kDisableLowResTiling, | 1108 switches::kDisableLowResTiling, |
| 1109 switches::kDisableHistogramCustomizer, | 1109 switches::kDisableHistogramCustomizer, |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1121 switches::kDisableThreadedCompositing, | 1121 switches::kDisableThreadedCompositing, |
| 1122 switches::kDisableTouchAdjustment, | 1122 switches::kDisableTouchAdjustment, |
| 1123 switches::kDisableTouchDragDrop, | 1123 switches::kDisableTouchDragDrop, |
| 1124 switches::kDisableTouchEditing, | 1124 switches::kDisableTouchEditing, |
| 1125 switches::kDisableZeroCopy, | 1125 switches::kDisableZeroCopy, |
| 1126 switches::kDomAutomationController, | 1126 switches::kDomAutomationController, |
| 1127 switches::kEnableAcceleratedFixedRootBackground, | 1127 switches::kEnableAcceleratedFixedRootBackground, |
| 1128 switches::kEnableAcceleratedOverflowScroll, | 1128 switches::kEnableAcceleratedOverflowScroll, |
| 1129 switches::kEnableBeginFrameScheduling, | 1129 switches::kEnableBeginFrameScheduling, |
| 1130 switches::kEnableBleedingEdgeRenderingFastPaths, | 1130 switches::kEnableBleedingEdgeRenderingFastPaths, |
| 1131 switches::kEnableCompositingForFixedPosition, | 1131 switches::kEnablePreferCompositingToLCDText, |
| 1132 switches::kEnableCompositingForTransition, | 1132 switches::kEnableCompositingForTransition, |
| 1133 switches::kEnableDeferredImageDecoding, | 1133 switches::kEnableDeferredImageDecoding, |
| 1134 switches::kEnableDisplayList2dCanvas, | 1134 switches::kEnableDisplayList2dCanvas, |
| 1135 switches::kEnableDistanceFieldText, | 1135 switches::kEnableDistanceFieldText, |
| 1136 switches::kEnableEncryptedMedia, | 1136 switches::kEnableEncryptedMedia, |
| 1137 switches::kEnableExperimentalCanvasFeatures, | 1137 switches::kEnableExperimentalCanvasFeatures, |
| 1138 switches::kEnableExperimentalWebPlatformFeatures, | 1138 switches::kEnableExperimentalWebPlatformFeatures, |
| 1139 switches::kEnableGPUClientLogging, | 1139 switches::kEnableGPUClientLogging, |
| 1140 switches::kEnableGpuClientTracing, | 1140 switches::kEnableGpuClientTracing, |
| 1141 switches::kEnableGPUServiceLogging, | 1141 switches::kEnableGPUServiceLogging, |
| 1142 switches::kEnableHighDpiCompositingForFixedPosition, | |
| 1143 switches::kEnableLowResTiling, | 1142 switches::kEnableLowResTiling, |
| 1144 switches::kEnableInbandTextTracks, | 1143 switches::kEnableInbandTextTracks, |
| 1145 switches::kEnableLCDText, | 1144 switches::kEnableLCDText, |
| 1146 switches::kEnableLayerSquashing, | 1145 switches::kEnableLayerSquashing, |
| 1147 switches::kEnableLogging, | 1146 switches::kEnableLogging, |
| 1148 switches::kEnableMemoryBenchmarking, | 1147 switches::kEnableMemoryBenchmarking, |
| 1149 switches::kEnableNetworkInformation, | 1148 switches::kEnableNetworkInformation, |
| 1150 switches::kEnableOneCopy, | 1149 switches::kEnableOneCopy, |
| 1151 switches::kEnableOverlayFullscreenVideo, | 1150 switches::kEnableOverlayFullscreenVideo, |
| 1152 switches::kEnableOverlayScrollbar, | 1151 switches::kEnableOverlayScrollbar, |
| (...skipping 1201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2354 } | 2353 } |
| 2355 | 2354 |
| 2356 void RenderProcessHostImpl::OnDeletedGpuMemoryBuffer( | 2355 void RenderProcessHostImpl::OnDeletedGpuMemoryBuffer( |
| 2357 gfx::GpuMemoryBufferType type, | 2356 gfx::GpuMemoryBufferType type, |
| 2358 const gfx::GpuMemoryBufferId& id) { | 2357 const gfx::GpuMemoryBufferId& id) { |
| 2359 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 2358 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
| 2360 GpuMemoryBufferImpl::DeletedByChildProcess(type, id, GetHandle()); | 2359 GpuMemoryBufferImpl::DeletedByChildProcess(type, id, GetHandle()); |
| 2361 } | 2360 } |
| 2362 | 2361 |
| 2363 } // namespace content | 2362 } // namespace content |
| OLD | NEW |