| 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 1020 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1031 switches::kForceDeviceScaleFactor, | 1031 switches::kForceDeviceScaleFactor, |
| 1032 switches::kFullMemoryCrashReport, | 1032 switches::kFullMemoryCrashReport, |
| 1033 switches::kJavaScriptFlags, | 1033 switches::kJavaScriptFlags, |
| 1034 switches::kLoggingLevel, | 1034 switches::kLoggingLevel, |
| 1035 switches::kMaxUntiledLayerWidth, | 1035 switches::kMaxUntiledLayerWidth, |
| 1036 switches::kMaxUntiledLayerHeight, | 1036 switches::kMaxUntiledLayerHeight, |
| 1037 switches::kMemoryMetrics, | 1037 switches::kMemoryMetrics, |
| 1038 switches::kNoReferrers, | 1038 switches::kNoReferrers, |
| 1039 switches::kNoSandbox, | 1039 switches::kNoSandbox, |
| 1040 switches::kPpapiInProcess, | 1040 switches::kPpapiInProcess, |
| 1041 switches::kProfilerTiming, |
| 1041 switches::kRegisterPepperPlugins, | 1042 switches::kRegisterPepperPlugins, |
| 1042 switches::kRendererAssertTest, | 1043 switches::kRendererAssertTest, |
| 1043 switches::kRendererStartupDialog, | 1044 switches::kRendererStartupDialog, |
| 1044 switches::kShowPaintRects, | 1045 switches::kShowPaintRects, |
| 1045 switches::kSitePerProcess, | 1046 switches::kSitePerProcess, |
| 1046 switches::kStatsCollectionController, | 1047 switches::kStatsCollectionController, |
| 1047 switches::kTestSandbox, | 1048 switches::kTestSandbox, |
| 1048 switches::kTouchEvents, | 1049 switches::kTouchEvents, |
| 1049 switches::kTraceToConsole, | 1050 switches::kTraceToConsole, |
| 1050 // This flag needs to be propagated to the renderer process for | 1051 // This flag needs to be propagated to the renderer process for |
| (...skipping 846 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1897 // Skip widgets in other processes. | 1898 // Skip widgets in other processes. |
| 1898 if (widget->GetProcess()->GetID() != GetID()) | 1899 if (widget->GetProcess()->GetID() != GetID()) |
| 1899 continue; | 1900 continue; |
| 1900 | 1901 |
| 1901 RenderViewHost* rvh = RenderViewHost::From(widget); | 1902 RenderViewHost* rvh = RenderViewHost::From(widget); |
| 1902 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1903 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
| 1903 } | 1904 } |
| 1904 } | 1905 } |
| 1905 | 1906 |
| 1906 } // namespace content | 1907 } // namespace content |
| OLD | NEW |