| 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 1100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1111 switches::kDisableSessionStorage, | 1111 switches::kDisableSessionStorage, |
| 1112 switches::kDisableSharedWorkers, | 1112 switches::kDisableSharedWorkers, |
| 1113 switches::kDisableThreadedCompositing, | 1113 switches::kDisableThreadedCompositing, |
| 1114 switches::kDisableTouchAdjustment, | 1114 switches::kDisableTouchAdjustment, |
| 1115 switches::kDisableTouchDragDrop, | 1115 switches::kDisableTouchDragDrop, |
| 1116 switches::kDisableTouchEditing, | 1116 switches::kDisableTouchEditing, |
| 1117 switches::kDisableZeroCopy, | 1117 switches::kDisableZeroCopy, |
| 1118 switches::kDomAutomationController, | 1118 switches::kDomAutomationController, |
| 1119 switches::kEnableAcceleratedFixedRootBackground, | 1119 switches::kEnableAcceleratedFixedRootBackground, |
| 1120 switches::kEnableAcceleratedOverflowScroll, | 1120 switches::kEnableAcceleratedOverflowScroll, |
| 1121 switches::kEnableBeginFrameScheduling, | |
| 1122 switches::kEnableBleedingEdgeRenderingFastPaths, | 1121 switches::kEnableBleedingEdgeRenderingFastPaths, |
| 1123 switches::kEnableCompositingForFixedPosition, | 1122 switches::kEnableCompositingForFixedPosition, |
| 1124 switches::kEnableCompositingForTransition, | 1123 switches::kEnableCompositingForTransition, |
| 1125 switches::kEnableDeferredImageDecoding, | 1124 switches::kEnableDeferredImageDecoding, |
| 1126 switches::kEnableDisplayList2dCanvas, | 1125 switches::kEnableDisplayList2dCanvas, |
| 1127 switches::kEnableDistanceFieldText, | 1126 switches::kEnableDistanceFieldText, |
| 1128 switches::kEnableEncryptedMedia, | 1127 switches::kEnableEncryptedMedia, |
| 1129 switches::kEnableExperimentalCanvasFeatures, | 1128 switches::kEnableExperimentalCanvasFeatures, |
| 1130 switches::kEnableExperimentalWebPlatformFeatures, | 1129 switches::kEnableExperimentalWebPlatformFeatures, |
| 1131 switches::kEnableGPUClientLogging, | 1130 switches::kEnableGPUClientLogging, |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1197 switches::kV, | 1196 switches::kV, |
| 1198 switches::kVideoThreads, | 1197 switches::kVideoThreads, |
| 1199 switches::kVModule, | 1198 switches::kVModule, |
| 1200 // Please keep these in alphabetical order. Compositor switches here should | 1199 // Please keep these in alphabetical order. Compositor switches here should |
| 1201 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. | 1200 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. |
| 1202 cc::switches::kCompositeToMailbox, | 1201 cc::switches::kCompositeToMailbox, |
| 1203 cc::switches::kDisableCompositedAntialiasing, | 1202 cc::switches::kDisableCompositedAntialiasing, |
| 1204 cc::switches::kDisableMainFrameBeforeActivation, | 1203 cc::switches::kDisableMainFrameBeforeActivation, |
| 1205 cc::switches::kDisableMainFrameBeforeDraw, | 1204 cc::switches::kDisableMainFrameBeforeDraw, |
| 1206 cc::switches::kDisableThreadedAnimation, | 1205 cc::switches::kDisableThreadedAnimation, |
| 1206 cc::switches::kEnableBeginFrameScheduling, |
| 1207 cc::switches::kEnableGpuBenchmarking, | 1207 cc::switches::kEnableGpuBenchmarking, |
| 1208 cc::switches::kEnableMainFrameBeforeActivation, | 1208 cc::switches::kEnableMainFrameBeforeActivation, |
| 1209 cc::switches::kEnableTopControlsPositionCalculation, | 1209 cc::switches::kEnableTopControlsPositionCalculation, |
| 1210 cc::switches::kMaxTilesForInterestArea, | 1210 cc::switches::kMaxTilesForInterestArea, |
| 1211 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 1211 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
| 1212 cc::switches::kShowCompositedLayerBorders, | 1212 cc::switches::kShowCompositedLayerBorders, |
| 1213 cc::switches::kShowFPSCounter, | 1213 cc::switches::kShowFPSCounter, |
| 1214 cc::switches::kShowLayerAnimationBounds, | 1214 cc::switches::kShowLayerAnimationBounds, |
| 1215 cc::switches::kShowNonOccludingRects, | 1215 cc::switches::kShowNonOccludingRects, |
| 1216 cc::switches::kShowOccludingRects, | 1216 cc::switches::kShowOccludingRects, |
| (...skipping 1124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2341 } | 2341 } |
| 2342 | 2342 |
| 2343 void RenderProcessHostImpl::OnDeletedGpuMemoryBuffer( | 2343 void RenderProcessHostImpl::OnDeletedGpuMemoryBuffer( |
| 2344 gfx::GpuMemoryBufferType type, | 2344 gfx::GpuMemoryBufferType type, |
| 2345 const gfx::GpuMemoryBufferId& id) { | 2345 const gfx::GpuMemoryBufferId& id) { |
| 2346 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 2346 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
| 2347 GpuMemoryBufferImpl::DeletedByChildProcess(type, id, GetHandle()); | 2347 GpuMemoryBufferImpl::DeletedByChildProcess(type, id, GetHandle()); |
| 2348 } | 2348 } |
| 2349 | 2349 |
| 2350 } // namespace content | 2350 } // namespace content |
| OLD | NEW |