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::kDisableTouchDragDrop, | 1058 switches::kDisableTouchDragDrop, |
1059 switches::kDisableTouchEditing, | 1059 switches::kDisableTouchEditing, |
1060 switches::kDisableUniversalAcceleratedOverflowScroll, | 1060 switches::kDisableUniversalAcceleratedOverflowScroll, |
1061 switches::kDisableUnprefixedMediaSource, | 1061 switches::kDisableUnprefixedMediaSource, |
1062 switches::kDisableWebKitMediaSource, | 1062 switches::kDisableWebKitMediaSource, |
1063 switches::kDomAutomationController, | 1063 switches::kDomAutomationController, |
1064 switches::kEnableAcceleratedFixedRootBackground, | 1064 switches::kEnableAcceleratedFixedRootBackground, |
1065 switches::kEnableAcceleratedOverflowScroll, | 1065 switches::kEnableAcceleratedOverflowScroll, |
1066 switches::kEnableAccessibilityLogging, | 1066 switches::kEnableAccessibilityLogging, |
1067 switches::kEnableADTSStreamParser, | 1067 switches::kEnableADTSStreamParser, |
| 1068 switches::kEnableAndroidSeccompBPF, |
1068 switches::kEnableBeginFrameScheduling, | 1069 switches::kEnableBeginFrameScheduling, |
1069 switches::kEnableBleedingEdgeRenderingFastPaths, | 1070 switches::kEnableBleedingEdgeRenderingFastPaths, |
1070 switches::kEnableBrowserPluginForAllViewTypes, | 1071 switches::kEnableBrowserPluginForAllViewTypes, |
1071 switches::kEnableCompositingForFixedPosition, | 1072 switches::kEnableCompositingForFixedPosition, |
1072 switches::kEnableCompositingForTransition, | 1073 switches::kEnableCompositingForTransition, |
1073 switches::kEnableDeferredImageDecoding, | 1074 switches::kEnableDeferredImageDecoding, |
1074 switches::kEnableEncryptedMedia, | 1075 switches::kEnableEncryptedMedia, |
1075 switches::kEnableExperimentalCanvasFeatures, | 1076 switches::kEnableExperimentalCanvasFeatures, |
1076 switches::kEnableExperimentalWebPlatformFeatures, | 1077 switches::kEnableExperimentalWebPlatformFeatures, |
1077 switches::kEnableFastTextAutosizing, | 1078 switches::kEnableFastTextAutosizing, |
(...skipping 1071 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2149 | 2150 |
2150 void RenderProcessHostImpl::SetWebUIHandle( | 2151 void RenderProcessHostImpl::SetWebUIHandle( |
2151 int32 view_routing_id, | 2152 int32 view_routing_id, |
2152 mojo::ScopedMessagePipeHandle handle) { | 2153 mojo::ScopedMessagePipeHandle handle) { |
2153 if (!render_process_host_mojo_) | 2154 if (!render_process_host_mojo_) |
2154 render_process_host_mojo_.reset(new RenderProcessHostMojoImpl(this)); | 2155 render_process_host_mojo_.reset(new RenderProcessHostMojoImpl(this)); |
2155 render_process_host_mojo_->SetWebUIHandle(view_routing_id, handle.Pass()); | 2156 render_process_host_mojo_->SetWebUIHandle(view_routing_id, handle.Pass()); |
2156 } | 2157 } |
2157 | 2158 |
2158 } // namespace content | 2159 } // namespace content |
OLD | NEW |