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 771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
782 switches::kDisableRendererSideMixing, | 782 switches::kDisableRendererSideMixing, |
783 switches::kEnableStrictSiteIsolation, | 783 switches::kEnableStrictSiteIsolation, |
784 switches::kDisableFullScreen, | 784 switches::kDisableFullScreen, |
785 switches::kEnableNewDialogStyle, | 785 switches::kEnableNewDialogStyle, |
786 #if defined(ENABLE_PLUGINS) | 786 #if defined(ENABLE_PLUGINS) |
787 switches::kEnablePepperTesting, | 787 switches::kEnablePepperTesting, |
788 #endif | 788 #endif |
789 switches::kEnablePreparsedJsCaching, | 789 switches::kEnablePreparsedJsCaching, |
790 switches::kEnablePruneGpuCommandBuffers, | 790 switches::kEnablePruneGpuCommandBuffers, |
791 switches::kEnablePinch, | 791 switches::kEnablePinch, |
| 792 switches::kDisablePinch, |
792 #if defined(OS_MACOSX) | 793 #if defined(OS_MACOSX) |
793 // Allow this to be set when invoking the browser and relayed along. | 794 // Allow this to be set when invoking the browser and relayed along. |
794 switches::kEnableSandboxLogging, | 795 switches::kEnableSandboxLogging, |
795 #endif | 796 #endif |
796 switches::kEnableSeccompSandbox, | 797 switches::kEnableSeccompSandbox, |
797 switches::kEnableSoftwareCompositingGLAdapter, | 798 switches::kEnableSoftwareCompositingGLAdapter, |
798 switches::kEnableStatsTable, | 799 switches::kEnableStatsTable, |
799 switches::kEnableThreadedCompositing, | 800 switches::kEnableThreadedCompositing, |
800 switches::kEnableCompositingForFixedPosition, | 801 switches::kEnableCompositingForFixedPosition, |
801 switches::kEnableHighDpiCompositingForFixedPosition, | 802 switches::kEnableHighDpiCompositingForFixedPosition, |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
852 switches::kVideoThreads, | 853 switches::kVideoThreads, |
853 switches::kVModule, | 854 switches::kVModule, |
854 switches::kWebCoreLogChannels, | 855 switches::kWebCoreLogChannels, |
855 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 856 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
856 cc::switches::kDisableImplSidePainting, | 857 cc::switches::kDisableImplSidePainting, |
857 cc::switches::kDisableThreadedAnimation, | 858 cc::switches::kDisableThreadedAnimation, |
858 cc::switches::kEnableCompositorFrameMessage, | 859 cc::switches::kEnableCompositorFrameMessage, |
859 cc::switches::kEnableImplSidePainting, | 860 cc::switches::kEnableImplSidePainting, |
860 cc::switches::kEnablePartialSwap, | 861 cc::switches::kEnablePartialSwap, |
861 cc::switches::kEnablePerTilePainting, | 862 cc::switches::kEnablePerTilePainting, |
| 863 cc::switches::kEnablePinchZoomScrollbars, |
| 864 cc::switches::kDisablePinchZoomScrollbars, |
862 cc::switches::kEnablePredictionBenchmarking, | 865 cc::switches::kEnablePredictionBenchmarking, |
863 cc::switches::kEnableRightAlignedScheduling, | 866 cc::switches::kEnableRightAlignedScheduling, |
864 cc::switches::kEnableTopControlsPositionCalculation, | 867 cc::switches::kEnableTopControlsPositionCalculation, |
865 cc::switches::kLowResolutionContentsScaleFactor, | 868 cc::switches::kLowResolutionContentsScaleFactor, |
866 cc::switches::kNumRasterThreads, | 869 cc::switches::kNumRasterThreads, |
867 cc::switches::kShowNonOccludingRects, | 870 cc::switches::kShowNonOccludingRects, |
868 cc::switches::kShowOccludingRects, | 871 cc::switches::kShowOccludingRects, |
869 cc::switches::kShowPropertyChangedRects, | 872 cc::switches::kShowPropertyChangedRects, |
870 cc::switches::kShowReplicaScreenSpaceRects, | 873 cc::switches::kShowReplicaScreenSpaceRects, |
871 cc::switches::kShowScreenSpaceRects, | 874 cc::switches::kShowScreenSpaceRects, |
(...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1638 TRACE_EVENT0("renderer_host", | 1641 TRACE_EVENT0("renderer_host", |
1639 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1642 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
1640 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; | 1643 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; |
1641 ack_params.sync_point = 0; | 1644 ack_params.sync_point = 0; |
1642 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1645 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
1643 gpu_process_host_id, | 1646 gpu_process_host_id, |
1644 ack_params); | 1647 ack_params); |
1645 } | 1648 } |
1646 | 1649 |
1647 } // namespace content | 1650 } // namespace content |
OLD | NEW |