| 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 1024 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1035 switches::kDisablePrefixedEncryptedMedia, | 1035 switches::kDisablePrefixedEncryptedMedia, |
| 1036 switches::kDisableRepaintAfterLayout, | 1036 switches::kDisableRepaintAfterLayout, |
| 1037 switches::kDisableSeccompFilterSandbox, | 1037 switches::kDisableSeccompFilterSandbox, |
| 1038 switches::kDisableSessionStorage, | 1038 switches::kDisableSessionStorage, |
| 1039 switches::kDisableSharedWorkers, | 1039 switches::kDisableSharedWorkers, |
| 1040 switches::kDisableSpeechInput, | 1040 switches::kDisableSpeechInput, |
| 1041 switches::kDisableTouchAdjustment, | 1041 switches::kDisableTouchAdjustment, |
| 1042 switches::kDisableTouchDragDrop, | 1042 switches::kDisableTouchDragDrop, |
| 1043 switches::kDisableTouchEditing, | 1043 switches::kDisableTouchEditing, |
| 1044 switches::kDisableUniversalAcceleratedOverflowScroll, | 1044 switches::kDisableUniversalAcceleratedOverflowScroll, |
| 1045 switches::kDisableZeroCopy, |
| 1045 switches::kDomAutomationController, | 1046 switches::kDomAutomationController, |
| 1046 switches::kEnableAcceleratedFixedRootBackground, | 1047 switches::kEnableAcceleratedFixedRootBackground, |
| 1047 switches::kEnableAcceleratedOverflowScroll, | 1048 switches::kEnableAcceleratedOverflowScroll, |
| 1048 switches::kEnableAccessibilityLogging, | 1049 switches::kEnableAccessibilityLogging, |
| 1049 switches::kEnableADTSStreamParser, | 1050 switches::kEnableADTSStreamParser, |
| 1050 switches::kEnableBeginFrameScheduling, | 1051 switches::kEnableBeginFrameScheduling, |
| 1051 switches::kEnableBleedingEdgeRenderingFastPaths, | 1052 switches::kEnableBleedingEdgeRenderingFastPaths, |
| 1052 switches::kEnableBrowserPluginForAllViewTypes, | 1053 switches::kEnableBrowserPluginForAllViewTypes, |
| 1053 switches::kEnableCompositingForFixedPosition, | 1054 switches::kEnableCompositingForFixedPosition, |
| 1054 switches::kEnableCompositingForTransition, | 1055 switches::kEnableCompositingForTransition, |
| (...skipping 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2119 | 2120 |
| 2120 void RenderProcessHostImpl::SetWebUIHandle( | 2121 void RenderProcessHostImpl::SetWebUIHandle( |
| 2121 int32 view_routing_id, | 2122 int32 view_routing_id, |
| 2122 mojo::ScopedMessagePipeHandle handle) { | 2123 mojo::ScopedMessagePipeHandle handle) { |
| 2123 if (!render_process_host_mojo_) | 2124 if (!render_process_host_mojo_) |
| 2124 render_process_host_mojo_.reset(new RenderProcessHostMojoImpl(this)); | 2125 render_process_host_mojo_.reset(new RenderProcessHostMojoImpl(this)); |
| 2125 render_process_host_mojo_->SetWebUIHandle(view_routing_id, handle.Pass()); | 2126 render_process_host_mojo_->SetWebUIHandle(view_routing_id, handle.Pass()); |
| 2126 } | 2127 } |
| 2127 | 2128 |
| 2128 } // namespace content | 2129 } // namespace content |
| OLD | NEW |