| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 1380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1391 } | 1391 } |
| 1392 } | 1392 } |
| 1393 | 1393 |
| 1394 void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer( | 1394 void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer( |
| 1395 const base::CommandLine& browser_cmd, | 1395 const base::CommandLine& browser_cmd, |
| 1396 base::CommandLine* renderer_cmd) const { | 1396 base::CommandLine* renderer_cmd) const { |
| 1397 // Propagate the following switches to the renderer command line (along | 1397 // Propagate the following switches to the renderer command line (along |
| 1398 // with any associated values) if present in the browser command line. | 1398 // with any associated values) if present in the browser command line. |
| 1399 static const char* const kSwitchNames[] = { | 1399 static const char* const kSwitchNames[] = { |
| 1400 switches::kAgcStartupMinVolume, | 1400 switches::kAgcStartupMinVolume, |
| 1401 switches::kAecRefinedAdaptiveFilter, |
| 1401 switches::kAllowLoopbackInPeerConnection, | 1402 switches::kAllowLoopbackInPeerConnection, |
| 1402 switches::kAndroidFontsPath, | 1403 switches::kAndroidFontsPath, |
| 1403 switches::kAudioBufferSize, | 1404 switches::kAudioBufferSize, |
| 1404 switches::kBlinkPlatformLogChannels, | 1405 switches::kBlinkPlatformLogChannels, |
| 1405 switches::kBlinkSettings, | 1406 switches::kBlinkSettings, |
| 1406 switches::kDefaultTileWidth, | 1407 switches::kDefaultTileWidth, |
| 1407 switches::kDefaultTileHeight, | 1408 switches::kDefaultTileHeight, |
| 1408 switches::kDisable2dCanvasImageChromium, | 1409 switches::kDisable2dCanvasImageChromium, |
| 1409 switches::kDisable3DAPIs, | 1410 switches::kDisable3DAPIs, |
| 1410 switches::kDisableAcceleratedJpegDecoding, | 1411 switches::kDisableAcceleratedJpegDecoding, |
| (...skipping 1425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2836 | 2837 |
| 2837 // Skip widgets in other processes. | 2838 // Skip widgets in other processes. |
| 2838 if (rvh->GetProcess()->GetID() != GetID()) | 2839 if (rvh->GetProcess()->GetID() != GetID()) |
| 2839 continue; | 2840 continue; |
| 2840 | 2841 |
| 2841 rvh->OnWebkitPreferencesChanged(); | 2842 rvh->OnWebkitPreferencesChanged(); |
| 2842 } | 2843 } |
| 2843 } | 2844 } |
| 2844 | 2845 |
| 2845 } // namespace content | 2846 } // namespace content |
| OLD | NEW |