| 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 1061 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1072 cc::switches::kEnableLCDText, | 1072 cc::switches::kEnableLCDText, |
| 1073 cc::switches::kEnableMapImage, | 1073 cc::switches::kEnableMapImage, |
| 1074 cc::switches::kEnablePartialSwap, | 1074 cc::switches::kEnablePartialSwap, |
| 1075 cc::switches::kEnablePerTilePainting, | 1075 cc::switches::kEnablePerTilePainting, |
| 1076 cc::switches::kEnablePinchVirtualViewport, | 1076 cc::switches::kEnablePinchVirtualViewport, |
| 1077 cc::switches::kEnableTopControlsPositionCalculation, | 1077 cc::switches::kEnableTopControlsPositionCalculation, |
| 1078 cc::switches::kForceDirectLayerDrawing, | 1078 cc::switches::kForceDirectLayerDrawing, |
| 1079 cc::switches::kMaxTilesForInterestArea, | 1079 cc::switches::kMaxTilesForInterestArea, |
| 1080 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 1080 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
| 1081 cc::switches::kNumRasterThreads, | 1081 cc::switches::kNumRasterThreads, |
| 1082 cc::switches::kShowLayerAnimationBounds, |
| 1082 cc::switches::kShowCompositedLayerBorders, | 1083 cc::switches::kShowCompositedLayerBorders, |
| 1083 cc::switches::kShowFPSCounter, | 1084 cc::switches::kShowFPSCounter, |
| 1084 cc::switches::kShowNonOccludingRects, | 1085 cc::switches::kShowNonOccludingRects, |
| 1085 cc::switches::kShowOccludingRects, | 1086 cc::switches::kShowOccludingRects, |
| 1086 cc::switches::kShowPropertyChangedRects, | 1087 cc::switches::kShowPropertyChangedRects, |
| 1087 cc::switches::kShowReplicaScreenSpaceRects, | 1088 cc::switches::kShowReplicaScreenSpaceRects, |
| 1088 cc::switches::kShowScreenSpaceRects, | 1089 cc::switches::kShowScreenSpaceRects, |
| 1089 cc::switches::kShowSurfaceDamageRects, | 1090 cc::switches::kShowSurfaceDamageRects, |
| 1090 cc::switches::kSlowDownRasterScaleFactor, | 1091 cc::switches::kSlowDownRasterScaleFactor, |
| 1091 cc::switches::kStrictLayerPropertyChangeChecking, | 1092 cc::switches::kStrictLayerPropertyChangeChecking, |
| (...skipping 805 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1897 // Skip widgets in other processes. | 1898 // Skip widgets in other processes. |
| 1898 if (widget->GetProcess()->GetID() != GetID()) | 1899 if (widget->GetProcess()->GetID() != GetID()) |
| 1899 continue; | 1900 continue; |
| 1900 | 1901 |
| 1901 RenderViewHost* rvh = RenderViewHost::From(widget); | 1902 RenderViewHost* rvh = RenderViewHost::From(widget); |
| 1902 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1903 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
| 1903 } | 1904 } |
| 1904 } | 1905 } |
| 1905 | 1906 |
| 1906 } // namespace content | 1907 } // namespace content |
| OLD | NEW |