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 836 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
847 switches::kDisableWebAudio, | 847 switches::kDisableWebAudio, |
848 #endif | 848 #endif |
849 #if defined(ENABLE_WEBRTC) | 849 #if defined(ENABLE_WEBRTC) |
850 switches::kEnableSCTPDataChannels, | 850 switches::kEnableSCTPDataChannels, |
851 #endif | 851 #endif |
852 switches::kEnableWebMIDI, | 852 switches::kEnableWebMIDI, |
853 switches::kEnableExperimentalCanvasFeatures, | 853 switches::kEnableExperimentalCanvasFeatures, |
854 switches::kEnableExperimentalWebSocket, | 854 switches::kEnableExperimentalWebSocket, |
855 switches::kDomAutomationController, | 855 switches::kDomAutomationController, |
856 switches::kEnableAccessibilityLogging, | 856 switches::kEnableAccessibilityLogging, |
| 857 switches::kEnableBeginFrameScheduling, |
| 858 switches::kEnableBrowserInputController, |
857 switches::kEnableBrowserPluginForAllViewTypes, | 859 switches::kEnableBrowserPluginForAllViewTypes, |
858 switches::kEnableDCHECK, | 860 switches::kEnableDCHECK, |
859 switches::kEnableDelegatedRenderer, | 861 switches::kEnableDelegatedRenderer, |
860 switches::kDisableEncryptedMedia, | 862 switches::kDisableEncryptedMedia, |
861 switches::kEnableExperimentalWebKitFeatures, | 863 switches::kEnableExperimentalWebKitFeatures, |
862 switches::kEnableFixedLayout, | 864 switches::kEnableFixedLayout, |
863 switches::kEnableDeferredImageDecoding, | 865 switches::kEnableDeferredImageDecoding, |
864 switches::kEnableGPUServiceLogging, | 866 switches::kEnableGPUServiceLogging, |
865 switches::kEnableGPUClientLogging, | 867 switches::kEnableGPUClientLogging, |
866 switches::kEnableGpuClientTracing, | 868 switches::kEnableGpuClientTracing, |
867 switches::kEnableGpuBenchmarking, | 869 switches::kEnableGpuBenchmarking, |
868 switches::kEnableMemoryBenchmarking, | 870 switches::kEnableMemoryBenchmarking, |
869 switches::kEnableSkiaBenchmarking, | 871 switches::kEnableSkiaBenchmarking, |
870 switches::kEnableLogging, | 872 switches::kEnableLogging, |
871 switches::kEnableSpeechSynthesis, | 873 switches::kEnableSpeechSynthesis, |
872 switches::kEnableTouchDragDrop, | 874 switches::kEnableTouchDragDrop, |
873 switches::kEnableTouchEditing, | 875 switches::kEnableTouchEditing, |
874 switches::kEnableVsyncNotification, | |
875 switches::kEnableWebPInAcceptHeader, | 876 switches::kEnableWebPInAcceptHeader, |
876 #if defined(ENABLE_WEBRTC) | 877 #if defined(ENABLE_WEBRTC) |
877 switches::kEnableWebRtcAecRecordings, | 878 switches::kEnableWebRtcAecRecordings, |
878 #endif | 879 #endif |
879 switches::kDisableWebKitMediaSource, | 880 switches::kDisableWebKitMediaSource, |
880 switches::kEnableOverscrollNotifications, | 881 switches::kEnableOverscrollNotifications, |
881 switches::kEnableStrictSiteIsolation, | 882 switches::kEnableStrictSiteIsolation, |
882 switches::kDisableFullScreen, | 883 switches::kDisableFullScreen, |
883 switches::kEnableNewDialogStyle, | 884 switches::kEnableNewDialogStyle, |
884 #if defined(ENABLE_PLUGINS) | 885 #if defined(ENABLE_PLUGINS) |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
958 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 959 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
959 cc::switches::kCompositeToMailbox, | 960 cc::switches::kCompositeToMailbox, |
960 cc::switches::kDisableColorEstimator, | 961 cc::switches::kDisableColorEstimator, |
961 cc::switches::kDisableImplSidePainting, | 962 cc::switches::kDisableImplSidePainting, |
962 cc::switches::kDisableThreadedAnimation, | 963 cc::switches::kDisableThreadedAnimation, |
963 cc::switches::kEnableCompositorFrameMessage, | 964 cc::switches::kEnableCompositorFrameMessage, |
964 cc::switches::kEnableImplSidePainting, | 965 cc::switches::kEnableImplSidePainting, |
965 cc::switches::kEnablePartialSwap, | 966 cc::switches::kEnablePartialSwap, |
966 cc::switches::kEnablePerTilePainting, | 967 cc::switches::kEnablePerTilePainting, |
967 cc::switches::kEnablePinchVirtualViewport, | 968 cc::switches::kEnablePinchVirtualViewport, |
968 cc::switches::kEnableRightAlignedScheduling, | |
969 cc::switches::kEnableTopControlsPositionCalculation, | 969 cc::switches::kEnableTopControlsPositionCalculation, |
970 cc::switches::kForceDirectLayerDrawing, | 970 cc::switches::kForceDirectLayerDrawing, |
971 cc::switches::kLowResolutionContentsScaleFactor, | 971 cc::switches::kLowResolutionContentsScaleFactor, |
972 cc::switches::kMaxTilesForInterestArea, | 972 cc::switches::kMaxTilesForInterestArea, |
973 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 973 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
974 cc::switches::kNumRasterThreads, | 974 cc::switches::kNumRasterThreads, |
975 cc::switches::kShowCompositedLayerBorders, | 975 cc::switches::kShowCompositedLayerBorders, |
976 cc::switches::kShowCompositedLayerTree, | 976 cc::switches::kShowCompositedLayerTree, |
977 cc::switches::kShowFPSCounter, | 977 cc::switches::kShowFPSCounter, |
978 cc::switches::kShowNonOccludingRects, | 978 cc::switches::kShowNonOccludingRects, |
(...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1767 TRACE_EVENT0("renderer_host", | 1767 TRACE_EVENT0("renderer_host", |
1768 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1768 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
1769 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; | 1769 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; |
1770 ack_params.sync_point = 0; | 1770 ack_params.sync_point = 0; |
1771 RenderWidgetHostImpl::AcknowledgeBufferPresent(params.route_id, | 1771 RenderWidgetHostImpl::AcknowledgeBufferPresent(params.route_id, |
1772 params.gpu_process_host_id, | 1772 params.gpu_process_host_id, |
1773 ack_params); | 1773 ack_params); |
1774 } | 1774 } |
1775 | 1775 |
1776 } // namespace content | 1776 } // namespace content |
OLD | NEW |