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 974 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
985 switches::kUserAgent, | 985 switches::kUserAgent, |
986 switches::kV, | 986 switches::kV, |
987 switches::kVideoThreads, | 987 switches::kVideoThreads, |
988 switches::kVModule, | 988 switches::kVModule, |
989 switches::kWebCoreLogChannels, | 989 switches::kWebCoreLogChannels, |
990 // Please keep these in alphabetical order. Compositor switches here should | 990 // Please keep these in alphabetical order. Compositor switches here should |
991 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. | 991 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. |
992 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 992 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
993 cc::switches::kCompositeToMailbox, | 993 cc::switches::kCompositeToMailbox, |
994 cc::switches::kDisableCompositedAntialiasing, | 994 cc::switches::kDisableCompositedAntialiasing, |
| 995 cc::switches::kDisableCompositorTouchHitTesting, |
995 cc::switches::kDisableImplSidePainting, | 996 cc::switches::kDisableImplSidePainting, |
996 cc::switches::kDisableLCDText, | 997 cc::switches::kDisableLCDText, |
997 cc::switches::kDisableMapImage, | 998 cc::switches::kDisableMapImage, |
998 cc::switches::kDisableThreadedAnimation, | 999 cc::switches::kDisableThreadedAnimation, |
999 cc::switches::kEnableImplSidePainting, | 1000 cc::switches::kEnableImplSidePainting, |
1000 cc::switches::kEnableLCDText, | 1001 cc::switches::kEnableLCDText, |
1001 cc::switches::kEnableMapImage, | 1002 cc::switches::kEnableMapImage, |
1002 cc::switches::kEnablePartialSwap, | 1003 cc::switches::kEnablePartialSwap, |
1003 cc::switches::kEnablePerTilePainting, | 1004 cc::switches::kEnablePerTilePainting, |
1004 cc::switches::kEnablePinchVirtualViewport, | 1005 cc::switches::kEnablePinchVirtualViewport, |
(...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1798 // Skip widgets in other processes. | 1799 // Skip widgets in other processes. |
1799 if (widget->GetProcess()->GetID() != GetID()) | 1800 if (widget->GetProcess()->GetID() != GetID()) |
1800 continue; | 1801 continue; |
1801 | 1802 |
1802 RenderViewHost* rvh = RenderViewHost::From(widget); | 1803 RenderViewHost* rvh = RenderViewHost::From(widget); |
1803 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1804 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1804 } | 1805 } |
1805 } | 1806 } |
1806 | 1807 |
1807 } // namespace content | 1808 } // namespace content |
OLD | NEW |