diff options
Diffstat (limited to 'chromium/content/public/common/content_switches.cc')
-rw-r--r-- | chromium/content/public/common/content_switches.cc | 85 |
1 files changed, 14 insertions, 71 deletions
diff --git a/chromium/content/public/common/content_switches.cc b/chromium/content/public/common/content_switches.cc index 8e9eb3625f0..f24ff2313d2 100644 --- a/chromium/content/public/common/content_switches.cc +++ b/chromium/content/public/common/content_switches.cc @@ -9,10 +9,6 @@ namespace switches { -// The number of MSAA samples for canvas2D. Requires MSAA support by GPU to -// have an effect. 0 disables MSAA. -const char kAcceleratedCanvas2dMSAASampleCount[] = "canvas-msaa-sample-count"; - // Allows processing of input before a frame has been committed. // TODO(schenney): crbug.com/987626. Used by headless. Look for a way not // involving a command line switch. @@ -70,13 +66,6 @@ const char kBrowserTest[] = "browser-test"; // Causes the Conversion Measurement API to run without delays or noise. const char kConversionsDebugMode[] = "conversions-debug-mode"; -// Sets the tile size used by composited layers. -const char kDefaultTileWidth[] = "default-tile-width"; -const char kDefaultTileHeight[] = "default-tile-height"; - -// Sets the min tile height for GPU raster. -const char kMinHeightForGpuRasterTile[] = "min-height-for-gpu-raster-tile"; - // Disable antialiasing on 2d canvas. const char kDisable2dCanvasAntialiasing[] = "disable-canvas-aa"; @@ -176,19 +165,10 @@ const char kDisableGpuProcessCrashLimit[] = "disable-gpu-process-crash-limit"; const char kDisableSoftwareCompositingFallback[] = "disable-software-compositing-fallback"; -// When using CPU rasterizing disable low resolution tiling. This uses -// less power, particularly during animations, but more white may be seen -// during fast scrolling especially on slower devices. -const char kDisableLowResTiling[] = "disable-low-res-tiling"; - // Disable the thread that crashes the GPU process if it stops responding to // messages. const char kDisableGpuWatchdog[] = "disable-gpu-watchdog"; -// Disallow image animations to be reset to the beginning to avoid skipping -// many frames. Only effective if compositor image animations are enabled. -const char kDisableImageAnimationResync[] = "disable-image-animation-resync"; - // Disables the IPC flooding protection. // It is activated by default. Some javascript functions can be used to flood // the browser process with IPC. This protection limits the rate at which they @@ -229,10 +209,6 @@ const char kDisableNewContentRenderingTimeout[] = // Disables the Web Notification and the Push APIs. const char kDisableNotifications[] = "disable-notifications"; -// Disable partial raster in the renderer. Disabling this switch also disables -// the use of persistent gpu memory buffers. -const char kDisablePartialRaster[] = "disable-partial-raster"; - // Disable Pepper3D. const char kDisablePepper3d[] = "disable-pepper-3d"; @@ -255,9 +231,6 @@ const char kDisablePresentationAPI[] = "disable-presentation-api"; // Disables throttling of history.pushState/replaceState calls. const char kDisablePushStateThrottle[] = "disable-pushstate-throttle"; -// Disables RGBA_4444 textures. -const char kDisableRGBA4444Textures[] = "disable-rgba-4444-textures"; - // Taints all <canvas> elements, regardless of origin. const char kDisableReadingFromCanvas[] = "disable-reading-from-canvas"; @@ -315,9 +288,6 @@ const char kDisableWebGLImageChromium[] = "disable-webgl-image-chromium"; // Don't enforce the same-origin policy. (Used by people testing their sites.) const char kDisableWebSecurity[] = "disable-web-security"; -// Disable rasterizer that writes directly to GPU memory associated with tiles. -const char kDisableZeroCopy[] = "disable-zero-copy"; - // Disable the video decoder from drawing directly to a texture. const char kDisableZeroCopyDxgiVideo[] = "disable-zero-copy-dxgi-video"; @@ -389,18 +359,10 @@ const char kEnableFtp[] = "enable-ftp"; const char kDisableOriginTrialControlledBlinkFeatures[] = "disable-origin-trial-controlled-blink-features"; -// Specify that all compositor resources should be backed by GPU memory buffers. -const char kEnableGpuMemoryBufferCompositorResources[] = - "enable-gpu-memory-buffer-compositor-resources"; - // Enable GpuMemoryBuffer backed VideoFrames. const char kEnableGpuMemoryBufferVideoFrames[] = "enable-gpu-memory-buffer-video-frames"; -// When using CPU rasterizing generate low resolution tiling. Low res -// tiles may be displayed during fast scrolls especially on slower devices. -const char kEnableLowResTiling[] = "enable-low-res-tiling"; - // Force logging to be enabled. Logging is disabled by default in release // builds. const char kEnableLogging[] = "enable-logging"; @@ -424,9 +386,6 @@ const char kEnablePluginPlaceholderTesting[] = // also applys to workers. const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info"; -// Enables RGBA_4444 textures. -const char kEnableRGBA4444Textures[] = "enable-rgba-4444-textures"; - // Set options to cache V8 data. (off, preparse data, or code) const char kV8CacheOptions[] = "v8-cache-options"; @@ -478,6 +437,13 @@ const char kEnableViewport[] = "enable-viewport"; // Enable the Vtune profiler support. const char kEnableVtune[] = "enable-vtune-support"; +// Enable the WebAuthn Mojo Testing API. This is a way to interact with the +// virtual authenticator environment through a mojo interface and is supported +// only to run web-platform-tests on content shell. +// Removal of this deprecated API is blocked on crbug.com/937369. +const char kEnableWebAuthDeprecatedMojoTestingApi[] = + "enable-web-auth-deprecated-mojo-testing-api"; + // Enable WebGL2 Compute context. const char kEnableWebGL2ComputeContext[] = "enable-webgl2-compute-context"; @@ -487,9 +453,6 @@ const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; // Enables WebGL rendering into a scanout buffer for overlay support. const char kEnableWebGLImageChromium[] = "enable-webgl-image-chromium"; -// Enable rasterizer that writes directly to GPU memory associated with tiles. -const char kEnableZeroCopy[] = "enable-zero-copy"; - // Handle to the shared memory segment containing field trial state that is to // be shared between processes. The argument to this switch is the handle id // (pointer on Windows) as a string, followed by a comma, then the size of the @@ -515,11 +478,6 @@ const char kEnableOopRasterization[] = "enable-oop-rasterization"; const char kForceLegacyDefaultReferrerPolicy[] = "force-legacy-default-referrer-policy"; -// The number of multisample antialiasing samples for GPU rasterization. -// Requires MSAA support on GPU to have an effect. 0 disables MSAA. -const char kGpuRasterizationMSAASampleCount[] = - "gpu-rasterization-msaa-sample-count"; - // Forces use of hardware overlay for fullscreen video playback. Useful for // testing the Android overlay fullscreen functionality on other platforms. const char kForceOverlayFullscreenVideo[] = "force-overlay-fullscreen-video"; @@ -606,10 +564,6 @@ const char kMaxActiveWebGLContexts[] = "max-active-webgl-contexts"; // Sets the maximium decoded image size limitation. const char kMaxDecodedImageSizeMb[] = "max-decoded-image-size-mb"; -// Sets the width and height above which a composited layer will get tiled. -const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; -const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; - // Indicates the utility process should run with a message loop type of UI. const char kMessageLoopTypeUi[] = "message-loop-type-ui"; @@ -617,6 +571,10 @@ const char kMessageLoopTypeUi[] = "message-loop-type-ui"; const char kMockCertVerifierDefaultResultForTesting[] = "mock-cert-verifier-default-result-for-testing"; +// Initializes Mojo Core from a shared library at the specified path, rather +// than using the version of Mojo Core embedded within the Content executable. +const char kMojoCoreLibraryPath[] = "mojo-core-library-path"; + // Use a Mojo-based LocalStorage implementation. const char kMojoLocalStorage[] = "mojo-local-storage"; @@ -752,14 +710,6 @@ const char kRunManualTestsFlag[] = "run-manual"; // Causes the process to run as a sandbox IPC subprocess. const char kSandboxIPCProcess[] = "sandbox-ipc"; -// Visibly render a border around layout shift rects in the web page to help -// debug and study layout shifts. -const char kShowLayoutShiftRegions[] = "show-layout-shift-regions"; - -// Visibly render a border around paint rects in the web page to help debug -// and study painting behavior. -const char kShowPaintRects[] = "show-paint-rects"; - // Runs the renderer and plugins in the same process as the browser const char kSingleProcess[] = "single-process"; @@ -887,6 +837,9 @@ const char kWebglAntialiasingMode[] = "webgl-antialiasing-mode"; // Set a default sample count for webgl if msaa is enabled. const char kWebglMSAASampleCount[] = "webgl-msaa-sample-count"; +// The prefix used when starting the zygote process. (i.e. 'gdb --args') +const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; + // Enables specified backend for the Web OTP API. const char kWebOtpBackend[] = "web-otp-backend"; @@ -967,16 +920,6 @@ const char kWebXrRuntimeOpenVr[] = "openvr"; const char kWebXrRuntimeOpenXr[] = "openxr"; const char kWebXrRuntimeWMR[] = "windows-mixed-reality"; -// This switch allows the Web Components v0 APIs to be re-enabled temporarily -// from M80 through M84. -// TODO(937746): Remove this after M84. -const char kWebComponentsV0Enabled[] = "web-components-v0-enabled"; - -// This switch allows the FormControlsRefresh feature to be disabled temporarily -// from M81 through M84. -// TODO(1034611): Remove this after M84. -const char kUseLegacyFormControls[] = "use-legacy-form-controls"; - // This switch disables the ScrollToTextFragment feature. const char kDisableScrollToTextFragment[] = "disable-scroll-to-text-fragment"; |