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 978 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 switches::kEnableHTMLImports, | 998 switches::kEnableHTMLImports, |
| 999 switches::kEnableInputModeAttribute, |
999 switches::kTraceToConsole, | 1000 switches::kTraceToConsole, |
1000 switches::kEnableDeviceMotion, | 1001 switches::kEnableDeviceMotion, |
1001 #if defined(OS_ANDROID) | 1002 #if defined(OS_ANDROID) |
1002 switches::kDisableDeviceMotion, | 1003 switches::kDisableDeviceMotion, |
1003 #endif | 1004 #endif |
1004 // Please keep these in alphabetical order. Compositor switches here should | 1005 // Please keep these in alphabetical order. Compositor switches here should |
1005 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. | 1006 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. |
1006 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 1007 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
1007 cc::switches::kCompositeToMailbox, | 1008 cc::switches::kCompositeToMailbox, |
1008 cc::switches::kDisableCompositedAntialiasing, | 1009 cc::switches::kDisableCompositedAntialiasing, |
(...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1767 // Skip widgets in other processes. | 1768 // Skip widgets in other processes. |
1768 if (widgets[i]->GetProcess()->GetID() != GetID()) | 1769 if (widgets[i]->GetProcess()->GetID() != GetID()) |
1769 continue; | 1770 continue; |
1770 | 1771 |
1771 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); | 1772 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); |
1772 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1773 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1773 } | 1774 } |
1774 } | 1775 } |
1775 | 1776 |
1776 } // namespace content | 1777 } // namespace content |
OLD | NEW |