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 1058 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1069 // Propagate the following switches to the renderer command line (along | 1069 // Propagate the following switches to the renderer command line (along |
1070 // with any associated values) if present in the browser command line. | 1070 // with any associated values) if present in the browser command line. |
1071 static const char* const kSwitchNames[] = { | 1071 static const char* const kSwitchNames[] = { |
1072 switches::kAllowInsecureWebSocketFromHttpsOrigin, | 1072 switches::kAllowInsecureWebSocketFromHttpsOrigin, |
1073 switches::kAllowLoopbackInPeerConnection, | 1073 switches::kAllowLoopbackInPeerConnection, |
1074 switches::kAudioBufferSize, | 1074 switches::kAudioBufferSize, |
1075 switches::kAuditAllHandles, | 1075 switches::kAuditAllHandles, |
1076 switches::kAuditHandles, | 1076 switches::kAuditHandles, |
1077 switches::kBlinkPlatformLogChannels, | 1077 switches::kBlinkPlatformLogChannels, |
1078 switches::kBlockCrossSiteDocuments, | 1078 switches::kBlockCrossSiteDocuments, |
| 1079 switches::kConnectionTimeout, |
1079 switches::kDefaultTileWidth, | 1080 switches::kDefaultTileWidth, |
1080 switches::kDefaultTileHeight, | 1081 switches::kDefaultTileHeight, |
1081 switches::kDisable3DAPIs, | 1082 switches::kDisable3DAPIs, |
1082 switches::kDisableAcceleratedFixedRootBackground, | 1083 switches::kDisableAcceleratedFixedRootBackground, |
1083 switches::kDisableAcceleratedOverflowScroll, | 1084 switches::kDisableAcceleratedOverflowScroll, |
1084 switches::kDisableAcceleratedVideoDecode, | 1085 switches::kDisableAcceleratedVideoDecode, |
1085 switches::kDisableApplicationCache, | 1086 switches::kDisableApplicationCache, |
1086 switches::kDisableBreakpad, | 1087 switches::kDisableBreakpad, |
1087 switches::kDisableCompositingForFixedPosition, | 1088 switches::kDisableCompositingForFixedPosition, |
1088 switches::kDisableCompositingForTransition, | 1089 switches::kDisableCompositingForTransition, |
(...skipping 1200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2289 void RenderProcessHostImpl::GpuMemoryBufferAllocated( | 2290 void RenderProcessHostImpl::GpuMemoryBufferAllocated( |
2290 IPC::Message* reply, | 2291 IPC::Message* reply, |
2291 const gfx::GpuMemoryBufferHandle& handle) { | 2292 const gfx::GpuMemoryBufferHandle& handle) { |
2292 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 2293 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
2293 ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer::WriteReplyParams(reply, | 2294 ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer::WriteReplyParams(reply, |
2294 handle); | 2295 handle); |
2295 Send(reply); | 2296 Send(reply); |
2296 } | 2297 } |
2297 | 2298 |
2298 } // namespace content | 2299 } // namespace content |
OLD | NEW |