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 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1042 switches::kDisableFileSystem, | 1042 switches::kDisableFileSystem, |
1043 switches::kDisableFiltersOverIPC, | 1043 switches::kDisableFiltersOverIPC, |
1044 switches::kDisableGpuCompositing, | 1044 switches::kDisableGpuCompositing, |
1045 switches::kDisableGpuVsync, | 1045 switches::kDisableGpuVsync, |
1046 switches::kDisableLowResTiling, | 1046 switches::kDisableLowResTiling, |
1047 switches::kDisableHistogramCustomizer, | 1047 switches::kDisableHistogramCustomizer, |
1048 switches::kDisableLCDText, | 1048 switches::kDisableLCDText, |
1049 switches::kDisableLayerSquashing, | 1049 switches::kDisableLayerSquashing, |
1050 switches::kDisableLocalStorage, | 1050 switches::kDisableLocalStorage, |
1051 switches::kDisableLogging, | 1051 switches::kDisableLogging, |
1052 switches::kDisableMapImage, | |
1053 switches::kDisableMediaSource, | 1052 switches::kDisableMediaSource, |
1054 switches::kDisableOverlayScrollbar, | 1053 switches::kDisableOverlayScrollbar, |
1055 switches::kDisablePinch, | 1054 switches::kDisablePinch, |
1056 switches::kDisablePrefixedEncryptedMedia, | 1055 switches::kDisablePrefixedEncryptedMedia, |
1057 switches::kDisableRepaintAfterLayout, | 1056 switches::kDisableRepaintAfterLayout, |
1058 switches::kDisableSeccompFilterSandbox, | 1057 switches::kDisableSeccompFilterSandbox, |
1059 switches::kDisableSessionStorage, | 1058 switches::kDisableSessionStorage, |
1060 switches::kDisableSharedWorkers, | 1059 switches::kDisableSharedWorkers, |
1061 switches::kDisableSpeechInput, | 1060 switches::kDisableSpeechInput, |
1062 switches::kDisableTouchAdjustment, | 1061 switches::kDisableTouchAdjustment, |
1063 switches::kDisableTouchDragDrop, | 1062 switches::kDisableTouchDragDrop, |
1064 switches::kDisableTouchEditing, | 1063 switches::kDisableTouchEditing, |
1065 switches::kDisableUniversalAcceleratedOverflowScroll, | 1064 switches::kDisableUniversalAcceleratedOverflowScroll, |
| 1065 switches::kDisableZeroCopy, |
1066 switches::kDomAutomationController, | 1066 switches::kDomAutomationController, |
1067 switches::kEnableAcceleratedFixedRootBackground, | 1067 switches::kEnableAcceleratedFixedRootBackground, |
1068 switches::kEnableAcceleratedOverflowScroll, | 1068 switches::kEnableAcceleratedOverflowScroll, |
1069 switches::kEnableAccessibilityLogging, | 1069 switches::kEnableAccessibilityLogging, |
1070 switches::kEnableADTSStreamParser, | 1070 switches::kEnableADTSStreamParser, |
1071 switches::kEnableBeginFrameScheduling, | 1071 switches::kEnableBeginFrameScheduling, |
1072 switches::kEnableBleedingEdgeRenderingFastPaths, | 1072 switches::kEnableBleedingEdgeRenderingFastPaths, |
1073 switches::kEnableCompositingForFixedPosition, | 1073 switches::kEnableCompositingForFixedPosition, |
1074 switches::kEnableCompositingForTransition, | 1074 switches::kEnableCompositingForTransition, |
1075 switches::kEnableDeferredImageDecoding, | 1075 switches::kEnableDeferredImageDecoding, |
1076 switches::kEnableEncryptedMedia, | 1076 switches::kEnableEncryptedMedia, |
1077 switches::kEnableExperimentalCanvasFeatures, | 1077 switches::kEnableExperimentalCanvasFeatures, |
1078 switches::kEnableExperimentalWebPlatformFeatures, | 1078 switches::kEnableExperimentalWebPlatformFeatures, |
1079 switches::kEnableFastTextAutosizing, | 1079 switches::kEnableFastTextAutosizing, |
1080 switches::kEnableGPUClientLogging, | 1080 switches::kEnableGPUClientLogging, |
1081 switches::kEnableGpuClientTracing, | 1081 switches::kEnableGpuClientTracing, |
1082 switches::kEnableGPUServiceLogging, | 1082 switches::kEnableGPUServiceLogging, |
1083 switches::kEnableHighDpiCompositingForFixedPosition, | 1083 switches::kEnableHighDpiCompositingForFixedPosition, |
1084 switches::kEnableLowResTiling, | 1084 switches::kEnableLowResTiling, |
1085 switches::kEnableInbandTextTracks, | 1085 switches::kEnableInbandTextTracks, |
1086 switches::kEnableLCDText, | 1086 switches::kEnableLCDText, |
1087 switches::kEnableLayerSquashing, | 1087 switches::kEnableLayerSquashing, |
1088 switches::kEnableLogging, | 1088 switches::kEnableLogging, |
1089 switches::kEnableMapImage, | |
1090 switches::kEnableMemoryBenchmarking, | 1089 switches::kEnableMemoryBenchmarking, |
| 1090 switches::kEnableOneCopy, |
1091 switches::kEnableOverlayFullscreenVideo, | 1091 switches::kEnableOverlayFullscreenVideo, |
1092 switches::kEnableOverlayScrollbar, | 1092 switches::kEnableOverlayScrollbar, |
1093 switches::kEnableOverscrollNotifications, | 1093 switches::kEnableOverscrollNotifications, |
1094 switches::kEnablePinch, | 1094 switches::kEnablePinch, |
1095 switches::kEnablePreparsedJsCaching, | 1095 switches::kEnablePreparsedJsCaching, |
1096 switches::kEnableRepaintAfterLayout, | 1096 switches::kEnableRepaintAfterLayout, |
1097 switches::kEnableSeccompFilterSandbox, | 1097 switches::kEnableSeccompFilterSandbox, |
1098 switches::kEnableServiceWorker, | 1098 switches::kEnableServiceWorker, |
1099 switches::kEnableSkiaBenchmarking, | 1099 switches::kEnableSkiaBenchmarking, |
1100 switches::kEnableSpeechSynthesis, | 1100 switches::kEnableSpeechSynthesis, |
1101 switches::kEnableStatsTable, | 1101 switches::kEnableStatsTable, |
1102 switches::kEnableStrictSiteIsolation, | 1102 switches::kEnableStrictSiteIsolation, |
1103 switches::kEnableTargetedStyleRecalc, | 1103 switches::kEnableTargetedStyleRecalc, |
1104 switches::kEnableUniversalAcceleratedOverflowScroll, | 1104 switches::kEnableUniversalAcceleratedOverflowScroll, |
1105 switches::kEnableTouchDragDrop, | 1105 switches::kEnableTouchDragDrop, |
1106 switches::kEnableTouchEditing, | 1106 switches::kEnableTouchEditing, |
1107 switches::kEnableViewport, | 1107 switches::kEnableViewport, |
1108 switches::kEnableViewportMeta, | 1108 switches::kEnableViewportMeta, |
1109 switches::kMainFrameResizesAreOrientationChanges, | 1109 switches::kMainFrameResizesAreOrientationChanges, |
1110 switches::kEnableVtune, | 1110 switches::kEnableVtune, |
1111 switches::kEnableWebAnimationsSVG, | 1111 switches::kEnableWebAnimationsSVG, |
1112 switches::kEnableWebGLDraftExtensions, | 1112 switches::kEnableWebGLDraftExtensions, |
1113 switches::kEnableWebMIDI, | 1113 switches::kEnableWebMIDI, |
| 1114 switches::kEnableZeroCopy, |
1114 switches::kForceCompositingMode, | 1115 switches::kForceCompositingMode, |
1115 switches::kForceDeviceScaleFactor, | 1116 switches::kForceDeviceScaleFactor, |
1116 switches::kFullMemoryCrashReport, | 1117 switches::kFullMemoryCrashReport, |
1117 switches::kJavaScriptFlags, | 1118 switches::kJavaScriptFlags, |
1118 switches::kLoggingLevel, | 1119 switches::kLoggingLevel, |
1119 switches::kMaxUntiledLayerWidth, | 1120 switches::kMaxUntiledLayerWidth, |
1120 switches::kMaxUntiledLayerHeight, | 1121 switches::kMaxUntiledLayerHeight, |
1121 switches::kMemoryMetrics, | 1122 switches::kMemoryMetrics, |
1122 switches::kNoReferrers, | 1123 switches::kNoReferrers, |
1123 switches::kNoSandbox, | 1124 switches::kNoSandbox, |
(...skipping 954 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2078 mojo::ScopedMessagePipeHandle handle) { | 2079 mojo::ScopedMessagePipeHandle handle) { |
2079 mojo_activation_required_ = true; | 2080 mojo_activation_required_ = true; |
2080 MaybeActivateMojo(); | 2081 MaybeActivateMojo(); |
2081 | 2082 |
2082 mojo::AllocationScope scope; | 2083 mojo::AllocationScope scope; |
2083 mojo_application_host_->shell_client()->AcceptConnection(service_name, | 2084 mojo_application_host_->shell_client()->AcceptConnection(service_name, |
2084 handle.Pass()); | 2085 handle.Pass()); |
2085 } | 2086 } |
2086 | 2087 |
2087 } // namespace content | 2088 } // namespace content |
OLD | NEW |