| 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 switches::kTraceToConsole, | 1001 switches::kTraceToConsole, |
| 1002 switches::kEnableDeviceMotion, | 1002 switches::kEnableDeviceMotion, |
| 1003 #if defined(OS_ANDROID) | 1003 #if defined(OS_ANDROID) |
| 1004 switches::kDisableDeviceMotion, | 1004 switches::kDisableDeviceMotion, |
| 1005 #endif | 1005 #endif |
| 1006 // Please keep these in alphabetical order. Compositor switches here should | 1006 // Please keep these in alphabetical order. Compositor switches here should |
| 1007 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. | 1007 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. |
| 1008 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 1008 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
| 1009 cc::switches::kCompositeToMailbox, | 1009 cc::switches::kCompositeToMailbox, |
| 1010 cc::switches::kDisableCompositedAntialiasing, | 1010 cc::switches::kDisableCompositedAntialiasing, |
| 1011 cc::switches::kDisableDeadlineScheduling, |
| 1011 cc::switches::kDisableImplSidePainting, | 1012 cc::switches::kDisableImplSidePainting, |
| 1012 cc::switches::kDisableMapImage, | 1013 cc::switches::kDisableMapImage, |
| 1013 cc::switches::kDisableThreadedAnimation, | 1014 cc::switches::kDisableThreadedAnimation, |
| 1015 cc::switches::kEnableDeadlineScheduling, |
| 1014 cc::switches::kEnableImplSidePainting, | 1016 cc::switches::kEnableImplSidePainting, |
| 1015 cc::switches::kEnableMapImage, | 1017 cc::switches::kEnableMapImage, |
| 1016 cc::switches::kEnablePartialSwap, | 1018 cc::switches::kEnablePartialSwap, |
| 1017 cc::switches::kEnablePerTilePainting, | 1019 cc::switches::kEnablePerTilePainting, |
| 1018 cc::switches::kEnablePinchVirtualViewport, | 1020 cc::switches::kEnablePinchVirtualViewport, |
| 1019 cc::switches::kEnableTopControlsPositionCalculation, | 1021 cc::switches::kEnableTopControlsPositionCalculation, |
| 1020 cc::switches::kForceDirectLayerDrawing, | 1022 cc::switches::kForceDirectLayerDrawing, |
| 1021 cc::switches::kLowResolutionContentsScaleFactor, | 1023 cc::switches::kLowResolutionContentsScaleFactor, |
| 1022 cc::switches::kMaxTilesForInterestArea, | 1024 cc::switches::kMaxTilesForInterestArea, |
| 1023 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 1025 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
| (...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1770 // Skip widgets in other processes. | 1772 // Skip widgets in other processes. |
| 1771 if (widgets[i]->GetProcess()->GetID() != GetID()) | 1773 if (widgets[i]->GetProcess()->GetID() != GetID()) |
| 1772 continue; | 1774 continue; |
| 1773 | 1775 |
| 1774 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); | 1776 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); |
| 1775 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1777 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
| 1776 } | 1778 } |
| 1777 } | 1779 } |
| 1778 | 1780 |
| 1779 } // namespace content | 1781 } // namespace content |
| OLD | NEW |