| 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 #if defined(OS_WIN) | 10 #if defined(OS_WIN) |
| (...skipping 794 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 805 switches::kEnableWebMediaPlayerMS, | 805 switches::kEnableWebMediaPlayerMS, |
| 806 switches::kEnablePartialSwap, | 806 switches::kEnablePartialSwap, |
| 807 switches::kEnablePerTilePainting, | 807 switches::kEnablePerTilePainting, |
| 808 switches::kEnableRendererSideMixing, | 808 switches::kEnableRendererSideMixing, |
| 809 switches::kEnableStrictSiteIsolation, | 809 switches::kEnableStrictSiteIsolation, |
| 810 switches::kDisableFullScreen, | 810 switches::kDisableFullScreen, |
| 811 switches::kEnablePepperTesting, | 811 switches::kEnablePepperTesting, |
| 812 switches::kEnablePreparsedJsCaching, | 812 switches::kEnablePreparsedJsCaching, |
| 813 switches::kEnablePruneGpuCommandBuffers, | 813 switches::kEnablePruneGpuCommandBuffers, |
| 814 switches::kEnablePinch, | 814 switches::kEnablePinch, |
| 815 switches::kEnablePinchInCompositor, |
| 815 #if defined(OS_MACOSX) | 816 #if defined(OS_MACOSX) |
| 816 // Allow this to be set when invoking the browser and relayed along. | 817 // Allow this to be set when invoking the browser and relayed along. |
| 817 switches::kEnableSandboxLogging, | 818 switches::kEnableSandboxLogging, |
| 818 #endif | 819 #endif |
| 819 switches::kEnableSeccompSandbox, | 820 switches::kEnableSeccompSandbox, |
| 820 switches::kEnableSoftwareCompositingGLAdapter, | 821 switches::kEnableSoftwareCompositingGLAdapter, |
| 821 switches::kEnableStatsTable, | 822 switches::kEnableStatsTable, |
| 822 switches::kEnableThreadedCompositing, | 823 switches::kEnableThreadedCompositing, |
| 823 switches::kDisableThreadedCompositing, | 824 switches::kDisableThreadedCompositing, |
| 824 switches::kEnableTouchEvents, | 825 switches::kEnableTouchEvents, |
| (...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1567 const gfx::Size& size, | 1568 const gfx::Size& size, |
| 1568 int32 gpu_process_host_id) { | 1569 int32 gpu_process_host_id) { |
| 1569 TRACE_EVENT0("renderer_host", | 1570 TRACE_EVENT0("renderer_host", |
| 1570 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1571 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
| 1571 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1572 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
| 1572 gpu_process_host_id, | 1573 gpu_process_host_id, |
| 1573 0); | 1574 0); |
| 1574 } | 1575 } |
| 1575 | 1576 |
| 1576 } // namespace content | 1577 } // namespace content |
| OLD | NEW |