| 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 982 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 993 switches::kUserAgent, | 993 switches::kUserAgent, |
| 994 switches::kV, | 994 switches::kV, |
| 995 switches::kVideoThreads, | 995 switches::kVideoThreads, |
| 996 switches::kVModule, | 996 switches::kVModule, |
| 997 switches::kWebCoreLogChannels, | 997 switches::kWebCoreLogChannels, |
| 998 switches::kEnableWebGLDraftExtensions, | 998 switches::kEnableWebGLDraftExtensions, |
| 999 // Please keep these in alphabetical order. Compositor switches here should | 999 // Please keep these in alphabetical order. Compositor switches here should |
| 1000 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. | 1000 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. |
| 1001 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 1001 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
| 1002 cc::switches::kCompositeToMailbox, | 1002 cc::switches::kCompositeToMailbox, |
| 1003 cc::switches::kDisableColorEstimator, | |
| 1004 cc::switches::kDisableImplSidePainting, | 1003 cc::switches::kDisableImplSidePainting, |
| 1005 cc::switches::kDisableThreadedAnimation, | 1004 cc::switches::kDisableThreadedAnimation, |
| 1006 cc::switches::kEnableImplSidePainting, | 1005 cc::switches::kEnableImplSidePainting, |
| 1007 cc::switches::kEnablePartialSwap, | 1006 cc::switches::kEnablePartialSwap, |
| 1008 cc::switches::kEnablePerTilePainting, | 1007 cc::switches::kEnablePerTilePainting, |
| 1009 cc::switches::kEnablePinchVirtualViewport, | 1008 cc::switches::kEnablePinchVirtualViewport, |
| 1010 cc::switches::kEnableTopControlsPositionCalculation, | 1009 cc::switches::kEnableTopControlsPositionCalculation, |
| 1011 cc::switches::kForceDirectLayerDrawing, | 1010 cc::switches::kForceDirectLayerDrawing, |
| 1012 cc::switches::kLowResolutionContentsScaleFactor, | 1011 cc::switches::kLowResolutionContentsScaleFactor, |
| 1013 cc::switches::kMaxTilesForInterestArea, | 1012 cc::switches::kMaxTilesForInterestArea, |
| (...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1777 // Skip widgets in other processes. | 1776 // Skip widgets in other processes. |
| 1778 if (widgets[i]->GetProcess()->GetID() != GetID()) | 1777 if (widgets[i]->GetProcess()->GetID() != GetID()) |
| 1779 continue; | 1778 continue; |
| 1780 | 1779 |
| 1781 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); | 1780 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); |
| 1782 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1781 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
| 1783 } | 1782 } |
| 1784 } | 1783 } |
| 1785 | 1784 |
| 1786 } // namespace content | 1785 } // namespace content |
| OLD | NEW |