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 1003 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1014 switches::kTraceToConsole, | 1014 switches::kTraceToConsole, |
1015 switches::kEnableDeviceMotion, | 1015 switches::kEnableDeviceMotion, |
1016 #if defined(OS_ANDROID) | 1016 #if defined(OS_ANDROID) |
1017 switches::kDisableDeviceMotion, | 1017 switches::kDisableDeviceMotion, |
1018 #endif | 1018 #endif |
1019 // Please keep these in alphabetical order. Compositor switches here should | 1019 // Please keep these in alphabetical order. Compositor switches here should |
1020 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. | 1020 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. |
1021 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 1021 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
1022 cc::switches::kCompositeToMailbox, | 1022 cc::switches::kCompositeToMailbox, |
1023 cc::switches::kDisableCompositedAntialiasing, | 1023 cc::switches::kDisableCompositedAntialiasing, |
| 1024 cc::switches::kDisableDeadlineScheduling, |
1024 cc::switches::kDisableImplSidePainting, | 1025 cc::switches::kDisableImplSidePainting, |
1025 cc::switches::kDisableMapImage, | 1026 cc::switches::kDisableMapImage, |
1026 cc::switches::kDisableThreadedAnimation, | 1027 cc::switches::kDisableThreadedAnimation, |
| 1028 cc::switches::kEnableDeadlineScheduling, |
1027 cc::switches::kEnableImplSidePainting, | 1029 cc::switches::kEnableImplSidePainting, |
1028 cc::switches::kEnableMapImage, | 1030 cc::switches::kEnableMapImage, |
1029 cc::switches::kEnablePartialSwap, | 1031 cc::switches::kEnablePartialSwap, |
1030 cc::switches::kEnablePerTilePainting, | 1032 cc::switches::kEnablePerTilePainting, |
1031 cc::switches::kEnablePinchVirtualViewport, | 1033 cc::switches::kEnablePinchVirtualViewport, |
1032 cc::switches::kEnableTopControlsPositionCalculation, | 1034 cc::switches::kEnableTopControlsPositionCalculation, |
1033 cc::switches::kForceDirectLayerDrawing, | 1035 cc::switches::kForceDirectLayerDrawing, |
1034 cc::switches::kLowResolutionContentsScaleFactor, | 1036 cc::switches::kLowResolutionContentsScaleFactor, |
1035 cc::switches::kMaxTilesForInterestArea, | 1037 cc::switches::kMaxTilesForInterestArea, |
1036 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 1038 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
(...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1782 // Skip widgets in other processes. | 1784 // Skip widgets in other processes. |
1783 if (widgets[i]->GetProcess()->GetID() != GetID()) | 1785 if (widgets[i]->GetProcess()->GetID() != GetID()) |
1784 continue; | 1786 continue; |
1785 | 1787 |
1786 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); | 1788 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); |
1787 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1789 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1788 } | 1790 } |
1789 } | 1791 } |
1790 | 1792 |
1791 } // namespace content | 1793 } // namespace content |
OLD | NEW |