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 915 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
926 switches::kDisableLegacyEncryptedMedia, | 926 switches::kDisableLegacyEncryptedMedia, |
927 switches::kOverrideEncryptedMediaCanPlayType, | 927 switches::kOverrideEncryptedMediaCanPlayType, |
928 switches::kEnableExperimentalWebPlatformFeatures, | 928 switches::kEnableExperimentalWebPlatformFeatures, |
929 switches::kEnableFixedLayout, | 929 switches::kEnableFixedLayout, |
930 switches::kEnableDeferredImageDecoding, | 930 switches::kEnableDeferredImageDecoding, |
931 switches::kEnableGPUServiceLogging, | 931 switches::kEnableGPUServiceLogging, |
932 switches::kEnableGPUClientLogging, | 932 switches::kEnableGPUClientLogging, |
933 switches::kEnableGpuClientTracing, | 933 switches::kEnableGpuClientTracing, |
934 switches::kEnableGpuBenchmarking, | 934 switches::kEnableGpuBenchmarking, |
935 switches::kEnableMemoryBenchmarking, | 935 switches::kEnableMemoryBenchmarking, |
936 switches::kEnableOverlayScrollbars, | |
937 switches::kEnableSkiaBenchmarking, | 936 switches::kEnableSkiaBenchmarking, |
938 switches::kEnableLogging, | 937 switches::kEnableLogging, |
939 switches::kEnableSpeechSynthesis, | 938 switches::kEnableSpeechSynthesis, |
940 switches::kEnableTouchDragDrop, | 939 switches::kEnableTouchDragDrop, |
941 switches::kEnableTouchEditing, | 940 switches::kEnableTouchEditing, |
942 #if defined(ENABLE_WEBRTC) | 941 #if defined(ENABLE_WEBRTC) |
943 switches::kEnableWebRtcAecRecordings, | 942 switches::kEnableWebRtcAecRecordings, |
944 switches::kEnableWebRtcTcpServerSocket, | 943 switches::kEnableWebRtcTcpServerSocket, |
945 switches::kEnableWebRtcHWDecoding, | 944 switches::kEnableWebRtcHWDecoding, |
946 #endif | 945 #endif |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1036 switches::kDisableDeviceMotion, | 1035 switches::kDisableDeviceMotion, |
1037 #endif | 1036 #endif |
1038 // Please keep these in alphabetical order. Compositor switches here should | 1037 // Please keep these in alphabetical order. Compositor switches here should |
1039 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. | 1038 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. |
1040 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 1039 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
1041 cc::switches::kCompositeToMailbox, | 1040 cc::switches::kCompositeToMailbox, |
1042 cc::switches::kDisableCompositedAntialiasing, | 1041 cc::switches::kDisableCompositedAntialiasing, |
1043 cc::switches::kDisableImplSidePainting, | 1042 cc::switches::kDisableImplSidePainting, |
1044 cc::switches::kDisableThreadedAnimation, | 1043 cc::switches::kDisableThreadedAnimation, |
1045 cc::switches::kEnableImplSidePainting, | 1044 cc::switches::kEnableImplSidePainting, |
| 1045 cc::switches::kEnableOverlayScrollbars, |
1046 cc::switches::kEnablePartialSwap, | 1046 cc::switches::kEnablePartialSwap, |
1047 cc::switches::kEnablePerTilePainting, | 1047 cc::switches::kEnablePerTilePainting, |
1048 cc::switches::kEnablePinchVirtualViewport, | 1048 cc::switches::kEnablePinchVirtualViewport, |
1049 cc::switches::kEnableTopControlsPositionCalculation, | 1049 cc::switches::kEnableTopControlsPositionCalculation, |
1050 cc::switches::kForceDirectLayerDrawing, | 1050 cc::switches::kForceDirectLayerDrawing, |
1051 cc::switches::kLowResolutionContentsScaleFactor, | 1051 cc::switches::kLowResolutionContentsScaleFactor, |
1052 cc::switches::kMaxTilesForInterestArea, | 1052 cc::switches::kMaxTilesForInterestArea, |
1053 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 1053 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
1054 cc::switches::kNumRasterThreads, | 1054 cc::switches::kNumRasterThreads, |
1055 cc::switches::kShowCompositedLayerBorders, | 1055 cc::switches::kShowCompositedLayerBorders, |
(...skipping 750 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1806 // Skip widgets in other processes. | 1806 // Skip widgets in other processes. |
1807 if (widgets[i]->GetProcess()->GetID() != GetID()) | 1807 if (widgets[i]->GetProcess()->GetID() != GetID()) |
1808 continue; | 1808 continue; |
1809 | 1809 |
1810 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); | 1810 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); |
1811 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1811 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1812 } | 1812 } |
1813 } | 1813 } |
1814 | 1814 |
1815 } // namespace content | 1815 } // namespace content |
OLD | NEW |