Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(664)

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 1685053002: blink fonts: Load Android SkFontMgr on Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@windows_change
Patch Set: Rebase. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | content/browser/zygote_host/zygote_communication_linux.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | content/browser/zygote_host/zygote_communication_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698