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 1047 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1058 switches::kDisableUniversalAcceleratedOverflowScroll, | 1058 switches::kDisableUniversalAcceleratedOverflowScroll, |
1059 switches::kDisableUnprefixedMediaSource, | 1059 switches::kDisableUnprefixedMediaSource, |
1060 switches::kDisableWebKitMediaSource, | 1060 switches::kDisableWebKitMediaSource, |
1061 switches::kDomAutomationController, | 1061 switches::kDomAutomationController, |
1062 switches::kEnableAcceleratedFixedRootBackground, | 1062 switches::kEnableAcceleratedFixedRootBackground, |
1063 switches::kEnableAcceleratedOverflowScroll, | 1063 switches::kEnableAcceleratedOverflowScroll, |
1064 switches::kEnableAccessibilityLogging, | 1064 switches::kEnableAccessibilityLogging, |
1065 switches::kEnableADTSStreamParser, | 1065 switches::kEnableADTSStreamParser, |
1066 switches::kEnableBeginFrameScheduling, | 1066 switches::kEnableBeginFrameScheduling, |
1067 switches::kEnableBleedingEdgeRenderingFastPaths, | 1067 switches::kEnableBleedingEdgeRenderingFastPaths, |
1068 switches::kEnableBrowserPluginForAllViewTypes, | |
1069 switches::kEnableCompositingForFixedPosition, | 1068 switches::kEnableCompositingForFixedPosition, |
1070 switches::kEnableCompositingForTransition, | 1069 switches::kEnableCompositingForTransition, |
1071 switches::kEnableDeferredImageDecoding, | 1070 switches::kEnableDeferredImageDecoding, |
1072 switches::kEnableEncryptedMedia, | 1071 switches::kEnableEncryptedMedia, |
1073 switches::kEnableExperimentalCanvasFeatures, | 1072 switches::kEnableExperimentalCanvasFeatures, |
1074 switches::kEnableExperimentalWebPlatformFeatures, | 1073 switches::kEnableExperimentalWebPlatformFeatures, |
1075 switches::kEnableFastTextAutosizing, | 1074 switches::kEnableFastTextAutosizing, |
1076 switches::kEnableGPUClientLogging, | 1075 switches::kEnableGPUClientLogging, |
1077 switches::kEnableGpuClientTracing, | 1076 switches::kEnableGpuClientTracing, |
1078 switches::kEnableGPUServiceLogging, | 1077 switches::kEnableGPUServiceLogging, |
(...skipping 1056 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2135 | 2134 |
2136 void RenderProcessHostImpl::SetWebUIHandle( | 2135 void RenderProcessHostImpl::SetWebUIHandle( |
2137 int32 view_routing_id, | 2136 int32 view_routing_id, |
2138 mojo::ScopedMessagePipeHandle handle) { | 2137 mojo::ScopedMessagePipeHandle handle) { |
2139 if (!render_process_host_mojo_) | 2138 if (!render_process_host_mojo_) |
2140 render_process_host_mojo_.reset(new RenderProcessHostMojoImpl(this)); | 2139 render_process_host_mojo_.reset(new RenderProcessHostMojoImpl(this)); |
2141 render_process_host_mojo_->SetWebUIHandle(view_routing_id, handle.Pass()); | 2140 render_process_host_mojo_->SetWebUIHandle(view_routing_id, handle.Pass()); |
2142 } | 2141 } |
2143 | 2142 |
2144 } // namespace content | 2143 } // namespace content |
OLD | NEW |