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 802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
813 switches::kDisableGpu, | 813 switches::kDisableGpu, |
814 switches::kDisableHistogramCustomizer, | 814 switches::kDisableHistogramCustomizer, |
815 switches::kDisableJavaScriptI18NAPI, | 815 switches::kDisableJavaScriptI18NAPI, |
816 switches::kDisableLocalStorage, | 816 switches::kDisableLocalStorage, |
817 switches::kDisableLogging, | 817 switches::kDisableLogging, |
818 switches::kDisableSeccompFilterSandbox, | 818 switches::kDisableSeccompFilterSandbox, |
819 switches::kDisableSeccompSandbox, | 819 switches::kDisableSeccompSandbox, |
820 switches::kDisableSessionStorage, | 820 switches::kDisableSessionStorage, |
821 switches::kDisableSharedWorkers, | 821 switches::kDisableSharedWorkers, |
822 switches::kDisableSpeechInput, | 822 switches::kDisableSpeechInput, |
823 switches::kDisableTouchDragDrop, | |
824 switches::kDisableTouchEditing, | |
825 #if defined(OS_ANDROID) | 823 #if defined(OS_ANDROID) |
826 switches::kEnableWebAudio, | 824 switches::kEnableWebAudio, |
827 switches::kDisableWebRTC, | 825 switches::kDisableWebRTC, |
828 #else | 826 #else |
829 switches::kDisableWebAudio, | 827 switches::kDisableWebAudio, |
830 #endif | 828 #endif |
831 switches::kEnableWebMIDI, | 829 switches::kEnableWebMIDI, |
832 switches::kEnableExperimentalWebSocket, | 830 switches::kEnableExperimentalWebSocket, |
833 switches::kDomAutomationController, | 831 switches::kDomAutomationController, |
834 switches::kEnableAccessibilityLogging, | 832 switches::kEnableAccessibilityLogging, |
835 switches::kEnableBrowserPluginForAllViewTypes, | 833 switches::kEnableBrowserPluginForAllViewTypes, |
836 switches::kEnableDCHECK, | 834 switches::kEnableDCHECK, |
837 switches::kEnableDelegatedRenderer, | 835 switches::kEnableDelegatedRenderer, |
838 switches::kDisableEncryptedMedia, | 836 switches::kDisableEncryptedMedia, |
839 switches::kEnableExperimentalWebKitFeatures, | 837 switches::kEnableExperimentalWebKitFeatures, |
840 switches::kEnableFixedLayout, | 838 switches::kEnableFixedLayout, |
841 switches::kEnableDeferredImageDecoding, | 839 switches::kEnableDeferredImageDecoding, |
842 switches::kEnableGPUServiceLogging, | 840 switches::kEnableGPUServiceLogging, |
843 switches::kEnableGPUClientLogging, | 841 switches::kEnableGPUClientLogging, |
844 switches::kEnableGpuClientTracing, | 842 switches::kEnableGpuClientTracing, |
845 switches::kEnableGpuBenchmarking, | 843 switches::kEnableGpuBenchmarking, |
846 switches::kEnableMemoryBenchmarking, | 844 switches::kEnableMemoryBenchmarking, |
847 switches::kEnableLogging, | 845 switches::kEnableLogging, |
848 switches::kEnableTouchDragDrop, | |
849 switches::kEnableTouchEditing, | |
850 switches::kEnableVsyncNotification, | 846 switches::kEnableVsyncNotification, |
851 switches::kEnableWebPInAcceptHeader, | 847 switches::kEnableWebPInAcceptHeader, |
852 switches::kDisableMediaSource, | 848 switches::kDisableMediaSource, |
853 switches::kDisableRendererSideMixing, | 849 switches::kDisableRendererSideMixing, |
854 switches::kEnableStrictSiteIsolation, | 850 switches::kEnableStrictSiteIsolation, |
855 switches::kDisableFullScreen, | 851 switches::kDisableFullScreen, |
856 switches::kEnableNewDialogStyle, | 852 switches::kEnableNewDialogStyle, |
857 #if defined(ENABLE_PLUGINS) | 853 #if defined(ENABLE_PLUGINS) |
858 switches::kEnablePepperTesting, | 854 switches::kEnablePepperTesting, |
859 switches::kDisablePepper3d, | 855 switches::kDisablePepper3d, |
860 #endif | 856 #endif |
861 switches::kEnablePreparsedJsCaching, | 857 switches::kEnablePreparsedJsCaching, |
862 switches::kEnablePruneGpuCommandBuffers, | 858 switches::kEnablePruneGpuCommandBuffers, |
863 switches::kEnablePinch, | 859 switches::kEnablePinch, |
864 switches::kDisablePinch, | 860 switches::kDisablePinch, |
865 #if defined(OS_MACOSX) | 861 #if defined(OS_MACOSX) |
866 // Allow this to be set when invoking the browser and relayed along. | 862 // Allow this to be set when invoking the browser and relayed along. |
867 switches::kEnableSandboxLogging, | 863 switches::kEnableSandboxLogging, |
868 #endif | 864 #endif |
869 switches::kEnableSeccompSandbox, | 865 switches::kEnableSeccompSandbox, |
870 switches::kEnableSoftwareCompositingGLAdapter, | 866 switches::kEnableSoftwareCompositingGLAdapter, |
871 switches::kEnableStatsTable, | 867 switches::kEnableStatsTable, |
872 switches::kEnableThreadedCompositing, | 868 switches::kEnableThreadedCompositing, |
873 switches::kEnableCompositingForFixedPosition, | 869 switches::kEnableCompositingForFixedPosition, |
874 switches::kEnableHighDpiCompositingForFixedPosition, | 870 switches::kEnableHighDpiCompositingForFixedPosition, |
875 switches::kDisableCompositingForFixedPosition, | 871 switches::kDisableCompositingForFixedPosition, |
876 switches::kEnableAcceleratedPainting, | 872 switches::kEnableAcceleratedPainting, |
| 873 switches::kEnableTouchDragDrop, |
| 874 switches::kEnableTouchEditing, |
877 switches::kDisableThreadedCompositing, | 875 switches::kDisableThreadedCompositing, |
878 switches::kDisableTouchAdjustment, | 876 switches::kDisableTouchAdjustment, |
879 switches::kDefaultTileWidth, | 877 switches::kDefaultTileWidth, |
880 switches::kDefaultTileHeight, | 878 switches::kDefaultTileHeight, |
881 switches::kMaxUntiledLayerWidth, | 879 switches::kMaxUntiledLayerWidth, |
882 switches::kMaxUntiledLayerHeight, | 880 switches::kMaxUntiledLayerHeight, |
883 switches::kEnableViewport, | 881 switches::kEnableViewport, |
884 switches::kEnableOpusPlayback, | 882 switches::kEnableOpusPlayback, |
885 switches::kEnableVp9Playback, | 883 switches::kEnableVp9Playback, |
886 switches::kEnableVp8AlphaPlayback, | 884 switches::kEnableVp8AlphaPlayback, |
(...skipping 855 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1742 TRACE_EVENT0("renderer_host", | 1740 TRACE_EVENT0("renderer_host", |
1743 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1741 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
1744 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; | 1742 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; |
1745 ack_params.sync_point = 0; | 1743 ack_params.sync_point = 0; |
1746 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1744 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
1747 gpu_process_host_id, | 1745 gpu_process_host_id, |
1748 ack_params); | 1746 ack_params); |
1749 } | 1747 } |
1750 | 1748 |
1751 } // namespace content | 1749 } // namespace content |
OLD | NEW |