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 1079 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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::kEnableSeccompFilterSandbox, |
1098 switches::kEnableServiceWorker, | 1098 switches::kEnableServiceWorker, |
1099 switches::kEnableSkiaBenchmarking, | 1099 switches::kEnableSkiaBenchmarking, |
1100 switches::kEnableSoftwareCompositing, | |
1101 switches::kEnableSpeechSynthesis, | 1100 switches::kEnableSpeechSynthesis, |
1102 switches::kEnableStatsTable, | 1101 switches::kEnableStatsTable, |
1103 switches::kEnableStrictSiteIsolation, | 1102 switches::kEnableStrictSiteIsolation, |
1104 switches::kEnableTargetedStyleRecalc, | 1103 switches::kEnableTargetedStyleRecalc, |
1105 switches::kEnableUniversalAcceleratedOverflowScroll, | 1104 switches::kEnableUniversalAcceleratedOverflowScroll, |
1106 switches::kEnableTouchDragDrop, | 1105 switches::kEnableTouchDragDrop, |
1107 switches::kEnableTouchEditing, | 1106 switches::kEnableTouchEditing, |
1108 switches::kEnableViewport, | 1107 switches::kEnableViewport, |
1109 switches::kEnableViewportMeta, | 1108 switches::kEnableViewportMeta, |
1110 switches::kMainFrameResizesAreOrientationChanges, | 1109 switches::kMainFrameResizesAreOrientationChanges, |
(...skipping 1028 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2139 | 2138 |
2140 void RenderProcessHostImpl::SetWebUIHandle( | 2139 void RenderProcessHostImpl::SetWebUIHandle( |
2141 int32 view_routing_id, | 2140 int32 view_routing_id, |
2142 mojo::ScopedMessagePipeHandle handle) { | 2141 mojo::ScopedMessagePipeHandle handle) { |
2143 if (!render_process_host_mojo_) | 2142 if (!render_process_host_mojo_) |
2144 render_process_host_mojo_.reset(new RenderProcessHostMojoImpl(this)); | 2143 render_process_host_mojo_.reset(new RenderProcessHostMojoImpl(this)); |
2145 render_process_host_mojo_->SetWebUIHandle(view_routing_id, handle.Pass()); | 2144 render_process_host_mojo_->SetWebUIHandle(view_routing_id, handle.Pass()); |
2146 } | 2145 } |
2147 | 2146 |
2148 } // namespace content | 2147 } // namespace content |
OLD | NEW |