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 984 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
995 switches::kTraceToConsole, | 995 switches::kTraceToConsole, |
996 switches::kEnableDeviceMotion, | 996 switches::kEnableDeviceMotion, |
997 #if defined(OS_ANDROID) | 997 #if defined(OS_ANDROID) |
998 switches::kDisableDeviceMotion, | 998 switches::kDisableDeviceMotion, |
999 #endif | 999 #endif |
1000 // Please keep these in alphabetical order. Compositor switches here should | 1000 // Please keep these in alphabetical order. Compositor switches here should |
1001 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. | 1001 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. |
1002 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 1002 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
1003 cc::switches::kCompositeToMailbox, | 1003 cc::switches::kCompositeToMailbox, |
1004 cc::switches::kDisableCompositedAntialiasing, | 1004 cc::switches::kDisableCompositedAntialiasing, |
| 1005 cc::switches::kDisableDeadlineScheduling, |
1005 cc::switches::kDisableImplSidePainting, | 1006 cc::switches::kDisableImplSidePainting, |
1006 cc::switches::kDisableThreadedAnimation, | 1007 cc::switches::kDisableThreadedAnimation, |
| 1008 cc::switches::kEnableDeadlineScheduling, |
1007 cc::switches::kEnableImplSidePainting, | 1009 cc::switches::kEnableImplSidePainting, |
1008 cc::switches::kEnablePartialSwap, | 1010 cc::switches::kEnablePartialSwap, |
1009 cc::switches::kEnablePerTilePainting, | 1011 cc::switches::kEnablePerTilePainting, |
1010 cc::switches::kEnablePinchVirtualViewport, | 1012 cc::switches::kEnablePinchVirtualViewport, |
1011 cc::switches::kEnableTopControlsPositionCalculation, | 1013 cc::switches::kEnableTopControlsPositionCalculation, |
1012 cc::switches::kForceDirectLayerDrawing, | 1014 cc::switches::kForceDirectLayerDrawing, |
1013 cc::switches::kLowResolutionContentsScaleFactor, | 1015 cc::switches::kLowResolutionContentsScaleFactor, |
1014 cc::switches::kMaxTilesForInterestArea, | 1016 cc::switches::kMaxTilesForInterestArea, |
1015 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, | 1017 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, |
1016 cc::switches::kNumRasterThreads, | 1018 cc::switches::kNumRasterThreads, |
(...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1763 // Skip widgets in other processes. | 1765 // Skip widgets in other processes. |
1764 if (widgets[i]->GetProcess()->GetID() != GetID()) | 1766 if (widgets[i]->GetProcess()->GetID() != GetID()) |
1765 continue; | 1767 continue; |
1766 | 1768 |
1767 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); | 1769 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); |
1768 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1770 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1769 } | 1771 } |
1770 } | 1772 } |
1771 | 1773 |
1772 } // namespace content | 1774 } // namespace content |
OLD | NEW |