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 1181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1192 switches::kUseGL, | 1192 switches::kUseGL, |
1193 switches::kUseMobileUserAgent, | 1193 switches::kUseMobileUserAgent, |
1194 switches::kV, | 1194 switches::kV, |
1195 switches::kVideoThreads, | 1195 switches::kVideoThreads, |
1196 switches::kVModule, | 1196 switches::kVModule, |
1197 // Please keep these in alphabetical order. Compositor switches here should | 1197 // Please keep these in alphabetical order. Compositor switches here should |
1198 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. | 1198 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. |
1199 cc::switches::kCompositeToMailbox, | 1199 cc::switches::kCompositeToMailbox, |
1200 cc::switches::kDisableCompositedAntialiasing, | 1200 cc::switches::kDisableCompositedAntialiasing, |
1201 cc::switches::kDisableMainFrameBeforeActivation, | 1201 cc::switches::kDisableMainFrameBeforeActivation, |
1202 cc::switches::kDisableMainFrameBeforeDraw, | |
1203 cc::switches::kDisableThreadedAnimation, | 1202 cc::switches::kDisableThreadedAnimation, |
1204 cc::switches::kEnableGpuBenchmarking, | 1203 cc::switches::kEnableGpuBenchmarking, |
1205 cc::switches::kEnableMainFrameBeforeActivation, | 1204 cc::switches::kEnableMainFrameBeforeActivation, |
1206 cc::switches::kEnableTopControlsPositionCalculation, | 1205 cc::switches::kEnableTopControlsPositionCalculation, |
1207 cc::switches::kMaxTilesForInterestArea, | 1206 cc::switches::kMaxTilesForInterestArea, |
1208 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 1207 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
1209 cc::switches::kShowCompositedLayerBorders, | 1208 cc::switches::kShowCompositedLayerBorders, |
1210 cc::switches::kShowFPSCounter, | 1209 cc::switches::kShowFPSCounter, |
1211 cc::switches::kShowLayerAnimationBounds, | 1210 cc::switches::kShowLayerAnimationBounds, |
1212 cc::switches::kShowNonOccludingRects, | 1211 cc::switches::kShowNonOccludingRects, |
(...skipping 1033 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2246 if (worker_ref_count_ == 0) | 2245 if (worker_ref_count_ == 0) |
2247 Cleanup(); | 2246 Cleanup(); |
2248 } | 2247 } |
2249 | 2248 |
2250 void RenderProcessHostImpl::EnsureMojoActivated() { | 2249 void RenderProcessHostImpl::EnsureMojoActivated() { |
2251 mojo_activation_required_ = true; | 2250 mojo_activation_required_ = true; |
2252 MaybeActivateMojo(); | 2251 MaybeActivateMojo(); |
2253 } | 2252 } |
2254 | 2253 |
2255 } // namespace content | 2254 } // namespace content |
OLD | NEW |