| 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 1135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1146 switches::kEnableLayerSquashing, | 1146 switches::kEnableLayerSquashing, |
| 1147 switches::kEnableLogging, | 1147 switches::kEnableLogging, |
| 1148 switches::kEnableMemoryBenchmarking, | 1148 switches::kEnableMemoryBenchmarking, |
| 1149 switches::kEnableNetworkInformation, | 1149 switches::kEnableNetworkInformation, |
| 1150 switches::kEnableOneCopy, | 1150 switches::kEnableOneCopy, |
| 1151 switches::kEnableOverlayFullscreenVideo, | 1151 switches::kEnableOverlayFullscreenVideo, |
| 1152 switches::kEnableOverlayScrollbar, | 1152 switches::kEnableOverlayScrollbar, |
| 1153 switches::kEnableOverscrollNotifications, | 1153 switches::kEnableOverscrollNotifications, |
| 1154 switches::kEnablePinch, | 1154 switches::kEnablePinch, |
| 1155 switches::kEnablePreciseMemoryInfo, | 1155 switches::kEnablePreciseMemoryInfo, |
| 1156 switches::kEnablePreparsedJsCaching, | |
| 1157 switches::kEnableRendererMojoChannel, | 1156 switches::kEnableRendererMojoChannel, |
| 1158 switches::kEnableSeccompFilterSandbox, | 1157 switches::kEnableSeccompFilterSandbox, |
| 1159 switches::kEnableSkiaBenchmarking, | 1158 switches::kEnableSkiaBenchmarking, |
| 1160 switches::kEnableSmoothScrolling, | 1159 switches::kEnableSmoothScrolling, |
| 1161 switches::kEnableStatsTable, | 1160 switches::kEnableStatsTable, |
| 1162 switches::kEnableStrictSiteIsolation, | 1161 switches::kEnableStrictSiteIsolation, |
| 1163 switches::kEnableTargetedStyleRecalc, | 1162 switches::kEnableTargetedStyleRecalc, |
| 1164 switches::kEnableThreadedCompositing, | 1163 switches::kEnableThreadedCompositing, |
| 1165 switches::kEnableTouchDragDrop, | 1164 switches::kEnableTouchDragDrop, |
| 1166 switches::kEnableTouchEditing, | 1165 switches::kEnableTouchEditing, |
| (...skipping 1184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2351 } | 2350 } |
| 2352 | 2351 |
| 2353 void RenderProcessHostImpl::OnDeletedGpuMemoryBuffer( | 2352 void RenderProcessHostImpl::OnDeletedGpuMemoryBuffer( |
| 2354 gfx::GpuMemoryBufferType type, | 2353 gfx::GpuMemoryBufferType type, |
| 2355 const gfx::GpuMemoryBufferId& id) { | 2354 const gfx::GpuMemoryBufferId& id) { |
| 2356 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 2355 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
| 2357 GpuMemoryBufferImpl::DeletedByChildProcess(type, id, GetHandle()); | 2356 GpuMemoryBufferImpl::DeletedByChildProcess(type, id, GetHandle()); |
| 2358 } | 2357 } |
| 2359 | 2358 |
| 2360 } // namespace content | 2359 } // namespace content |
| OLD | NEW |