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 1062 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1073 switches::kEnableADTSStreamParser, | 1073 switches::kEnableADTSStreamParser, |
1074 switches::kEnableBeginFrameScheduling, | 1074 switches::kEnableBeginFrameScheduling, |
1075 switches::kEnableBleedingEdgeRenderingFastPaths, | 1075 switches::kEnableBleedingEdgeRenderingFastPaths, |
1076 switches::kEnableBrowserPluginForAllViewTypes, | 1076 switches::kEnableBrowserPluginForAllViewTypes, |
1077 switches::kEnableCompositingForFixedPosition, | 1077 switches::kEnableCompositingForFixedPosition, |
1078 switches::kEnableCompositingForTransition, | 1078 switches::kEnableCompositingForTransition, |
1079 switches::kEnableDeferredImageDecoding, | 1079 switches::kEnableDeferredImageDecoding, |
1080 switches::kEnableEncryptedMedia, | 1080 switches::kEnableEncryptedMedia, |
1081 switches::kEnableExperimentalCanvasFeatures, | 1081 switches::kEnableExperimentalCanvasFeatures, |
1082 switches::kEnableExperimentalWebPlatformFeatures, | 1082 switches::kEnableExperimentalWebPlatformFeatures, |
1083 switches::kEnableExperimentalWebSocket, | |
1084 switches::kEnableFastTextAutosizing, | 1083 switches::kEnableFastTextAutosizing, |
1085 switches::kEnableGPUClientLogging, | 1084 switches::kEnableGPUClientLogging, |
1086 switches::kEnableGpuClientTracing, | 1085 switches::kEnableGpuClientTracing, |
1087 switches::kEnableGPUServiceLogging, | 1086 switches::kEnableGPUServiceLogging, |
1088 switches::kEnableHighDpiCompositingForFixedPosition, | 1087 switches::kEnableHighDpiCompositingForFixedPosition, |
1089 switches::kEnableHTMLImports, | 1088 switches::kEnableHTMLImports, |
1090 switches::kEnableLowResTiling, | 1089 switches::kEnableLowResTiling, |
1091 switches::kEnableInbandTextTracks, | 1090 switches::kEnableInbandTextTracks, |
1092 switches::kEnableLCDText, | 1091 switches::kEnableLCDText, |
1093 switches::kEnableLayerSquashing, | 1092 switches::kEnableLayerSquashing, |
(...skipping 1070 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2164 void RenderProcessHostImpl::SetWebUIHandle( | 2163 void RenderProcessHostImpl::SetWebUIHandle( |
2165 int32 view_routing_id, | 2164 int32 view_routing_id, |
2166 mojo::ScopedMessagePipeHandle handle) { | 2165 mojo::ScopedMessagePipeHandle handle) { |
2167 if (!render_process_host_mojo_) | 2166 if (!render_process_host_mojo_) |
2168 render_process_host_mojo_.reset(new RenderProcessHostMojoImpl(this)); | 2167 render_process_host_mojo_.reset(new RenderProcessHostMojoImpl(this)); |
2169 render_process_host_mojo_->SetWebUIHandle(view_routing_id, handle.Pass()); | 2168 render_process_host_mojo_->SetWebUIHandle(view_routing_id, handle.Pass()); |
2170 } | 2169 } |
2171 #endif | 2170 #endif |
2172 | 2171 |
2173 } // namespace content | 2172 } // namespace content |
OLD | NEW |