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 1037 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1048 switches::kDisableTouchDragDrop, | 1048 switches::kDisableTouchDragDrop, |
1049 switches::kDisableTouchEditing, | 1049 switches::kDisableTouchEditing, |
1050 switches::kDisableUniversalAcceleratedOverflowScroll, | 1050 switches::kDisableUniversalAcceleratedOverflowScroll, |
1051 switches::kDomAutomationController, | 1051 switches::kDomAutomationController, |
1052 switches::kEnableAcceleratedFixedRootBackground, | 1052 switches::kEnableAcceleratedFixedRootBackground, |
1053 switches::kEnableAcceleratedOverflowScroll, | 1053 switches::kEnableAcceleratedOverflowScroll, |
1054 switches::kEnableAccessibilityLogging, | 1054 switches::kEnableAccessibilityLogging, |
1055 switches::kEnableADTSStreamParser, | 1055 switches::kEnableADTSStreamParser, |
1056 switches::kEnableBeginFrameScheduling, | 1056 switches::kEnableBeginFrameScheduling, |
1057 switches::kEnableBleedingEdgeRenderingFastPaths, | 1057 switches::kEnableBleedingEdgeRenderingFastPaths, |
1058 switches::kEnableBrowserPluginForAllViewTypes, | |
1059 switches::kEnableCompositingForFixedPosition, | 1058 switches::kEnableCompositingForFixedPosition, |
1060 switches::kEnableCompositingForTransition, | 1059 switches::kEnableCompositingForTransition, |
1061 switches::kEnableDeferredImageDecoding, | 1060 switches::kEnableDeferredImageDecoding, |
1062 switches::kEnableEncryptedMedia, | 1061 switches::kEnableEncryptedMedia, |
1063 switches::kEnableExperimentalCanvasFeatures, | 1062 switches::kEnableExperimentalCanvasFeatures, |
1064 switches::kEnableExperimentalWebPlatformFeatures, | 1063 switches::kEnableExperimentalWebPlatformFeatures, |
1065 switches::kEnableFastTextAutosizing, | 1064 switches::kEnableFastTextAutosizing, |
1066 switches::kEnableGPUClientLogging, | 1065 switches::kEnableGPUClientLogging, |
1067 switches::kEnableGpuClientTracing, | 1066 switches::kEnableGpuClientTracing, |
1068 switches::kEnableGPUServiceLogging, | 1067 switches::kEnableGPUServiceLogging, |
(...skipping 998 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2067 mojo::ScopedMessagePipeHandle handle) { | 2066 mojo::ScopedMessagePipeHandle handle) { |
2068 if (!mojo_application_host_->did_activate()) | 2067 if (!mojo_application_host_->did_activate()) |
2069 mojo_application_host_->Activate(this, GetHandle()); | 2068 mojo_application_host_->Activate(this, GetHandle()); |
2070 | 2069 |
2071 mojo::AllocationScope scope; | 2070 mojo::AllocationScope scope; |
2072 mojo_application_host_->shell_client()->AcceptConnection(service_name, | 2071 mojo_application_host_->shell_client()->AcceptConnection(service_name, |
2073 handle.Pass()); | 2072 handle.Pass()); |
2074 } | 2073 } |
2075 | 2074 |
2076 } // namespace content | 2075 } // namespace content |
OLD | NEW |