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 798 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
809 switches::kDisableRendererSideMixing, | 809 switches::kDisableRendererSideMixing, |
810 switches::kEnableStrictSiteIsolation, | 810 switches::kEnableStrictSiteIsolation, |
811 switches::kDisableFullScreen, | 811 switches::kDisableFullScreen, |
812 switches::kEnableNewDialogStyle, | 812 switches::kEnableNewDialogStyle, |
813 #if defined(ENABLE_PLUGINS) | 813 #if defined(ENABLE_PLUGINS) |
814 switches::kEnablePepperTesting, | 814 switches::kEnablePepperTesting, |
815 #endif | 815 #endif |
816 switches::kEnablePreparsedJsCaching, | 816 switches::kEnablePreparsedJsCaching, |
817 switches::kEnablePruneGpuCommandBuffers, | 817 switches::kEnablePruneGpuCommandBuffers, |
818 switches::kEnablePinch, | 818 switches::kEnablePinch, |
| 819 switches::kDisablePinch, |
819 #if defined(OS_MACOSX) | 820 #if defined(OS_MACOSX) |
820 // Allow this to be set when invoking the browser and relayed along. | 821 // Allow this to be set when invoking the browser and relayed along. |
821 switches::kEnableSandboxLogging, | 822 switches::kEnableSandboxLogging, |
822 #endif | 823 #endif |
823 switches::kEnableSeccompSandbox, | 824 switches::kEnableSeccompSandbox, |
824 switches::kEnableSoftwareCompositingGLAdapter, | 825 switches::kEnableSoftwareCompositingGLAdapter, |
825 switches::kEnableStatsTable, | 826 switches::kEnableStatsTable, |
826 switches::kEnableThreadedCompositing, | 827 switches::kEnableThreadedCompositing, |
827 switches::kEnableCompositingForFixedPosition, | 828 switches::kEnableCompositingForFixedPosition, |
828 switches::kEnableHighDpiCompositingForFixedPosition, | 829 switches::kEnableHighDpiCompositingForFixedPosition, |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
879 switches::kVideoThreads, | 880 switches::kVideoThreads, |
880 switches::kVModule, | 881 switches::kVModule, |
881 switches::kWebCoreLogChannels, | 882 switches::kWebCoreLogChannels, |
882 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 883 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
883 cc::switches::kDisableImplSidePainting, | 884 cc::switches::kDisableImplSidePainting, |
884 cc::switches::kDisableThreadedAnimation, | 885 cc::switches::kDisableThreadedAnimation, |
885 cc::switches::kEnableCompositorFrameMessage, | 886 cc::switches::kEnableCompositorFrameMessage, |
886 cc::switches::kEnableImplSidePainting, | 887 cc::switches::kEnableImplSidePainting, |
887 cc::switches::kEnablePartialSwap, | 888 cc::switches::kEnablePartialSwap, |
888 cc::switches::kEnablePerTilePainting, | 889 cc::switches::kEnablePerTilePainting, |
| 890 cc::switches::kEnablePinchZoomScrollbars, |
| 891 cc::switches::kDisablePinchZoomScrollbars, |
889 cc::switches::kEnablePredictionBenchmarking, | 892 cc::switches::kEnablePredictionBenchmarking, |
890 cc::switches::kEnableRightAlignedScheduling, | 893 cc::switches::kEnableRightAlignedScheduling, |
891 cc::switches::kEnableTopControlsPositionCalculation, | 894 cc::switches::kEnableTopControlsPositionCalculation, |
892 cc::switches::kLowResolutionContentsScaleFactor, | 895 cc::switches::kLowResolutionContentsScaleFactor, |
893 cc::switches::kNumRasterThreads, | 896 cc::switches::kNumRasterThreads, |
894 cc::switches::kShowNonOccludingRects, | 897 cc::switches::kShowNonOccludingRects, |
895 cc::switches::kShowOccludingRects, | 898 cc::switches::kShowOccludingRects, |
896 cc::switches::kShowPropertyChangedRects, | 899 cc::switches::kShowPropertyChangedRects, |
897 cc::switches::kShowReplicaScreenSpaceRects, | 900 cc::switches::kShowReplicaScreenSpaceRects, |
898 cc::switches::kShowScreenSpaceRects, | 901 cc::switches::kShowScreenSpaceRects, |
(...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1665 TRACE_EVENT0("renderer_host", | 1668 TRACE_EVENT0("renderer_host", |
1666 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1669 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
1667 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; | 1670 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; |
1668 ack_params.sync_point = 0; | 1671 ack_params.sync_point = 0; |
1669 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1672 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
1670 gpu_process_host_id, | 1673 gpu_process_host_id, |
1671 ack_params); | 1674 ack_params); |
1672 } | 1675 } |
1673 | 1676 |
1674 } // namespace content | 1677 } // namespace content |
OLD | NEW |