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 1076 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1087 switches::kEnableLayerSquashing, | 1087 switches::kEnableLayerSquashing, |
1088 switches::kEnableLogging, | 1088 switches::kEnableLogging, |
1089 switches::kEnableMapImage, | 1089 switches::kEnableMapImage, |
1090 switches::kEnableMemoryBenchmarking, | 1090 switches::kEnableMemoryBenchmarking, |
1091 switches::kEnableOverlayFullscreenVideo, | 1091 switches::kEnableOverlayFullscreenVideo, |
1092 switches::kEnableOverlayScrollbar, | 1092 switches::kEnableOverlayScrollbar, |
1093 switches::kEnableOverscrollNotifications, | 1093 switches::kEnableOverscrollNotifications, |
1094 switches::kEnablePinch, | 1094 switches::kEnablePinch, |
1095 switches::kEnablePreparsedJsCaching, | 1095 switches::kEnablePreparsedJsCaching, |
1096 switches::kEnableRepaintAfterLayout, | 1096 switches::kEnableRepaintAfterLayout, |
| 1097 switches::kEnableSeccompFilterSandbox, |
1097 switches::kEnableServiceWorker, | 1098 switches::kEnableServiceWorker, |
1098 switches::kEnableSkiaBenchmarking, | 1099 switches::kEnableSkiaBenchmarking, |
1099 switches::kEnableSoftwareCompositing, | 1100 switches::kEnableSoftwareCompositing, |
1100 switches::kEnableSpeechSynthesis, | 1101 switches::kEnableSpeechSynthesis, |
1101 switches::kEnableStatsTable, | 1102 switches::kEnableStatsTable, |
1102 switches::kEnableStrictSiteIsolation, | 1103 switches::kEnableStrictSiteIsolation, |
1103 switches::kEnableTargetedStyleRecalc, | 1104 switches::kEnableTargetedStyleRecalc, |
1104 switches::kEnableUniversalAcceleratedOverflowScroll, | 1105 switches::kEnableUniversalAcceleratedOverflowScroll, |
1105 switches::kEnableTouchDragDrop, | 1106 switches::kEnableTouchDragDrop, |
1106 switches::kEnableTouchEditing, | 1107 switches::kEnableTouchEditing, |
(...skipping 1044 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 |