| 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 1057 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1068 cc::switches::kEnableMapImage, | 1068 cc::switches::kEnableMapImage, |
| 1069 cc::switches::kEnablePartialSwap, | 1069 cc::switches::kEnablePartialSwap, |
| 1070 cc::switches::kEnablePerTilePainting, | 1070 cc::switches::kEnablePerTilePainting, |
| 1071 cc::switches::kEnablePinchVirtualViewport, | 1071 cc::switches::kEnablePinchVirtualViewport, |
| 1072 cc::switches::kEnableTopControlsPositionCalculation, | 1072 cc::switches::kEnableTopControlsPositionCalculation, |
| 1073 cc::switches::kForceDirectLayerDrawing, | 1073 cc::switches::kForceDirectLayerDrawing, |
| 1074 cc::switches::kLowResolutionContentsScaleFactor, | 1074 cc::switches::kLowResolutionContentsScaleFactor, |
| 1075 cc::switches::kMaxTilesForInterestArea, | 1075 cc::switches::kMaxTilesForInterestArea, |
| 1076 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 1076 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
| 1077 cc::switches::kNumRasterThreads, | 1077 cc::switches::kNumRasterThreads, |
| 1078 cc::switches::kShowLayerAnimationBounds, |
| 1078 cc::switches::kShowCompositedLayerBorders, | 1079 cc::switches::kShowCompositedLayerBorders, |
| 1079 cc::switches::kShowFPSCounter, | 1080 cc::switches::kShowFPSCounter, |
| 1080 cc::switches::kShowNonOccludingRects, | 1081 cc::switches::kShowNonOccludingRects, |
| 1081 cc::switches::kShowOccludingRects, | 1082 cc::switches::kShowOccludingRects, |
| 1082 cc::switches::kShowPropertyChangedRects, | 1083 cc::switches::kShowPropertyChangedRects, |
| 1083 cc::switches::kShowReplicaScreenSpaceRects, | 1084 cc::switches::kShowReplicaScreenSpaceRects, |
| 1084 cc::switches::kShowScreenSpaceRects, | 1085 cc::switches::kShowScreenSpaceRects, |
| 1085 cc::switches::kShowSurfaceDamageRects, | 1086 cc::switches::kShowSurfaceDamageRects, |
| 1086 cc::switches::kSlowDownRasterScaleFactor, | 1087 cc::switches::kSlowDownRasterScaleFactor, |
| 1087 cc::switches::kStrictLayerPropertyChangeChecking, | 1088 cc::switches::kStrictLayerPropertyChangeChecking, |
| (...skipping 803 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1891 // Skip widgets in other processes. | 1892 // Skip widgets in other processes. |
| 1892 if (widget->GetProcess()->GetID() != GetID()) | 1893 if (widget->GetProcess()->GetID() != GetID()) |
| 1893 continue; | 1894 continue; |
| 1894 | 1895 |
| 1895 RenderViewHost* rvh = RenderViewHost::From(widget); | 1896 RenderViewHost* rvh = RenderViewHost::From(widget); |
| 1896 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1897 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
| 1897 } | 1898 } |
| 1898 } | 1899 } |
| 1899 | 1900 |
| 1900 } // namespace content | 1901 } // namespace content |
| OLD | NEW |