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 switches::kEnableNewDialogStyle, |
779 switches::kEnablePepperTesting, | 780 switches::kEnablePepperTesting, |
780 switches::kEnablePreparsedJsCaching, | 781 switches::kEnablePreparsedJsCaching, |
781 switches::kEnablePruneGpuCommandBuffers, | 782 switches::kEnablePruneGpuCommandBuffers, |
782 switches::kEnablePinch, | 783 switches::kEnablePinch, |
783 #if defined(OS_MACOSX) | 784 #if defined(OS_MACOSX) |
784 // Allow this to be set when invoking the browser and relayed along. | 785 // Allow this to be set when invoking the browser and relayed along. |
785 switches::kEnableSandboxLogging, | 786 switches::kEnableSandboxLogging, |
786 #endif | 787 #endif |
787 switches::kEnableSeccompSandbox, | 788 switches::kEnableSeccompSandbox, |
788 switches::kEnableSoftwareCompositingGLAdapter, | 789 switches::kEnableSoftwareCompositingGLAdapter, |
(...skipping 799 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1588 int32 gpu_process_host_id) { | 1589 int32 gpu_process_host_id) { |
1589 TRACE_EVENT0("renderer_host", | 1590 TRACE_EVENT0("renderer_host", |
1590 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1591 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
1591 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1592 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
1592 gpu_process_host_id, | 1593 gpu_process_host_id, |
1593 surface_handle, | 1594 surface_handle, |
1594 0); | 1595 0); |
1595 } | 1596 } |
1596 | 1597 |
1597 } // namespace content | 1598 } // namespace content |
OLD | NEW |