| 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 1099 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1110 switches::kDisableOverlayScrollbar, | 1110 switches::kDisableOverlayScrollbar, |
| 1111 switches::kDisablePinch, | 1111 switches::kDisablePinch, |
| 1112 switches::kDisablePrefixedEncryptedMedia, | 1112 switches::kDisablePrefixedEncryptedMedia, |
| 1113 switches::kDisableRepaintAfterLayout, | 1113 switches::kDisableRepaintAfterLayout, |
| 1114 switches::kDisableSeccompFilterSandbox, | 1114 switches::kDisableSeccompFilterSandbox, |
| 1115 switches::kDisableSessionStorage, | 1115 switches::kDisableSessionStorage, |
| 1116 switches::kDisableSharedWorkers, | 1116 switches::kDisableSharedWorkers, |
| 1117 switches::kDisableTouchAdjustment, | 1117 switches::kDisableTouchAdjustment, |
| 1118 switches::kDisableTouchDragDrop, | 1118 switches::kDisableTouchDragDrop, |
| 1119 switches::kDisableTouchEditing, | 1119 switches::kDisableTouchEditing, |
| 1120 switches::kDisableUniversalAcceleratedOverflowScroll, | |
| 1121 switches::kDisableZeroCopy, | 1120 switches::kDisableZeroCopy, |
| 1122 switches::kDomAutomationController, | 1121 switches::kDomAutomationController, |
| 1123 switches::kEnableAcceleratedFixedRootBackground, | 1122 switches::kEnableAcceleratedFixedRootBackground, |
| 1124 switches::kEnableAcceleratedOverflowScroll, | 1123 switches::kEnableAcceleratedOverflowScroll, |
| 1125 switches::kEnableBeginFrameScheduling, | 1124 switches::kEnableBeginFrameScheduling, |
| 1126 switches::kEnableBleedingEdgeRenderingFastPaths, | 1125 switches::kEnableBleedingEdgeRenderingFastPaths, |
| 1127 switches::kEnableCompositingForFixedPosition, | 1126 switches::kEnableCompositingForFixedPosition, |
| 1128 switches::kEnableCompositingForTransition, | 1127 switches::kEnableCompositingForTransition, |
| 1129 switches::kEnableDeferredImageDecoding, | 1128 switches::kEnableDeferredImageDecoding, |
| 1130 switches::kEnableDistanceFieldText, | 1129 switches::kEnableDistanceFieldText, |
| (...skipping 19 matching lines...) Expand all Loading... |
| 1150 switches::kEnablePreciseMemoryInfo, | 1149 switches::kEnablePreciseMemoryInfo, |
| 1151 switches::kEnablePreparsedJsCaching, | 1150 switches::kEnablePreparsedJsCaching, |
| 1152 switches::kEnableRepaintAfterLayout, | 1151 switches::kEnableRepaintAfterLayout, |
| 1153 switches::kEnableSeccompFilterSandbox, | 1152 switches::kEnableSeccompFilterSandbox, |
| 1154 switches::kEnableServiceWorker, | 1153 switches::kEnableServiceWorker, |
| 1155 switches::kEnableSkiaBenchmarking, | 1154 switches::kEnableSkiaBenchmarking, |
| 1156 switches::kEnableSpeechSynthesis, | 1155 switches::kEnableSpeechSynthesis, |
| 1157 switches::kEnableStatsTable, | 1156 switches::kEnableStatsTable, |
| 1158 switches::kEnableStrictSiteIsolation, | 1157 switches::kEnableStrictSiteIsolation, |
| 1159 switches::kEnableTargetedStyleRecalc, | 1158 switches::kEnableTargetedStyleRecalc, |
| 1160 switches::kEnableUniversalAcceleratedOverflowScroll, | |
| 1161 switches::kEnableTouchDragDrop, | 1159 switches::kEnableTouchDragDrop, |
| 1162 switches::kEnableTouchEditing, | 1160 switches::kEnableTouchEditing, |
| 1163 switches::kEnableViewport, | 1161 switches::kEnableViewport, |
| 1164 switches::kEnableViewportMeta, | 1162 switches::kEnableViewportMeta, |
| 1165 switches::kMainFrameResizesAreOrientationChanges, | 1163 switches::kMainFrameResizesAreOrientationChanges, |
| 1166 switches::kEnableVtune, | 1164 switches::kEnableVtune, |
| 1167 switches::kEnableWebAnimationsSVG, | 1165 switches::kEnableWebAnimationsSVG, |
| 1168 switches::kEnableWebGLDraftExtensions, | 1166 switches::kEnableWebGLDraftExtensions, |
| 1169 switches::kEnableWebGLImageChromium, | 1167 switches::kEnableWebGLImageChromium, |
| 1170 switches::kEnableWebMIDI, | 1168 switches::kEnableWebMIDI, |
| (...skipping 1131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2302 void RenderProcessHostImpl::GpuMemoryBufferAllocated( | 2300 void RenderProcessHostImpl::GpuMemoryBufferAllocated( |
| 2303 IPC::Message* reply, | 2301 IPC::Message* reply, |
| 2304 const gfx::GpuMemoryBufferHandle& handle) { | 2302 const gfx::GpuMemoryBufferHandle& handle) { |
| 2305 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 2303 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
| 2306 ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer::WriteReplyParams(reply, | 2304 ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer::WriteReplyParams(reply, |
| 2307 handle); | 2305 handle); |
| 2308 Send(reply); | 2306 Send(reply); |
| 2309 } | 2307 } |
| 2310 | 2308 |
| 2311 } // namespace content | 2309 } // namespace content |
| OLD | NEW |