| 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 758 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 769 switches::kEnableLogging, | 769 switches::kEnableLogging, |
| 770 switches::kDisableMediaSource, | 770 switches::kDisableMediaSource, |
| 771 switches::kDisableWebMediaPlayerMS, | 771 switches::kDisableWebMediaPlayerMS, |
| 772 #if defined(OS_WIN) || defined(OS_MAC) | 772 #if defined(OS_WIN) || defined(OS_MAC) |
| 773 switches::kDisableRendererSideMixing, | 773 switches::kDisableRendererSideMixing, |
| 774 #else | 774 #else |
| 775 switches::kEnableRendererSideMixing, | 775 switches::kEnableRendererSideMixing, |
| 776 #endif | 776 #endif |
| 777 switches::kEnableStrictSiteIsolation, | 777 switches::kEnableStrictSiteIsolation, |
| 778 switches::kDisableFullScreen, | 778 switches::kDisableFullScreen, |
| 779 #if defined(ENABLE_PLUGINS) |
| 779 switches::kEnablePepperTesting, | 780 switches::kEnablePepperTesting, |
| 781 #endif |
| 780 switches::kEnablePreparsedJsCaching, | 782 switches::kEnablePreparsedJsCaching, |
| 781 switches::kEnablePruneGpuCommandBuffers, | 783 switches::kEnablePruneGpuCommandBuffers, |
| 782 switches::kEnablePinch, | 784 switches::kEnablePinch, |
| 783 #if defined(OS_MACOSX) | 785 #if defined(OS_MACOSX) |
| 784 // Allow this to be set when invoking the browser and relayed along. | 786 // Allow this to be set when invoking the browser and relayed along. |
| 785 switches::kEnableSandboxLogging, | 787 switches::kEnableSandboxLogging, |
| 786 #endif | 788 #endif |
| 787 switches::kEnableSeccompSandbox, | 789 switches::kEnableSeccompSandbox, |
| 788 switches::kEnableSoftwareCompositingGLAdapter, | 790 switches::kEnableSoftwareCompositingGLAdapter, |
| 789 switches::kEnableStatsTable, | 791 switches::kEnableStatsTable, |
| (...skipping 798 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1588 int32 gpu_process_host_id) { | 1590 int32 gpu_process_host_id) { |
| 1589 TRACE_EVENT0("renderer_host", | 1591 TRACE_EVENT0("renderer_host", |
| 1590 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1592 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
| 1591 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1593 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
| 1592 gpu_process_host_id, | 1594 gpu_process_host_id, |
| 1593 surface_handle, | 1595 surface_handle, |
| 1594 0); | 1596 0); |
| 1595 } | 1597 } |
| 1596 | 1598 |
| 1597 } // namespace content | 1599 } // namespace content |
| OLD | NEW |