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 1372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1383 } | 1383 } |
1384 | 1384 |
1385 void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer( | 1385 void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer( |
1386 const base::CommandLine& browser_cmd, | 1386 const base::CommandLine& browser_cmd, |
1387 base::CommandLine* renderer_cmd) const { | 1387 base::CommandLine* renderer_cmd) const { |
1388 // Propagate the following switches to the renderer command line (along | 1388 // Propagate the following switches to the renderer command line (along |
1389 // with any associated values) if present in the browser command line. | 1389 // with any associated values) if present in the browser command line. |
1390 static const char* const kSwitchNames[] = { | 1390 static const char* const kSwitchNames[] = { |
1391 switches::kAgcStartupMinVolume, | 1391 switches::kAgcStartupMinVolume, |
1392 switches::kAllowLoopbackInPeerConnection, | 1392 switches::kAllowLoopbackInPeerConnection, |
| 1393 switches::kAndroidFontsPath, |
1393 switches::kAudioBufferSize, | 1394 switches::kAudioBufferSize, |
1394 switches::kBlinkPlatformLogChannels, | 1395 switches::kBlinkPlatformLogChannels, |
1395 switches::kBlinkSettings, | 1396 switches::kBlinkSettings, |
1396 switches::kDefaultTileWidth, | 1397 switches::kDefaultTileWidth, |
1397 switches::kDefaultTileHeight, | 1398 switches::kDefaultTileHeight, |
1398 switches::kDisable3DAPIs, | 1399 switches::kDisable3DAPIs, |
1399 switches::kDisableAcceleratedJpegDecoding, | 1400 switches::kDisableAcceleratedJpegDecoding, |
1400 switches::kDisableAcceleratedVideoDecode, | 1401 switches::kDisableAcceleratedVideoDecode, |
1401 switches::kDisableBlinkFeatures, | 1402 switches::kDisableBlinkFeatures, |
1402 switches::kDisableBreakpad, | 1403 switches::kDisableBreakpad, |
(...skipping 1401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2804 | 2805 |
2805 // Skip widgets in other processes. | 2806 // Skip widgets in other processes. |
2806 if (rvh->GetProcess()->GetID() != GetID()) | 2807 if (rvh->GetProcess()->GetID() != GetID()) |
2807 continue; | 2808 continue; |
2808 | 2809 |
2809 rvh->OnWebkitPreferencesChanged(); | 2810 rvh->OnWebkitPreferencesChanged(); |
2810 } | 2811 } |
2811 } | 2812 } |
2812 | 2813 |
2813 } // namespace content | 2814 } // namespace content |
OLD | NEW |