| 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 // 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::kAudioBufferSize, | 1388 switches::kAudioBufferSize, |
| 1389 switches::kBlinkPlatformLogChannels, | 1389 switches::kBlinkPlatformLogChannels, |
| 1390 switches::kBlinkSettings, | 1390 switches::kBlinkSettings, |
| 1391 switches::kDefaultTileWidth, | 1391 switches::kDefaultTileWidth, |
| 1392 switches::kDefaultTileHeight, | 1392 switches::kDefaultTileHeight, |
| 1393 switches::kDisable2dCanvasImageChromium, |
| 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, |
| 1398 switches::kDisablePreferCompositingToLCDText, | 1399 switches::kDisablePreferCompositingToLCDText, |
| 1399 switches::kDisableDatabases, | 1400 switches::kDisableDatabases, |
| 1400 switches::kDisableDelayAgnosticAec, | 1401 switches::kDisableDelayAgnosticAec, |
| 1401 switches::kDisableDirectNPAPIRequests, | 1402 switches::kDisableDirectNPAPIRequests, |
| 1402 switches::kDisableDisplayList2dCanvas, | 1403 switches::kDisableDisplayList2dCanvas, |
| (...skipping 1406 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 |