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 1013 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1024 // This flag needs to be propagated to the renderer process for | 1024 // This flag needs to be propagated to the renderer process for |
1025 // --in-process-webgl. | 1025 // --in-process-webgl. |
1026 switches::kUseGL, | 1026 switches::kUseGL, |
1027 switches::kUseMobileUserAgent, | 1027 switches::kUseMobileUserAgent, |
1028 switches::kUserAgent, | 1028 switches::kUserAgent, |
1029 switches::kV, | 1029 switches::kV, |
1030 switches::kVideoThreads, | 1030 switches::kVideoThreads, |
1031 switches::kVModule, | 1031 switches::kVModule, |
1032 switches::kWebCoreLogChannels, | 1032 switches::kWebCoreLogChannels, |
1033 switches::kEnableWebGLDraftExtensions, | 1033 switches::kEnableWebGLDraftExtensions, |
| 1034 switches::kEnableHTMLImports, |
1034 switches::kTraceToConsole, | 1035 switches::kTraceToConsole, |
1035 switches::kEnableDeviceMotion, | 1036 switches::kEnableDeviceMotion, |
1036 #if defined(OS_ANDROID) | 1037 #if defined(OS_ANDROID) |
1037 switches::kDisableDeviceMotion, | 1038 switches::kDisableDeviceMotion, |
1038 #endif | 1039 #endif |
1039 // Please keep these in alphabetical order. Compositor switches here should | 1040 // Please keep these in alphabetical order. Compositor switches here should |
1040 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. | 1041 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. |
1041 cc::switches::kBackgroundColorInsteadOfCheckerboard, | 1042 cc::switches::kBackgroundColorInsteadOfCheckerboard, |
1042 cc::switches::kCompositeToMailbox, | 1043 cc::switches::kCompositeToMailbox, |
1043 cc::switches::kDisableCompositedAntialiasing, | 1044 cc::switches::kDisableCompositedAntialiasing, |
(...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1807 // Skip widgets in other processes. | 1808 // Skip widgets in other processes. |
1808 if (widgets[i]->GetProcess()->GetID() != GetID()) | 1809 if (widgets[i]->GetProcess()->GetID() != GetID()) |
1809 continue; | 1810 continue; |
1810 | 1811 |
1811 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); | 1812 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); |
1812 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1813 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1813 } | 1814 } |
1814 } | 1815 } |
1815 | 1816 |
1816 } // namespace content | 1817 } // namespace content |
OLD | NEW |