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

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

Issue 2099903002: Make tile size a function of the device scale factor. Base URL: https://chromium.googlesource.com/chromium/src.git@layouttests-display
Patch Set: tilesize: . Created 4 years, 5 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
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 1341 matching lines...) Expand 10 before | Expand all | Expand 10 after
1352 // Propagate the following switches to the renderer command line (along 1352 // Propagate the following switches to the renderer command line (along
1353 // with any associated values) if present in the browser command line. 1353 // with any associated values) if present in the browser command line.
1354 static const char* const kSwitchNames[] = { 1354 static const char* const kSwitchNames[] = {
1355 switches::kAgcStartupMinVolume, 1355 switches::kAgcStartupMinVolume,
1356 switches::kAecRefinedAdaptiveFilter, 1356 switches::kAecRefinedAdaptiveFilter,
1357 switches::kAllowLoopbackInPeerConnection, 1357 switches::kAllowLoopbackInPeerConnection,
1358 switches::kAndroidFontsPath, 1358 switches::kAndroidFontsPath,
1359 switches::kAudioBufferSize, 1359 switches::kAudioBufferSize,
1360 switches::kBlinkPlatformLogChannels, 1360 switches::kBlinkPlatformLogChannels,
1361 switches::kBlinkSettings, 1361 switches::kBlinkSettings,
1362 switches::kDefaultTileWidth,
1363 switches::kDefaultTileHeight,
1364 switches::kDisable2dCanvasImageChromium, 1362 switches::kDisable2dCanvasImageChromium,
1365 switches::kDisable3DAPIs, 1363 switches::kDisable3DAPIs,
1366 switches::kDisableAcceleratedJpegDecoding, 1364 switches::kDisableAcceleratedJpegDecoding,
1367 switches::kDisableAcceleratedVideoDecode, 1365 switches::kDisableAcceleratedVideoDecode,
1368 switches::kDisableBlinkFeatures, 1366 switches::kDisableBlinkFeatures,
1369 switches::kDisableBreakpad, 1367 switches::kDisableBreakpad,
1370 switches::kDisablePreferCompositingToLCDText, 1368 switches::kDisablePreferCompositingToLCDText,
1371 switches::kDisableDatabases, 1369 switches::kDisableDatabases,
1372 switches::kDisableDisplayList2dCanvas, 1370 switches::kDisableDisplayList2dCanvas,
1373 switches::kDisableDistanceFieldText, 1371 switches::kDisableDistanceFieldText,
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
1447 switches::kExplicitlyAllowedPorts, 1445 switches::kExplicitlyAllowedPorts,
1448 switches::kForceDeviceScaleFactor, 1446 switches::kForceDeviceScaleFactor,
1449 switches::kForceDisplayList2dCanvas, 1447 switches::kForceDisplayList2dCanvas,
1450 switches::kForceOverlayFullscreenVideo, 1448 switches::kForceOverlayFullscreenVideo,
1451 switches::kFullMemoryCrashReport, 1449 switches::kFullMemoryCrashReport,
1452 switches::kInertVisualViewport, 1450 switches::kInertVisualViewport,
1453 switches::kIPCConnectionTimeout, 1451 switches::kIPCConnectionTimeout,
1454 switches::kJavaScriptFlags, 1452 switches::kJavaScriptFlags,
1455 switches::kLoggingLevel, 1453 switches::kLoggingLevel,
1456 switches::kMainFrameResizesAreOrientationChanges, 1454 switches::kMainFrameResizesAreOrientationChanges,
1457 switches::kMaxUntiledLayerWidth,
1458 switches::kMaxUntiledLayerHeight,
1459 switches::kMemoryMetrics, 1455 switches::kMemoryMetrics,
1460 switches::kMojoLocalStorage, 1456 switches::kMojoLocalStorage,
1461 switches::kNoReferrers, 1457 switches::kNoReferrers,
1462 switches::kNoSandbox, 1458 switches::kNoSandbox,
1463 switches::kOverridePluginPowerSaverForTesting, 1459 switches::kOverridePluginPowerSaverForTesting,
1464 switches::kPassiveListenersDefault, 1460 switches::kPassiveListenersDefault,
1465 switches::kPpapiInProcess, 1461 switches::kPpapiInProcess,
1466 switches::kProfilerTiming, 1462 switches::kProfilerTiming,
1467 switches::kReducedReferrerGranularity, 1463 switches::kReducedReferrerGranularity,
1468 switches::kReduceSecurityForTesting, 1464 switches::kReduceSecurityForTesting,
(...skipping 1357 matching lines...) Expand 10 before | Expand all | Expand 10 after
2826 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; 2822 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error;
2827 2823
2828 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias 2824 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias
2829 // enough information here so that we can determine what the bad message was. 2825 // enough information here so that we can determine what the bad message was.
2830 base::debug::Alias(&error); 2826 base::debug::Alias(&error);
2831 bad_message::ReceivedBadMessage(process.get(), 2827 bad_message::ReceivedBadMessage(process.get(),
2832 bad_message::RPH_MOJO_PROCESS_ERROR); 2828 bad_message::RPH_MOJO_PROCESS_ERROR);
2833 } 2829 }
2834 2830
2835 } // namespace content 2831 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698