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 977 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
988 // This flag needs to be propagated to the renderer process for | 988 // This flag needs to be propagated to the renderer process for |
989 // --in-process-webgl. | 989 // --in-process-webgl. |
990 switches::kUseGL, | 990 switches::kUseGL, |
991 switches::kUseMobileUserAgent, | 991 switches::kUseMobileUserAgent, |
992 switches::kUserAgent, | 992 switches::kUserAgent, |
993 switches::kV, | 993 switches::kV, |
994 switches::kVideoThreads, | 994 switches::kVideoThreads, |
995 switches::kVModule, | 995 switches::kVModule, |
996 switches::kWebCoreLogChannels, | 996 switches::kWebCoreLogChannels, |
997 switches::kEnableWebGLDraftExtensions, | 997 switches::kEnableWebGLDraftExtensions, |
998 | |
999 switches::kTraceToConsole, | |
1000 | |
piman
2013/07/03 17:42:28
nit: no need for blank lines
Ian Vollick
2013/07/03 18:48:03
Removed.
| |
998 // Please keep these in alphabetical order. Compositor switches here should | 1001 // Please keep these in alphabetical order. Compositor switches here should |
999 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. | 1002 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. |
1000 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 1003 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
1001 cc::switches::kCompositeToMailbox, | 1004 cc::switches::kCompositeToMailbox, |
1002 cc::switches::kDisableColorEstimator, | 1005 cc::switches::kDisableColorEstimator, |
1003 cc::switches::kDisableImplSidePainting, | 1006 cc::switches::kDisableImplSidePainting, |
1004 cc::switches::kDisableThreadedAnimation, | 1007 cc::switches::kDisableThreadedAnimation, |
1005 cc::switches::kEnableImplSidePainting, | 1008 cc::switches::kEnableImplSidePainting, |
1006 cc::switches::kEnablePartialSwap, | 1009 cc::switches::kEnablePartialSwap, |
1007 cc::switches::kEnablePerTilePainting, | 1010 cc::switches::kEnablePerTilePainting, |
(...skipping 768 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1776 // Skip widgets in other processes. | 1779 // Skip widgets in other processes. |
1777 if (widgets[i]->GetProcess()->GetID() != GetID()) | 1780 if (widgets[i]->GetProcess()->GetID() != GetID()) |
1778 continue; | 1781 continue; |
1779 | 1782 |
1780 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); | 1783 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); |
1781 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1784 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1782 } | 1785 } |
1783 } | 1786 } |
1784 | 1787 |
1785 } // namespace content | 1788 } // namespace content |
OLD | NEW |