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 990 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1001 cc::switches::kCompositeToMailbox, | 1001 cc::switches::kCompositeToMailbox, |
1002 cc::switches::kDisableColorEstimator, | 1002 cc::switches::kDisableColorEstimator, |
1003 cc::switches::kDisableImplSidePainting, | 1003 cc::switches::kDisableImplSidePainting, |
1004 cc::switches::kDisableThreadedAnimation, | 1004 cc::switches::kDisableThreadedAnimation, |
1005 cc::switches::kEnableImplSidePainting, | 1005 cc::switches::kEnableImplSidePainting, |
1006 cc::switches::kEnablePartialSwap, | 1006 cc::switches::kEnablePartialSwap, |
1007 cc::switches::kEnablePerTilePainting, | 1007 cc::switches::kEnablePerTilePainting, |
1008 cc::switches::kEnablePinchVirtualViewport, | 1008 cc::switches::kEnablePinchVirtualViewport, |
1009 cc::switches::kEnableTopControlsPositionCalculation, | 1009 cc::switches::kEnableTopControlsPositionCalculation, |
1010 cc::switches::kForceDirectLayerDrawing, | 1010 cc::switches::kForceDirectLayerDrawing, |
| 1011 cc::switches::kForceSolidColorScrollbars, |
1011 cc::switches::kLowResolutionContentsScaleFactor, | 1012 cc::switches::kLowResolutionContentsScaleFactor, |
1012 cc::switches::kMaxTilesForInterestArea, | 1013 cc::switches::kMaxTilesForInterestArea, |
1013 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 1014 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
1014 cc::switches::kNumRasterThreads, | 1015 cc::switches::kNumRasterThreads, |
1015 cc::switches::kShowCompositedLayerBorders, | 1016 cc::switches::kShowCompositedLayerBorders, |
1016 cc::switches::kShowFPSCounter, | 1017 cc::switches::kShowFPSCounter, |
1017 cc::switches::kShowNonOccludingRects, | 1018 cc::switches::kShowNonOccludingRects, |
1018 cc::switches::kShowOccludingRects, | 1019 cc::switches::kShowOccludingRects, |
1019 cc::switches::kShowPropertyChangedRects, | 1020 cc::switches::kShowPropertyChangedRects, |
1020 cc::switches::kShowReplicaScreenSpaceRects, | 1021 cc::switches::kShowReplicaScreenSpaceRects, |
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1776 // Skip widgets in other processes. | 1777 // Skip widgets in other processes. |
1777 if (widgets[i]->GetProcess()->GetID() != GetID()) | 1778 if (widgets[i]->GetProcess()->GetID() != GetID()) |
1778 continue; | 1779 continue; |
1779 | 1780 |
1780 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); | 1781 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); |
1781 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1782 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1782 } | 1783 } |
1783 } | 1784 } |
1784 | 1785 |
1785 } // namespace content | 1786 } // namespace content |
OLD | NEW |