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 1094 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1105 switches::kDisableLowResTiling, | 1105 switches::kDisableLowResTiling, |
1106 switches::kDisableHistogramCustomizer, | 1106 switches::kDisableHistogramCustomizer, |
1107 switches::kDisableLCDText, | 1107 switches::kDisableLCDText, |
1108 switches::kDisableLayerSquashing, | 1108 switches::kDisableLayerSquashing, |
1109 switches::kDisableLocalStorage, | 1109 switches::kDisableLocalStorage, |
1110 switches::kDisableLogging, | 1110 switches::kDisableLogging, |
1111 switches::kDisableMediaSource, | 1111 switches::kDisableMediaSource, |
1112 switches::kDisableOverlayScrollbar, | 1112 switches::kDisableOverlayScrollbar, |
1113 switches::kDisablePinch, | 1113 switches::kDisablePinch, |
1114 switches::kDisablePrefixedEncryptedMedia, | 1114 switches::kDisablePrefixedEncryptedMedia, |
1115 switches::kDisableRepaintAfterLayout, | |
1116 switches::kDisableSeccompFilterSandbox, | 1115 switches::kDisableSeccompFilterSandbox, |
1117 switches::kDisableSessionStorage, | 1116 switches::kDisableSessionStorage, |
1118 switches::kDisableSharedWorkers, | 1117 switches::kDisableSharedWorkers, |
1119 switches::kDisableTouchAdjustment, | 1118 switches::kDisableTouchAdjustment, |
1120 switches::kDisableTouchDragDrop, | 1119 switches::kDisableTouchDragDrop, |
1121 switches::kDisableTouchEditing, | 1120 switches::kDisableTouchEditing, |
1122 switches::kDisableZeroCopy, | 1121 switches::kDisableZeroCopy, |
1123 switches::kDomAutomationController, | 1122 switches::kDomAutomationController, |
1124 switches::kEnableAcceleratedFixedRootBackground, | 1123 switches::kEnableAcceleratedFixedRootBackground, |
1125 switches::kEnableAcceleratedOverflowScroll, | 1124 switches::kEnableAcceleratedOverflowScroll, |
(...skipping 17 matching lines...) Expand all Loading... |
1143 switches::kEnableLayerSquashing, | 1142 switches::kEnableLayerSquashing, |
1144 switches::kEnableLogging, | 1143 switches::kEnableLogging, |
1145 switches::kEnableMemoryBenchmarking, | 1144 switches::kEnableMemoryBenchmarking, |
1146 switches::kEnableOneCopy, | 1145 switches::kEnableOneCopy, |
1147 switches::kEnableOverlayFullscreenVideo, | 1146 switches::kEnableOverlayFullscreenVideo, |
1148 switches::kEnableOverlayScrollbar, | 1147 switches::kEnableOverlayScrollbar, |
1149 switches::kEnableOverscrollNotifications, | 1148 switches::kEnableOverscrollNotifications, |
1150 switches::kEnablePinch, | 1149 switches::kEnablePinch, |
1151 switches::kEnablePreciseMemoryInfo, | 1150 switches::kEnablePreciseMemoryInfo, |
1152 switches::kEnablePreparsedJsCaching, | 1151 switches::kEnablePreparsedJsCaching, |
1153 switches::kEnableRepaintAfterLayout, | |
1154 switches::kEnableSeccompFilterSandbox, | 1152 switches::kEnableSeccompFilterSandbox, |
1155 switches::kEnableSkiaBenchmarking, | 1153 switches::kEnableSkiaBenchmarking, |
1156 switches::kEnableSpeechSynthesis, | 1154 switches::kEnableSpeechSynthesis, |
1157 switches::kEnableStatsTable, | 1155 switches::kEnableStatsTable, |
1158 switches::kEnableStrictSiteIsolation, | 1156 switches::kEnableStrictSiteIsolation, |
1159 switches::kEnableTargetedStyleRecalc, | 1157 switches::kEnableTargetedStyleRecalc, |
1160 switches::kEnableTouchDragDrop, | 1158 switches::kEnableTouchDragDrop, |
1161 switches::kEnableTouchEditing, | 1159 switches::kEnableTouchEditing, |
1162 switches::kEnableViewport, | 1160 switches::kEnableViewport, |
1163 switches::kEnableViewportMeta, | 1161 switches::kEnableViewportMeta, |
(...skipping 1200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2364 void RenderProcessHostImpl::GpuMemoryBufferAllocated( | 2362 void RenderProcessHostImpl::GpuMemoryBufferAllocated( |
2365 IPC::Message* reply, | 2363 IPC::Message* reply, |
2366 const gfx::GpuMemoryBufferHandle& handle) { | 2364 const gfx::GpuMemoryBufferHandle& handle) { |
2367 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 2365 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
2368 ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer::WriteReplyParams(reply, | 2366 ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer::WriteReplyParams(reply, |
2369 handle); | 2367 handle); |
2370 Send(reply); | 2368 Send(reply); |
2371 } | 2369 } |
2372 | 2370 |
2373 } // namespace content | 2371 } // namespace content |
OLD | NEW |