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