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 1197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1208 cc::switches::kCompositeToMailbox, | 1208 cc::switches::kCompositeToMailbox, |
1209 cc::switches::kDisableCompositedAntialiasing, | 1209 cc::switches::kDisableCompositedAntialiasing, |
1210 cc::switches::kDisableMainFrameBeforeActivation, | 1210 cc::switches::kDisableMainFrameBeforeActivation, |
1211 cc::switches::kDisableMainFrameBeforeDraw, | 1211 cc::switches::kDisableMainFrameBeforeDraw, |
1212 cc::switches::kDisableThreadedAnimation, | 1212 cc::switches::kDisableThreadedAnimation, |
1213 cc::switches::kEnableGpuBenchmarking, | 1213 cc::switches::kEnableGpuBenchmarking, |
1214 cc::switches::kEnableMainFrameBeforeActivation, | 1214 cc::switches::kEnableMainFrameBeforeActivation, |
1215 cc::switches::kEnableTopControlsPositionCalculation, | 1215 cc::switches::kEnableTopControlsPositionCalculation, |
1216 cc::switches::kMaxTilesForInterestArea, | 1216 cc::switches::kMaxTilesForInterestArea, |
1217 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 1217 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
| 1218 cc::switches::kSendV8IdleNotificationAfterCommit, |
1218 cc::switches::kShowCompositedLayerBorders, | 1219 cc::switches::kShowCompositedLayerBorders, |
1219 cc::switches::kShowFPSCounter, | 1220 cc::switches::kShowFPSCounter, |
1220 cc::switches::kShowLayerAnimationBounds, | 1221 cc::switches::kShowLayerAnimationBounds, |
1221 cc::switches::kShowNonOccludingRects, | 1222 cc::switches::kShowNonOccludingRects, |
1222 cc::switches::kShowOccludingRects, | 1223 cc::switches::kShowOccludingRects, |
1223 cc::switches::kShowPropertyChangedRects, | 1224 cc::switches::kShowPropertyChangedRects, |
1224 cc::switches::kShowReplicaScreenSpaceRects, | 1225 cc::switches::kShowReplicaScreenSpaceRects, |
1225 cc::switches::kShowScreenSpaceRects, | 1226 cc::switches::kShowScreenSpaceRects, |
1226 cc::switches::kShowSurfaceDamageRects, | 1227 cc::switches::kShowSurfaceDamageRects, |
1227 cc::switches::kSlowDownRasterScaleFactor, | 1228 cc::switches::kSlowDownRasterScaleFactor, |
(...skipping 1125 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 |