Chromium Code Reviews| 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 987 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 998 // This flag needs to be propagated to the renderer process for | 998 // This flag needs to be propagated to the renderer process for |
| 999 // --in-process-webgl. | 999 // --in-process-webgl. |
| 1000 switches::kUseGL, | 1000 switches::kUseGL, |
| 1001 switches::kUseMobileUserAgent, | 1001 switches::kUseMobileUserAgent, |
| 1002 switches::kUserAgent, | 1002 switches::kUserAgent, |
| 1003 switches::kV, | 1003 switches::kV, |
| 1004 switches::kVideoThreads, | 1004 switches::kVideoThreads, |
| 1005 switches::kVModule, | 1005 switches::kVModule, |
| 1006 switches::kWebCoreLogChannels, | 1006 switches::kWebCoreLogChannels, |
| 1007 switches::kEnableWebGLDraftExtensions, | 1007 switches::kEnableWebGLDraftExtensions, |
| 1008 switches::kTraceToConsole, | |
|
piman
2013/07/03 19:52:23
nit: you'll probably also want to add it to Browse
| |
| 1008 // Please keep these in alphabetical order. Compositor switches here should | 1009 // Please keep these in alphabetical order. Compositor switches here should |
| 1009 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. | 1010 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. |
| 1010 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 1011 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
| 1011 cc::switches::kCompositeToMailbox, | 1012 cc::switches::kCompositeToMailbox, |
| 1012 cc::switches::kDisableImplSidePainting, | 1013 cc::switches::kDisableImplSidePainting, |
| 1013 cc::switches::kDisableThreadedAnimation, | 1014 cc::switches::kDisableThreadedAnimation, |
| 1014 cc::switches::kEnableImplSidePainting, | 1015 cc::switches::kEnableImplSidePainting, |
| 1015 cc::switches::kEnablePartialSwap, | 1016 cc::switches::kEnablePartialSwap, |
| 1016 cc::switches::kEnablePerTilePainting, | 1017 cc::switches::kEnablePerTilePainting, |
| 1017 cc::switches::kEnablePinchVirtualViewport, | 1018 cc::switches::kEnablePinchVirtualViewport, |
| (...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1784 // Skip widgets in other processes. | 1785 // Skip widgets in other processes. |
| 1785 if (widgets[i]->GetProcess()->GetID() != GetID()) | 1786 if (widgets[i]->GetProcess()->GetID() != GetID()) |
| 1786 continue; | 1787 continue; |
| 1787 | 1788 |
| 1788 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); | 1789 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); |
| 1789 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1790 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
| 1790 } | 1791 } |
| 1791 } | 1792 } |
| 1792 | 1793 |
| 1793 } // namespace content | 1794 } // namespace content |
| OLD | NEW |