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 996 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1007 switches::kUseMobileUserAgent, | 1007 switches::kUseMobileUserAgent, |
| 1008 switches::kUserAgent, | 1008 switches::kUserAgent, |
| 1009 switches::kV, | 1009 switches::kV, |
| 1010 switches::kVideoThreads, | 1010 switches::kVideoThreads, |
| 1011 switches::kVModule, | 1011 switches::kVModule, |
| 1012 switches::kWebCoreLogChannels, | 1012 switches::kWebCoreLogChannels, |
| 1013 switches::kEnableWebGLDraftExtensions, | 1013 switches::kEnableWebGLDraftExtensions, |
| 1014 switches::kEnableHTMLImports, | 1014 switches::kEnableHTMLImports, |
| 1015 switches::kEnableInputModeAttribute, | 1015 switches::kEnableInputModeAttribute, |
| 1016 switches::kTraceToConsole, | 1016 switches::kTraceToConsole, |
| 1017 switches::kEnableDeviceMotion, | 1017 switches::kEnableDeviceMotion, |
|
Peter Beverloo
2013/09/18 15:17:39
Can we remove this flag altogether now that the fe
timvolodine
2013/09/18 16:27:38
Done.
| |
| 1018 #if defined(OS_ANDROID) | |
| 1019 switches::kDisableDeviceMotion, | 1018 switches::kDisableDeviceMotion, |
| 1020 #endif | |
| 1021 // Please keep these in alphabetical order. Compositor switches here should | 1019 // Please keep these in alphabetical order. Compositor switches here should |
| 1022 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. | 1020 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. |
| 1023 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 1021 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
| 1024 cc::switches::kCompositeToMailbox, | 1022 cc::switches::kCompositeToMailbox, |
| 1025 cc::switches::kDisableCompositedAntialiasing, | 1023 cc::switches::kDisableCompositedAntialiasing, |
| 1026 cc::switches::kDisableImplSidePainting, | 1024 cc::switches::kDisableImplSidePainting, |
| 1027 cc::switches::kDisableLCDText, | 1025 cc::switches::kDisableLCDText, |
| 1028 cc::switches::kDisableMapImage, | 1026 cc::switches::kDisableMapImage, |
| 1029 cc::switches::kDisableThreadedAnimation, | 1027 cc::switches::kDisableThreadedAnimation, |
| 1030 cc::switches::kEnableImplSidePainting, | 1028 cc::switches::kEnableImplSidePainting, |
| (...skipping 756 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1787 // Skip widgets in other processes. | 1785 // Skip widgets in other processes. |
| 1788 if (widget->GetProcess()->GetID() != GetID()) | 1786 if (widget->GetProcess()->GetID() != GetID()) |
| 1789 continue; | 1787 continue; |
| 1790 | 1788 |
| 1791 RenderViewHost* rvh = RenderViewHost::From(widget); | 1789 RenderViewHost* rvh = RenderViewHost::From(widget); |
| 1792 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1790 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
| 1793 } | 1791 } |
| 1794 } | 1792 } |
| 1795 | 1793 |
| 1796 } // namespace content | 1794 } // namespace content |
| OLD | NEW |