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