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