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 1029 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1040 switches::kProfilerTiming, | 1040 switches::kProfilerTiming, |
1041 switches::kRegisterPepperPlugins, | 1041 switches::kRegisterPepperPlugins, |
1042 switches::kRendererAssertTest, | 1042 switches::kRendererAssertTest, |
1043 switches::kRendererStartupDialog, | 1043 switches::kRendererStartupDialog, |
1044 switches::kShowPaintRects, | 1044 switches::kShowPaintRects, |
1045 switches::kSitePerProcess, | 1045 switches::kSitePerProcess, |
1046 switches::kStatsCollectionController, | 1046 switches::kStatsCollectionController, |
1047 switches::kTestSandbox, | 1047 switches::kTestSandbox, |
1048 switches::kTouchEvents, | 1048 switches::kTouchEvents, |
1049 switches::kTraceToConsole, | 1049 switches::kTraceToConsole, |
| 1050 switches::kUseDiscardableMemory, |
1050 // This flag needs to be propagated to the renderer process for | 1051 // This flag needs to be propagated to the renderer process for |
1051 // --in-process-webgl. | 1052 // --in-process-webgl. |
1052 switches::kUseGL, | 1053 switches::kUseGL, |
1053 switches::kUseMobileUserAgent, | 1054 switches::kUseMobileUserAgent, |
1054 switches::kUserAgent, | 1055 switches::kUserAgent, |
1055 switches::kV, | 1056 switches::kV, |
1056 switches::kVideoThreads, | 1057 switches::kVideoThreads, |
1057 switches::kVModule, | 1058 switches::kVModule, |
1058 switches::kWebCoreLogChannels, | 1059 switches::kWebCoreLogChannels, |
1059 switches::kWebGLCommandBufferSizeKb, | 1060 switches::kWebGLCommandBufferSizeKb, |
(...skipping 848 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1908 // Skip widgets in other processes. | 1909 // Skip widgets in other processes. |
1909 if (widget->GetProcess()->GetID() != GetID()) | 1910 if (widget->GetProcess()->GetID() != GetID()) |
1910 continue; | 1911 continue; |
1911 | 1912 |
1912 RenderViewHost* rvh = RenderViewHost::From(widget); | 1913 RenderViewHost* rvh = RenderViewHost::From(widget); |
1913 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); | 1914 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); |
1914 } | 1915 } |
1915 } | 1916 } |
1916 | 1917 |
1917 } // namespace content | 1918 } // namespace content |
OLD | NEW |