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 960 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
971 switches::kDisableFiltersOverIPC, | 971 switches::kDisableFiltersOverIPC, |
972 switches::kDisableFullScreen, | 972 switches::kDisableFullScreen, |
973 switches::kDisableGeolocation, | 973 switches::kDisableGeolocation, |
974 switches::kDisableGpu, | 974 switches::kDisableGpu, |
975 switches::kDisableGpuCompositing, | 975 switches::kDisableGpuCompositing, |
976 switches::kDisableGpuVsync, | 976 switches::kDisableGpuVsync, |
977 switches::kDisableHistogramCustomizer, | 977 switches::kDisableHistogramCustomizer, |
978 switches::kDisableLayerSquashing, | 978 switches::kDisableLayerSquashing, |
979 switches::kDisableLocalStorage, | 979 switches::kDisableLocalStorage, |
980 switches::kDisableLogging, | 980 switches::kDisableLogging, |
| 981 switches::kDisableLowEndDeviceMode, |
981 switches::kDisableOpusPlayback, | 982 switches::kDisableOpusPlayback, |
982 switches::kDisablePinch, | 983 switches::kDisablePinch, |
983 switches::kDisablePrefixedEncryptedMedia, | 984 switches::kDisablePrefixedEncryptedMedia, |
984 switches::kDisableSeccompFilterSandbox, | 985 switches::kDisableSeccompFilterSandbox, |
985 switches::kDisableSessionStorage, | 986 switches::kDisableSessionStorage, |
986 switches::kDisableSharedWorkers, | 987 switches::kDisableSharedWorkers, |
987 switches::kDisableSpeechInput, | 988 switches::kDisableSpeechInput, |
988 switches::kDisableThreadedCompositing, | 989 switches::kDisableThreadedCompositing, |
989 switches::kDisableTouchAdjustment, | 990 switches::kDisableTouchAdjustment, |
990 switches::kDisableTouchDragDrop, | 991 switches::kDisableTouchDragDrop, |
(...skipping 26 matching lines...) Expand all Loading... |
1017 switches::kEnableGpuBenchmarking, | 1018 switches::kEnableGpuBenchmarking, |
1018 switches::kEnableGPUClientLogging, | 1019 switches::kEnableGPUClientLogging, |
1019 switches::kEnableGpuClientTracing, | 1020 switches::kEnableGpuClientTracing, |
1020 switches::kEnableGPUServiceLogging, | 1021 switches::kEnableGPUServiceLogging, |
1021 switches::kEnableHighDpiCompositingForFixedPosition, | 1022 switches::kEnableHighDpiCompositingForFixedPosition, |
1022 switches::kEnableHTMLImports, | 1023 switches::kEnableHTMLImports, |
1023 switches::kEnableInbandTextTracks, | 1024 switches::kEnableInbandTextTracks, |
1024 switches::kEnableInputModeAttribute, | 1025 switches::kEnableInputModeAttribute, |
1025 switches::kEnableLayerSquashing, | 1026 switches::kEnableLayerSquashing, |
1026 switches::kEnableLogging, | 1027 switches::kEnableLogging, |
| 1028 switches::kEnableLowEndDeviceMode, |
1027 switches::kEnableMP3StreamParser, | 1029 switches::kEnableMP3StreamParser, |
1028 switches::kEnableMemoryBenchmarking, | 1030 switches::kEnableMemoryBenchmarking, |
1029 switches::kEnableOverlayFullscreenVideo, | 1031 switches::kEnableOverlayFullscreenVideo, |
1030 switches::kEnableOverlayScrollbars, | 1032 switches::kEnableOverlayScrollbars, |
1031 switches::kEnableOverscrollNotifications, | 1033 switches::kEnableOverscrollNotifications, |
1032 switches::kEnablePinch, | 1034 switches::kEnablePinch, |
1033 switches::kEnablePreparsedJsCaching, | 1035 switches::kEnablePreparsedJsCaching, |
1034 switches::kEnablePruneGpuCommandBuffers, | 1036 switches::kEnablePruneGpuCommandBuffers, |
1035 switches::kEnableRepaintAfterLayout, | 1037 switches::kEnableRepaintAfterLayout, |
1036 switches::kEnableServiceWorker, | 1038 switches::kEnableServiceWorker, |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1135 #if !defined (GOOGLE_CHROME_BUILD) | 1137 #if !defined (GOOGLE_CHROME_BUILD) |
1136 // These are unsupported and not fully tested modes, so don't enable them | 1138 // These are unsupported and not fully tested modes, so don't enable them |
1137 // for official Google Chrome builds. | 1139 // for official Google Chrome builds. |
1138 switches::kInProcessPlugins, | 1140 switches::kInProcessPlugins, |
1139 #endif // GOOGLE_CHROME_BUILD | 1141 #endif // GOOGLE_CHROME_BUILD |
1140 #if defined(GOOGLE_TV) | 1142 #if defined(GOOGLE_TV) |
1141 switches::kUseExternalVideoSurfaceThresholdInPixels, | 1143 switches::kUseExternalVideoSurfaceThresholdInPixels, |
1142 #endif | 1144 #endif |
1143 #if defined(OS_ANDROID) | 1145 #if defined(OS_ANDROID) |
1144 switches::kDisableGestureRequirementForMediaPlayback, | 1146 switches::kDisableGestureRequirementForMediaPlayback, |
1145 switches::kDisableLowEndDeviceMode, | |
1146 switches::kDisableWebRTC, | 1147 switches::kDisableWebRTC, |
1147 switches::kEnableLowEndDeviceMode, | |
1148 switches::kEnableSpeechRecognition, | 1148 switches::kEnableSpeechRecognition, |
1149 switches::kHideScrollbars, | 1149 switches::kHideScrollbars, |
1150 switches::kMediaDrmEnableNonCompositing, | 1150 switches::kMediaDrmEnableNonCompositing, |
1151 switches::kNetworkCountryIso, | 1151 switches::kNetworkCountryIso, |
1152 #endif | 1152 #endif |
1153 #if defined(OS_ANDROID) && defined(ARCH_CPU_X86) | 1153 #if defined(OS_ANDROID) && defined(ARCH_CPU_X86) |
1154 switches::kEnableWebAudio, | 1154 switches::kEnableWebAudio, |
1155 #else | 1155 #else |
1156 // Need to be able to disable webaudio on other platforms where it | 1156 // Need to be able to disable webaudio on other platforms where it |
1157 // is enabled by default. | 1157 // is enabled by default. |
(...skipping 802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1960 #if defined(ENABLE_WEBRTC) | 1960 #if defined(ENABLE_WEBRTC) |
1961 void RenderProcessHostImpl::SendAecDumpFileToRenderer( | 1961 void RenderProcessHostImpl::SendAecDumpFileToRenderer( |
1962 IPC::PlatformFileForTransit file_for_transit) { | 1962 IPC::PlatformFileForTransit file_for_transit) { |
1963 if (file_for_transit == IPC::InvalidPlatformFileForTransit()) | 1963 if (file_for_transit == IPC::InvalidPlatformFileForTransit()) |
1964 return; | 1964 return; |
1965 Send(new MediaStreamMsg_EnableAecDump(file_for_transit)); | 1965 Send(new MediaStreamMsg_EnableAecDump(file_for_transit)); |
1966 } | 1966 } |
1967 #endif | 1967 #endif |
1968 | 1968 |
1969 } // namespace content | 1969 } // namespace content |
OLD | NEW |