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 1109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1120 switches::kEnableLayerSquashing, | 1120 switches::kEnableLayerSquashing, |
1121 switches::kEnableLogging, | 1121 switches::kEnableLogging, |
1122 switches::kEnableMemoryBenchmarking, | 1122 switches::kEnableMemoryBenchmarking, |
1123 switches::kEnableNetworkInformation, | 1123 switches::kEnableNetworkInformation, |
1124 switches::kEnableOneCopy, | 1124 switches::kEnableOneCopy, |
1125 switches::kEnableOverlayFullscreenVideo, | 1125 switches::kEnableOverlayFullscreenVideo, |
1126 switches::kEnableOverlayScrollbar, | 1126 switches::kEnableOverlayScrollbar, |
1127 switches::kEnableOverscrollNotifications, | 1127 switches::kEnableOverscrollNotifications, |
1128 switches::kEnablePinch, | 1128 switches::kEnablePinch, |
1129 switches::kEnablePreciseMemoryInfo, | 1129 switches::kEnablePreciseMemoryInfo, |
1130 switches::kEnablePreparsedJsCaching, | |
1131 switches::kEnableSeccompFilterSandbox, | 1130 switches::kEnableSeccompFilterSandbox, |
1132 switches::kEnableSkiaBenchmarking, | 1131 switches::kEnableSkiaBenchmarking, |
1133 switches::kEnableSmoothScrolling, | 1132 switches::kEnableSmoothScrolling, |
1134 switches::kEnableStatsTable, | 1133 switches::kEnableStatsTable, |
1135 switches::kEnableStrictSiteIsolation, | 1134 switches::kEnableStrictSiteIsolation, |
1136 switches::kEnableTargetedStyleRecalc, | 1135 switches::kEnableTargetedStyleRecalc, |
1137 switches::kEnableThreadedCompositing, | 1136 switches::kEnableThreadedCompositing, |
1138 switches::kEnableTouchDragDrop, | 1137 switches::kEnableTouchDragDrop, |
1139 switches::kEnableTouchEditing, | 1138 switches::kEnableTouchEditing, |
1140 switches::kEnableViewport, | 1139 switches::kEnableViewport, |
(...skipping 1181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2322 } | 2321 } |
2323 | 2322 |
2324 void RenderProcessHostImpl::OnDeletedGpuMemoryBuffer( | 2323 void RenderProcessHostImpl::OnDeletedGpuMemoryBuffer( |
2325 gfx::GpuMemoryBufferType type, | 2324 gfx::GpuMemoryBufferType type, |
2326 const gfx::GpuMemoryBufferId& id) { | 2325 const gfx::GpuMemoryBufferId& id) { |
2327 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 2326 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
2328 GpuMemoryBufferImpl::DeletedByChildProcess(type, id, GetHandle()); | 2327 GpuMemoryBufferImpl::DeletedByChildProcess(type, id, GetHandle()); |
2329 } | 2328 } |
2330 | 2329 |
2331 } // namespace content | 2330 } // namespace content |
OLD | NEW |