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 995 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1006 switches::kDisableDeviceMotion, | 1006 switches::kDisableDeviceMotion, |
1007 #endif | 1007 #endif |
1008 // Please keep these in alphabetical order. Compositor switches here should | 1008 // Please keep these in alphabetical order. Compositor switches here should |
1009 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. | 1009 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. |
1010 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 1010 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
1011 cc::switches::kCompositeToMailbox, | 1011 cc::switches::kCompositeToMailbox, |
1012 cc::switches::kDisableCompositedAntialiasing, | 1012 cc::switches::kDisableCompositedAntialiasing, |
1013 cc::switches::kDisableDeadlineScheduling, | 1013 cc::switches::kDisableDeadlineScheduling, |
1014 cc::switches::kDisableImplSidePainting, | 1014 cc::switches::kDisableImplSidePainting, |
1015 cc::switches::kDisableMapImage, | 1015 cc::switches::kDisableMapImage, |
| 1016 cc::switches::kDisableStartCommitBeforeActivate, |
| 1017 cc::switches::kDisableStartCommitBeforeDraw, |
1016 cc::switches::kDisableThreadedAnimation, | 1018 cc::switches::kDisableThreadedAnimation, |
1017 cc::switches::kEnableDeadlineScheduling, | 1019 cc::switches::kEnableDeadlineScheduling, |
1018 cc::switches::kEnableImplSidePainting, | 1020 cc::switches::kEnableImplSidePainting, |
1019 cc::switches::kEnableMapImage, | 1021 cc::switches::kEnableMapImage, |
1020 cc::switches::kEnablePartialSwap, | 1022 cc::switches::kEnablePartialSwap, |
1021 cc::switches::kEnablePerTilePainting, | 1023 cc::switches::kEnablePerTilePainting, |
1022 cc::switches::kEnablePinchVirtualViewport, | 1024 cc::switches::kEnablePinchVirtualViewport, |
| 1025 cc::switches::kEnableStartCommitBeforeDraw, |
| 1026 cc::switches::kEnableStartCommitBeforeActivate, |
1023 cc::switches::kEnableTopControlsPositionCalculation, | 1027 cc::switches::kEnableTopControlsPositionCalculation, |
1024 cc::switches::kForceDirectLayerDrawing, | 1028 cc::switches::kForceDirectLayerDrawing, |
1025 cc::switches::kLowResolutionContentsScaleFactor, | 1029 cc::switches::kLowResolutionContentsScaleFactor, |
1026 cc::switches::kMaxTilesForInterestArea, | 1030 cc::switches::kMaxTilesForInterestArea, |
1027 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 1031 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
1028 cc::switches::kNumRasterThreads, | 1032 cc::switches::kNumRasterThreads, |
1029 cc::switches::kShowCompositedLayerBorders, | 1033 cc::switches::kShowCompositedLayerBorders, |
1030 cc::switches::kShowFPSCounter, | 1034 cc::switches::kShowFPSCounter, |
1031 cc::switches::kShowNonOccludingRects, | 1035 cc::switches::kShowNonOccludingRects, |
1032 cc::switches::kShowOccludingRects, | 1036 cc::switches::kShowOccludingRects, |
(...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1774 // Skip widgets in other processes. | 1778 // Skip widgets in other processes. |
1775 if (widgets[i]->GetProcess()->GetID() != GetID()) | 1779 if (widgets[i]->GetProcess()->GetID() != GetID()) |
1776 continue; | 1780 continue; |
1777 | 1781 |
1778 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); | 1782 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); |
1779 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1783 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1780 } | 1784 } |
1781 } | 1785 } |
1782 | 1786 |
1783 } // namespace content | 1787 } // namespace content |
OLD | NEW |