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 1182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1193 // --in-process-webgl. | 1193 // --in-process-webgl. |
1194 switches::kUseGL, | 1194 switches::kUseGL, |
1195 switches::kUseMobileUserAgent, | 1195 switches::kUseMobileUserAgent, |
1196 switches::kV, | 1196 switches::kV, |
1197 switches::kVideoThreads, | 1197 switches::kVideoThreads, |
1198 switches::kVModule, | 1198 switches::kVModule, |
1199 // Please keep these in alphabetical order. Compositor switches here should | 1199 // Please keep these in alphabetical order. Compositor switches here should |
1200 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. | 1200 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. |
1201 cc::switches::kCompositeToMailbox, | 1201 cc::switches::kCompositeToMailbox, |
1202 cc::switches::kDisableCompositedAntialiasing, | 1202 cc::switches::kDisableCompositedAntialiasing, |
1203 cc::switches::kDisableCompositorTouchHitTesting, | |
1204 cc::switches::kDisableMainFrameBeforeActivation, | 1203 cc::switches::kDisableMainFrameBeforeActivation, |
1205 cc::switches::kDisableMainFrameBeforeDraw, | 1204 cc::switches::kDisableMainFrameBeforeDraw, |
1206 cc::switches::kDisableThreadedAnimation, | 1205 cc::switches::kDisableThreadedAnimation, |
1207 cc::switches::kEnableGpuBenchmarking, | 1206 cc::switches::kEnableGpuBenchmarking, |
1208 cc::switches::kEnableMainFrameBeforeActivation, | 1207 cc::switches::kEnableMainFrameBeforeActivation, |
1209 cc::switches::kEnableTopControlsPositionCalculation, | 1208 cc::switches::kEnableTopControlsPositionCalculation, |
1210 cc::switches::kMaxTilesForInterestArea, | 1209 cc::switches::kMaxTilesForInterestArea, |
1211 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 1210 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
1212 cc::switches::kShowCompositedLayerBorders, | 1211 cc::switches::kShowCompositedLayerBorders, |
1213 cc::switches::kShowFPSCounter, | 1212 cc::switches::kShowFPSCounter, |
(...skipping 1119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2333 void RenderProcessHostImpl::GpuMemoryBufferAllocated( | 2332 void RenderProcessHostImpl::GpuMemoryBufferAllocated( |
2334 IPC::Message* reply, | 2333 IPC::Message* reply, |
2335 const gfx::GpuMemoryBufferHandle& handle) { | 2334 const gfx::GpuMemoryBufferHandle& handle) { |
2336 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 2335 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
2337 ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer::WriteReplyParams(reply, | 2336 ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer::WriteReplyParams(reply, |
2338 handle); | 2337 handle); |
2339 Send(reply); | 2338 Send(reply); |
2340 } | 2339 } |
2341 | 2340 |
2342 } // namespace content | 2341 } // namespace content |
OLD | NEW |