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 1122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1133 switches::kTouchEvents, | 1133 switches::kTouchEvents, |
1134 switches::kTraceToConsole, | 1134 switches::kTraceToConsole, |
1135 switches::kUseDiscardableMemory, | 1135 switches::kUseDiscardableMemory, |
1136 // This flag needs to be propagated to the renderer process for | 1136 // This flag needs to be propagated to the renderer process for |
1137 // --in-process-webgl. | 1137 // --in-process-webgl. |
1138 switches::kUseGL, | 1138 switches::kUseGL, |
1139 switches::kUseMobileUserAgent, | 1139 switches::kUseMobileUserAgent, |
1140 switches::kV, | 1140 switches::kV, |
1141 switches::kVideoThreads, | 1141 switches::kVideoThreads, |
1142 switches::kVModule, | 1142 switches::kVModule, |
1143 switches::kWebGLCommandBufferSizeKb, | |
1144 // Please keep these in alphabetical order. Compositor switches here should | 1143 // Please keep these in alphabetical order. Compositor switches here should |
1145 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. | 1144 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. |
1146 cc::switches::kCompositeToMailbox, | 1145 cc::switches::kCompositeToMailbox, |
1147 cc::switches::kDisableCompositedAntialiasing, | 1146 cc::switches::kDisableCompositedAntialiasing, |
1148 cc::switches::kDisableCompositorTouchHitTesting, | 1147 cc::switches::kDisableCompositorTouchHitTesting, |
1149 cc::switches::kDisableMainFrameBeforeActivation, | 1148 cc::switches::kDisableMainFrameBeforeActivation, |
1150 cc::switches::kDisableMainFrameBeforeDraw, | 1149 cc::switches::kDisableMainFrameBeforeDraw, |
1151 cc::switches::kDisableThreadedAnimation, | 1150 cc::switches::kDisableThreadedAnimation, |
1152 cc::switches::kEnableGpuBenchmarking, | 1151 cc::switches::kEnableGpuBenchmarking, |
1153 cc::switches::kEnableMainFrameBeforeActivation, | 1152 cc::switches::kEnableMainFrameBeforeActivation, |
(...skipping 921 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2075 mojo::ScopedMessagePipeHandle handle) { | 2074 mojo::ScopedMessagePipeHandle handle) { |
2076 mojo_activation_required_ = true; | 2075 mojo_activation_required_ = true; |
2077 MaybeActivateMojo(); | 2076 MaybeActivateMojo(); |
2078 | 2077 |
2079 mojo::AllocationScope scope; | 2078 mojo::AllocationScope scope; |
2080 mojo_application_host_->shell_client()->AcceptConnection(service_name, | 2079 mojo_application_host_->shell_client()->AcceptConnection(service_name, |
2081 handle.Pass()); | 2080 handle.Pass()); |
2082 } | 2081 } |
2083 | 2082 |
2084 } // namespace content | 2083 } // namespace content |
OLD | NEW |