Chrome Command Line Flags & Switches

The complete reference for 438 Chrome and Chromium command line flags. Essential for browser automation with Puppeteer, Playwright, Selenium, and Cypress.

Configure headless mode, disable GPU acceleration, manage sandboxing, and more. Updated daily from the Chromium source code.

PuppeteerPlaywrightSeleniumCypress

Last updated: September 25, 2026

--add-xr-appcontainer-caps

Add additional capabilities to the AppContainer sandbox used for XR compositing.

switches.cc
--allow-command-line-plugins

Allows plugins to be loaded in the command line for testing.

content_switches.cc
--allow-file-access-from-files

By default, file:// URIs cannot read other file:// URIs. This is an override for developers who need the old behavior for testing.

content_switches.cc
--allow-insecure-localhost

Enables TLS/SSL errors on localhost to be ignored (no interstitial, no blocking of requests).

content_switches.cc
--allow-ra-in-dev-mode

Allows remote attestation (RA) in dev mode for testing purpose. Usually RA is disabled in dev mode because it will always fail. However, there are cases in testing where we do want to go through the permission flow even in dev mode. This can be enabled by this flag.

media_switches.cc
--allow-sandbox-debugging

Allows debugging of sandboxed processes (see zygote_main_linux.cc).

switches.cc
--allow-third-party-modules

Allows third party modules to inject by disabling the BINARY_SIGNATURE mitigation policy on Win10+. Also has other effects in ELF.

switches.cc
--alsa-input-device

The Alsa device to use when opening an audio input stream.

media_switches.cc
--alsa-output-device

The Alsa device to use when opening an audio stream.

media_switches.cc
--angle
gl_switches.cc
--animation-duration-scale

Scale factor to apply to every animation duration. Must be >= 0.0. This will only apply to LinearAnimation and its subclasses.

switches.cc
--app-shim
switches.cc
--arcore

The following are the runtimes that WebXr supports.

content_switches.cc
--as-browser

Flag to launch tests in the browser process.

content_switches.cc
--audio-buffer-size

Allow users to specify a custom buffer size for debugging purpose.

media_switches.cc
--audio-codecs-from-edid

Audio codecs supported by the HDMI sink is retrieved from the audio service process. EDID contains the Short Audio Descriptors, which list the audio decoders supported, and the information is presented as a bitmask of supported audio codecs.

media_switches.cc
--audio-process-high-priority

Use high priority for the audio process.

content_switches.cc
--auto

The values the kTouchEventFeatureDetection switch may have, as in --touch-events=disabled. auto: enabled at startup when an attached touchscreen is present.

content_switches.cc
--autofill-api-key

Sets the API key that will be used when calling Autofill API instead of using Chrome's baked key by default. You can use this to test new versions of the API that are not linked to the Chrome baked key yet.

autofill_switches.cc
--autofill-server-url

Override the default autofill server URL with "scheme://host[:port]/prefix/".

autofill_switches.cc
--autoplay-policy

Command line flag name to set the autoplay policy.

media_switches.cc
--bgra
gl_switches.cc
--browser-startup-dialog

Causes the browser process to display a dialog on launch.

content_switches.cc
--browser-subprocess-path

Path to the exe to run for the renderer and plugin subprocesses.

content_switches.cc
--browser-test

Tells whether the code is running browser tests (this changes the startup URL used by the content shell and also disables features that can make tests flaky [like monitoring of memory pressure]).

content_switches.cc
--browser-ui-tests-verify-pixels

Causes tests to attempt to verify pixel output.

content_switches.cc
--canvas-2d-layers

Enable in-progress canvas 2d API methods BeginLayer and EndLayer.

content_switches.cc
--cardboard
content_switches.cc
--cc-layer-tree-test-long-timeout

Increases timeout for memory checkers.

switches.cc
--cc-layer-tree-test-no-timeout

Prevents the layer tree unit tests from timing out.

switches.cc
--change-stack-guard-on-fork

After a zygote forks a new process, change the stack canary. This switch is useful so not all forked processes use the same canary (a secret value), which can be vulnerable to information leaks and brute force attacks. See https://crbug.com/1206626. This requires that all functions on the stack at the time content::RunZygote() is called be compiled without stack canaries. Valid values are "enable" or "disable".

content_switches.cc
--check-damage-early

Checks damage early and aborts the frame if no damage, so that clients like Android WebView don't invalidate unnecessarily.

switches.cc
--clear-key-cdm-path-for-testing

Specifies the path to the Clear Key CDM for testing, which is necessary to support External Clear Key key system when library CDM is enabled. Note that External Clear Key key system support is also controlled by feature kExternalClearKeyForTesting.

media_switches.cc
--code-sign-clone-cleanup
switches.cc
--collect-dawn-info-eagerly

Start the GPU process for Dawn info collection immediately after the browser starts. The default is to delay for 120 seconds.

gpu_switches.cc
--compile-shader-always-succeeds

Always return success when compiling a shader. Linking will still fail.

gpu_switches.cc
--crash-test

Causes the browser process to crash on startup.

content_switches.cc
--d3d11
gpu_switches.cc
--d3d11-null

Special switches for "NULL"/stub driver implementations.

gl_switches.cc
--d3d11-warp
gl_switches.cc
--d3d11-warp-webgl
gl_switches.cc
--d3d11on12
gl_switches.cc
--d3d12
gpu_switches.cc
--default
gl_switches.cc
--device-management-url

Specifies the URL at which to communicate with the device management backend to fetch configuration policies and perform other device tasks.

policy_switches.cc
--device-scale-factor

Device scale factor passed to certain processes like renderers, etc.

content_switches.cc
--disable
content_switches.cc
--disable-2d-canvas-clip-aa

Disable antialiasing on 2d canvas clips

content_switches.cc
--disable-3d-apis

Disables client-visible 3D APIs, in particular WebGL. This is controlled by policy and is kept separate from the other enable/disable switches to avoid accidentally regressing the policy support for controlling access to these APIs.

content_switches.cc
--disable-accelerated-2d-canvas

Disable gpu-accelerated 2d canvas.

content_switches.cc
--disable-angle-features

Disables specified comma separated ANGLE features if found.

gl_switches.cc
--disable-audio-input

Forces input and output stream creation to use fake audio streams.

media_switches.cc
--disable-audio-output
media_switches.cc
--disable-back-forward-cache

Disables the BackForwardCache feature.

content_switches.cc
--disable-backing-store-limit

Disable limits on the number of backing stores. Can prevent blinking for users with many windows/tabs and lots of memory.

content_switches.cc
--disable-best-effort-tasks

Delays execution of TaskPriority::BEST_EFFORT tasks until shutdown.

content_switches.cc
--disable-blink-features

Disable one or more Blink runtime-enabled features. Use names from runtime_enabled_features.json5, separated by commas. Applied after kEnableBlinkFeatures, and after other flags that change these features.

content_switches.cc
--disable-cancel-all-touches

Disable CancelAllTouches() function for the implementation on cancel single touches.

event_switches.cc
--disable-canvas-aa

Disable antialiasing on 2d canvas.

content_switches.cc
--disable-checker-imaging

Disabled defering all image decodes to the image decode service, ignoring DecodingMode preferences specified on PaintImage.

switches.cc
--disable-d3d11-warp

Explicitly disable D3D11 WARP fallback. Some test suites prefer falling back to swiftshader.

gl_switches.cc
--disable-dawn-features

Set the Dawn features(toggles) disabled on the creation of Dawn devices.

gpu_switches.cc
--disable-direct-composition

Disable DirectComposition.

gl_switches.cc
--disable-explicit-dma-fences

Disable explicit DMA-fences

ozone_switches.cc
--disable-field-trial-config

Disable field trial tests configured in fieldtrial_testing_config.json.

variations_switches.cc
--disable-file-system

Disable FileSystem API.

content_switches.cc
--disable-gl-drawing-for-tests

Disables GL drawing operations which produce pixel output. With this the GL output will not be correct but tests will run faster.

gl_switches.cc
--disable-gl-error-limit

Disable the GL error log limit.

gpu_switches.cc
--disable-gl-extensions

Disables specified comma separated GL Extensions if found.

gl_switches.cc
--disable-glsl-translator

Disable the GLSL translator.

gpu_switches.cc
--disable-gpu

Disables GPU hardware acceleration. If software renderer is not in place, then the GPU process won't launch.

content_switches.cc
--disable-gpu-compositing

Prevent the compositor from using its GPU implementation.

content_switches.cc
--disable-gpu-early-init

Disable proactive early init of GPU process.

content_switches.cc
--disable-gpu-process-crash-limit

For tests, to disable the limit on the number of times the GPU process may be restarted.

content_switches.cc
--disable-gpu-program-cache

Turn off gpu program caching

gpu_switches.cc
--disable-gpu-rasterization

Disable GPU rasterization, i.e. rasterize on the CPU only. Overrides the kEnableGpuRasterization flag.

gpu_switches.cc
--disable-gpu-sandbox

Disables the GPU process sandbox.

switches.cc
--disable-gpu-shader-disk-cache

Disables the GPU shader on disk cache.

gpu_switches.cc
--disable-gpu-vsync

Stop the GPU from synchronizing presentation with vblank.

gl_switches.cc
--disable-gpu-watchdog

Disable the thread that crashes the GPU process if it stops responding to messages.

content_switches.cc
--disable-histogram-customizer

Disable the RenderThread's HistogramCustomizer.

content_switches.cc
--disable-http2-grease-settings
network_switches.cc
--disable-in-process-stack-traces

Disables the in-process stack traces.

content_switches.cc
--disable-ipc-flooding-protection

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 can be used.

content_switches.cc
--disable-kill-after-bad-ipc

Don't kill a child process when it sends a bad IPC message. Apart from testing, it is a bad idea from a security perspective to enable this switch.

content_switches.cc
--disable-landlock-sandbox

Disables the Landlock sandbox (Android only).

switches.cc
--disable-lcd-text

Disables LCD text.

content_switches.cc
--disable-legacy-window

Disable the Legacy Window which corresponds to the size of the WebContents.

content_switches.cc
--disable-local-storage

Disable LocalStorage.

content_switches.cc
--disable-logging

Force logging to be disabled. Logging is enabled by default in debug builds.

content_switches.cc
--disable-low-latency-dxva

Disables using CODECAPI_AVLowLatencyMode when creating DXVA decoders.

content_switches.cc
--disable-media-session-api

Disable Media Session API

content_switches.cc
--disable-metal-shader-cache

Disables Metal's shader cache, using the GPU sandbox to prevent access to it.

switches.cc
--disable-mipmap-generation

Disables mipmap generation in Skia. Used a workaround for select low memory devices, see https://crbug.com/1138979 for details.

gpu_switches.cc
--disable-mojo-broker

Disables Mojo broker capabilities in the browser during Mojo initialization.

content_switches.cc
--disable-namespace-sandbox

Disables usage of the namespace sandbox.

switches.cc
--disable-notifications

Disables the Web Notification and the Push APIs.

content_switches.cc
--disable-nv12-dxgi-video

Disables the video decoder from drawing to an NV12 textures instead of ARGB.

content_switches.cc
--disable-oopr-debug-crash-dump

Disables debug crash dumps for OOPR.

content_switches.cc
--disable-policy-key-verification

Disables the verification of policy signing keys. It just works on Chrome OS test images and crashes otherwise. better solution to enable policy tast test for Family Link account.

policy_switches.cc
--disable-presentation-api

Disables the Presentation API.

content_switches.cc
--disable-pushstate-throttle

Disables throttling of history.pushState/replaceState calls.

content_switches.cc
--disable-reading-from-canvas

Taints all <canvas> elements, regardless of origin.

content_switches.cc
--disable-remote-fonts

Disables remote web font support. SVG font should always work whether this option is specified or not.

content_switches.cc
--disable-remote-playback-api

Disables the RemotePlayback API.

content_switches.cc
--disable-renderer-backgrounding

Prevent renderer process backgrounding when set.

content_switches.cc
--disable-resource-scheduler

Whether the ResourceScheduler is disabled. Note this is only useful for C++ Headless embedders who need to implement their own resource scheduling.

content_switches.cc
--disable-screen-orientation-lock

Disable the locking feature of the screen orientation API.

content_switches.cc
--disable-scroll-to-text-fragment

This switch disables the ScrollToTextFragment feature.

content_switches.cc
--disable-seccomp-filter-sandbox

Disable the seccomp filter sandbox (seccomp-bpf) (Linux only).

switches.cc
--disable-setuid-sandbox

Disable the setuid sandbox (Linux only).

switches.cc
--disable-shader-name-hashing

Turn off user-defined name hashing in shaders.

gpu_switches.cc
--disable-shared-workers

Disable shared workers.

content_switches.cc
--disable-site-isolation-trials

Disables site isolation. Note that the opt-in (to site-per-process, isolate-origins, etc.) via enterprise policy and/or cmdline takes precedence over the kDisableSiteIsolation switch (i.e. the opt-in takes effect despite potential presence of kDisableSiteIsolation switch). Note that for historic reasons the name of the switch misleadingly mentions "trials", but the switch also disables the default site isolation that ships on desktop since M67. The name of the switch is preserved for backcompatibility of chrome://flags.

content_switches.cc
--disable-skia-graphite

Force disabling/enabling Skia Graphite. Disabling will take precedence over enabling if both are specified.

gpu_switches.cc
--disable-skia-runtime-opts

Do not use runtime-detected high-end CPU optimizations in Skia. This is useful for forcing a baseline code path for e.g. web tests.

content_switches.cc
--disable-smooth-scrolling

Disable smooth scrolling for testing.

content_switches.cc
--disable-software-rasterizer

Disables the use of a 3D software rasterizer.

content_switches.cc
--disable-speech-api

Disables the Web Speech API (both speech recognition and synthesis).

content_switches.cc
--disable-speech-synthesis-api

Disables the speech synthesis part of Web Speech API.

content_switches.cc
--disable-threaded-animation
switches.cc
--disable-threaded-compositing

Disable multithreaded GPU compositing of web content.

content_switches.cc
--disable-timeouts-for-profiling

Disable timeouts that may cause the browser to die when running slowly. This is useful if running with profiling (such as debug malloc).

content_switches.cc
--disable-translate-trigger

Disables translation triggering for pages, including translate page pop up and auto translate feature. Manual translation unaffected.

translate_switches.cc
--disable-v8-idle-tasks

Disable V8 idle tasks.

content_switches.cc
--disable-variations-safe-mode

Disable variations safe mode.

variations_switches.cc
--disable-variations-seed-fetch

Disable fetching of variations seed from the server for testing.

variations_switches.cc
--disable-vulkan-surface

Disables VK_KHR_surface extension. Instead of using swapchain, bitblt will be used for present render result on screen.

gpu_switches.cc
--disable-wayland-ime

Disable wayland input method editor.

ozone_switches.cc
--disable-web-security

Don't enforce the same-origin policy; meant for website testing only. This switch has no effect unless --user-data-dir (as defined by the content embedder) is also present.

content_switches.cc
--disable-webgl

Disable all versions of WebGL.

content_switches.cc
--disable-webgl2

Disable WebGL2.

content_switches.cc
--disable-webnn-compiler-sandbox

Disables the WebNN compiler process sandbox.

switches.cc
--disable-webrtc-encryption

Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it ignores this switch on its stable and beta channels.

content_switches.cc
--disable-yuv-image-decoding

Disable YUV image decoding for those formats and cases where it's supported. Has no effect unless GPU rasterization is enabled.

content_switches.cc
--disable-zero-copy-dxgi-video

Disable the video decoder from drawing directly to a texture.

content_switches.cc
--disabled

disabled: touch events are disabled.

content_switches.cc
--display

Which X11 display to connect to. Emulates the GTK+ "--display=" command line argument. In use only with Ozone/X11.

switches.cc
--dom-automation

Specifies if the |DOMAutomationController| needs to be bound in the renderer. This binding happens on per-frame basis and hence can potentially be a performance bottleneck. One should only enable it when automating dom based tests.

content_switches.cc
--dump-compositor-frame

Save CompositorFrame data in both renderer and gpu process for TreesInViz and TreeAnimationsInViz. This doesn't work without --no-sandbox. If no parameters are specified, by default, it records frame 1 - 10. If --dump-compositor-frame=begin,end is specified, it records frame [begin, end] inclusive.

switches.cc
--edge-touch-filtering

Tells Chrome to do edge touch filtering. Useful for convertible tablet.

event_switches.cc
--egl
gl_switches.cc
--enable
content_switches.cc
--enable-angle-features

ANGLE features are defined per-backend in third_party/angle/include/platform Enables specified comma separated ANGLE features if found.

gl_switches.cc
--enable-automation

Enable indication that browser is controlled by automation.

content_switches.cc
--enable-benchmarking-api

Enables the benchmarking JavaScript API.

variations_switches.cc
--enable-blink-features

Enable one or more Blink runtime-enabled features. Use names from runtime_enabled_features.json5, separated by commas. Applied before kDisableBlinkFeatures, and after other flags that change these features.

content_switches.cc
--enable-blink-test-features

Enables blink runtime enabled features with status:"test" or status:"experimental", which are enabled when running web tests.

content_switches.cc
--enable-caret-browsing

Enable native caret browsing, in which a moveable cursor is placed on a web page, allowing a user to select and navigate through non-editable text using just a keyboard. See https://crbug.com/977390 for links to i2i.

content_switches.cc
--enable-dawn-backend-validation

Enable validation layers in Dawn backends.

gpu_switches.cc
--enable-dawn-features

Set the Dawn features(toggles) enabled on the creation of Dawn devices.

gpu_switches.cc
--enable-exclusive-audio

BUILDFLAG(IS_FREEBSD) || BUILDFLAG(IS_SOLARIS) Use exclusive mode audio streaming for Windows Vista and higher. Leads to lower latencies for audio streams which uses the AudioParameters::AUDIO_PCM_LOW_LATENCY audio path. See http://msdn.microsoft.com/en-us/library/windows/desktop/dd370844.aspx for details.

media_switches.cc
--enable-field-trial-config

Enable field trial tests configured in fieldtrial_testing_config.json. If the "disable_fieldtrial_testing_config" GN flag is set to true, then this switch is a no-op. Otherwise, for non-Chrome branded builds, the testing config is already applied by default, unless the "--disable-field-trial-config", "--force-fieldtrials", and/or "--variations-server-url" switches are passed. It is however possible to apply the testing config as well as specify additional field trials (using "--force-fieldtrials") by using this switch. For Chrome-branded builds, the testing config is not enabled by default, so this switch is required to enable it. If this switch is set to "benchmarking", it enables variations benchmarking mode, which skips experiments that are disabled for benchmarking.

variations_switches.cc
--enable-gpu-benchmarking

Enables the GPU benchmarking extension

switches.cc
--enable-gpu-blocked-time

Enables measures of how long GPU Main Thread was blocked between SwapBuffers

gpu_switches.cc
--enable-gpu-command-logging

Turn on Logging GPU commands.

gpu_switches.cc
--enable-gpu-debugging

Turn on Calling GL Error after every command.

gpu_switches.cc
--enable-gpu-driver-debug-logging

Enable logging of GPU driver debug messages.

gpu_switches.cc
--enable-gpu-rasterization

Allow heuristics to determine when a layer tile should be drawn with the Skia GPU backend. Only valid with GPU accelerated compositing.

gpu_switches.cc
--enable-gpu-service-logging

Enable GPU service logging. Note: This is the same switch as the one in gl_switches.cc. It's defined here again to avoid dependencies between dlls.

gpu_switches.cc
--enable-gpu-service-tracing

Turns on calling TRACE for every GL call.

gl_switches.cc
--enable-lcd-text

Enables LCD text.

content_switches.cc
--enable-logging

Force logging to be enabled. Logging is disabled by default in release builds.

content_switches.cc
--enable-longpress-drag-selection

Enable drag manipulation of longpress-triggered text selections.

content_switches.cc
--enable-native-gpu-memory-buffers

Enable native CPU-mappable GPU memory buffer support on Linux.

switches.cc
--enable-precise-memory-info

Make the values returned to window.performance.memory more granular and more up to date in shared worker. Without this flag, the memory information is still available, but it is bucketized and updated less frequently. This flag also applys to workers.

content_switches.cc
--enable-privacy-sandbox-ads-apis

Enables Privacy Sandbox APIs: Attribution Reporting, Fledge, Topics, Fenced Frames, Shared Storage, Private Aggregation, and their associated features.

content_switches.cc
--enable-protected-video-buffers

Enables protected buffers for encrypted video streams.

media_switches.cc
--enable-sandbox-logging

Cause the OS X sandbox write to syslog every time an access to a resource is denied by the sandbox.

switches.cc
--enable-scaling-clipped-images

Allows scaling clipped images in GpuImageDecodeCache. Note that this may cause color-bleeding. cache problems are solved.

switches.cc
--enable-service-binary-launcher

If true the ServiceProcessLauncher is used to launch services. This allows for service binaries to be loaded rather than using the utility process. This is only useful for tests.

content_switches.cc
--enable-sgi-video-sync

Enable use of the SGI_video_sync extension, which can have driver/sandbox/window manager compatibility issues.

gl_switches.cc
--enable-skia-benchmarking

Enables the Skia benchmarking extension.

content_switches.cc
--enable-skia-graphite
gpu_switches.cc
--enable-smooth-scrolling

On platforms that support it, enables smooth scroll animation.

content_switches.cc
--enable-spatial-navigation

Enable spatial navigation

content_switches.cc
--enable-speech-dispatcher

Allows sending text-to-speech requests to speech-dispatcher, a common Linux speech service. Because it's buggy, the user must explicitly enable it so that visiting a random webpage can't cause instability.

content_switches.cc
--enable-tracing-fraction

When specified along with a value in the range (0,1] will --enable-tracing for (roughly) that percentage of tests being run. This is done in a stable manner such that the same tests are chosen each run, and under the assumption that tests hash equally across the range of possible values. The flag will enable all tracing categories for those tests, and none for the rest. This flag could be used with other tracing switches like --enable-tracing-format, but any other switches that will enable tracing will turn tracing on for all tests.

content_switches.cc
--enable-unsafe-swiftshader

Allow usage of SwiftShader for WebGL

gl_switches.cc
--enable-unsafe-webgpu
gpu_switches.cc
--enable-viewport

Enables the use of the @viewport CSS rule, which allows pages to control aspects of their own layout. This also turns on touch-screen pinch gestures.

content_switches.cc
--enable-vtune-support

Enable the Vtune profiler support.

content_switches.cc
--enable-vulkan-protected-memory

Enables using protected memory for vulkan resources.

gpu_switches.cc
--enable-wayland-ime

Try to enable wayland input method editor.

ozone_switches.cc
--enable-webgl-draft-extensions

Enables WebGL draft extensions (not yet approved by the community). This has side-effects in the GPU process, so the flag is here so that code in both gpu/ and content/ can access it.

gpu_switches.cc
--enabled

enabled: touch events always enabled.

content_switches.cc
--encrypted-reporting-url

Specifies the URL at which to upload encrypted reports.

policy_switches.cc
--enforce-gl-minimums

Enforce GL minimums.

gpu_switches.cc
--expose-internals-for-testing

Exposes the window.internals object in JavaScript for testing.

content_switches.cc
--fail-audio-stream-creation

Causes the AudioManager to fail creating audio streams. Used when testing various failure cases.

media_switches.cc
--fake-variations-channel

Fakes the channel of the browser for purposes of Variations filtering. This is to be used for testing only. Possible values are "stable", "beta", "dev" and "canary". This works for official builds as well.

variations_switches.cc
--fake-variations-platform

Fakes the platform of the browser for variations seed fetching and field trial filtering. Possible values are as follows: "android", "android_webview", "chromeos", "fuchsia", "ios", "linux", "mac", and "win". Intended only for testing.

variations_switches.cc
--fake-vsync-rate
gl_switches.cc
--file-storage-server-upload-url

Specifies the URL at which to communicate with File Storage Server (go/crosman-file-storage-server) to upload log and support packet files.

policy_switches.cc
--file-url-path-alias

Define an alias root directory which is replaced with the replacement string in file URLs. The format is "/alias=/replacement", which would turn file:///alias/some/path.html into file:///replacement/some/path.html.

content_switches.cc
--font-cache-shared-handle

DirectWrite FontCache is shared by browser to renderers using shared memory. This switch allows us to pass the shared memory handle to the renderer.

content_switches.cc
--force-browser-crash-on-gpu-crash

Crash Chrome if GPU process crashes. This is to force a test to fail when GPU process crashes unexpectedly.

gpu_switches.cc
--force-device-ownership
policy_switches.cc
--force-disable-variation-ids

Forces to remove Chrome Variation Ids from being sent in X-Client-Data header, specified as a 64-bit encoded list of numeric experiment ids. Ids prefixed with the character "t" will be treated as Trigger Variation Ids.

variations_switches.cc
--force-effective-connection-type

Forces Network Quality Estimator (NQE) to return a specific effective connection type.

network_switches.cc
--force-fieldtrial-params

This option can be used to force parameters of field trials when testing changes locally. The argument is a param list of (key, value) pairs prefixed by an associated (trial, group) pair. You specify the param list for multiple (trial, group) pairs with a comma separator. Example: "Trial1.Group1:k1/v1/k2/v2,Trial2.Group2:k3/v3/k4/v4" Trial names, groups names, parameter names, and value should all be URL escaped for all non-alphanumeric characters.

variations_switches.cc
--force-high-performance-gpu
gpu_switches.cc
--force-max-texture-size

Sets the maximum texture size in pixels.

gpu_switches.cc
--force-prefers-no-reduced-motion

Forces whether the user desires no reduced motion, regardless of system settings.

switches.cc
--force-prefers-reduced-motion

Forces whether the user desires reduced motion, regardless of system settings.

switches.cc
--force-variation-ids

Forces additional Chrome Variation Ids that will be sent in X-Client-Data header, specified as a 64-bit encoded list of numeric experiment ids. Ids prefixed with the character "t" will be treated as Trigger Variation Ids. IMPORTANT: You can use this switch for test purposes (e.g. a manual command line run or from a unit test), but NOT for production code in the browser, as the latter is not allowed for privacy reasons (except for the current use by about:flags code).

variations_switches.cc
--force-video-overlays

Force media player using SurfaceView instead of SurfaceTexture on Android. Note: This is used by the Cast playback pipeline and must be kept.

media_switches.cc
--force-wave-audio

Use Windows WaveOut/In audio API even if Core Audio is supported.

media_switches.cc
--force-webgpu-compat

Force all WebGPU content to run in WebGPU Compatibility mode.

gpu_switches.cc
--force-webrtc-ip-handling-policy

Override WebRTC IP handling policy to mimic the behavior when WebRTC IP handling policy is specified in Preferences.

content_switches.cc
--force-webxr-runtime

Forcibly enable and select the specified runtime for webxr. Note that this provides an alternative means of enabling a runtime, and will also functionally disable all other runtimes.

content_switches.cc
--forced-translate-language

Overrides the target language for translation and forces translation of all pages to the new target language.

translate_switches.cc
--gl-egl
gl_switches.cc
--gl-null
gl_switches.cc
--gl-shader-interm-output

Include ANGLE's intermediate representation (AST) output in shader compilation info logs.

gpu_switches.cc
--gles
gl_switches.cc
--gles-egl
gl_switches.cc
--gles-null
gl_switches.cc
--gpu-blocklist-test-group

Select a different set of GPU blocklist entries with the specified test_group ID.

gpu_switches.cc
--gpu-client-id
content_switches.cc
--gpu-device-id

Passes the active graphics device id from browser process to info collection GPU process.

gpu_switches.cc
--gpu-disk-cache-size-kb

Allows explicitly specifying the shader disk cache size for embedded devices. Default value is 6MB. On Android, 2MB is default and 128KB for low-end devices.

gpu_switches.cc
--gpu-driver-bug-list-test-group

Enable an extra set of GPU driver bug list entries with the specified test_group ID. Note the default test group (group 0) is still active.

gpu_switches.cc
--gpu-driver-version

Passes the active graphics driver version from browser process to info collection GPU process.

gpu_switches.cc
--gpu-launcher

Extra command line options for launching the GPU process (normally used for debugging). Use like renderer-cmd-prefix.

content_switches.cc
--gpu-no-context-lost

Inform Chrome that a GPU context will not be lost in power saving mode, screen saving mode, etc. Note that this flag does not ensure that a GPU context will never be lost in any situations, say, a GPU reset.

gl_switches.cc
--gpu-preferences

Passes encoded GpuPreferences to GPU process.

gpu_switches.cc
--gpu-process

Makes this process a GPU sub-process.

content_switches.cc
--gpu-program-cache-size-kb

Sets the maximum size of the in-memory gpu program cache, in kb

gpu_switches.cc
--gpu-recent-crash-count

Passes the number of recent GPU crashes to the GPU process.

gpu_switches.cc
--gpu-revision

Passes the active graphics revision info from browser process to info collection GPU process.

gpu_switches.cc
--gpu-sandbox-allow-sysv-shm

Allows shmat() system call in the GPU sandbox.

switches.cc
--gpu-sandbox-failures-fatal

Makes GPU sandbox failures fatal.

switches.cc
--gpu-sandbox-start-early

Starts the GPU sandbox before creating a GL context.

content_switches.cc
--gpu-startup-dialog

Causes the GPU process to display a dialog on launch.

content_switches.cc
--gpu-sub-system-id

Passes the active graphics sub system id from browser process to info collection GPU process.

gpu_switches.cc
--gpu-vendor-id

Passes the active graphics vendor id from browser process to info collection GPU process.

gpu_switches.cc
--gpu-watchdog-timeout-seconds

Override value for the GPU watchdog timeout in seconds.

gpu_switches.cc
--gpu2-startup-dialog

Causes the second GPU process used for gpu info collection to display a dialog on launch.

content_switches.cc
--hardware-video-decode-framerate

Some (Qualcomm only at the moment) V4L2 video decoders require setting the framerate so that the hardware decoder can scale the clocks efficiently. This provides a mechanism during testing to lock the decoder framerate to a specific value.

media_switches.cc
--hardware-video-device-path

Allows explicitly picking a device path to find the device for VA-API video decoding and encoding.

media_switches.cc
--headless

Run in headless mode, i.e., without a UI or display server dependencies.

switches.cc
--hide-scrollbars

Prevents creating scrollbars for web content. Useful for taking consistent screenshots.

content_switches.cc
--host-resolver-rules

These mappings only apply to the host resolver.

network_switches.cc
--host-rules

Deprecated alias for backwards compatibility, now does the same thing as --host-resolver-rules which should be used instead.

network_switches.cc
--ignore-bad-message-for-testing

The switch to ignore bad mojo message reports. Only for testing.

network_switches.cc
--ignore-gpu-blocklist

Ignores GPU blocklist.

gpu_switches.cc
--in-process-gpu

Run the GPU process as a thread in the browser process.

content_switches.cc
--ip-address-space-overrides

Specifies manual overrides to the IP endpoint -> IP address space mapping. This allows running local tests against "public" and "local" IP addresses. This switch is specified as a comma-separated list of overrides. Each override is an equals-separated "<endpoint|ip-range>=<address space>" pair. Grammar, in pseudo-BNF format: switch := override-list override-list := override “,” override-list | <nil> override := (ip-endpoint | ip_range) “=” address-space address-space := “public” | “private” | “local” | "loopback" ip-endpoint := ip-address ":" port ip-address := see `net::ParseURLHostnameToAddress()` for details port := integer in the [0-65535] range ip-range := ip-address "/" bitmask bitmask := integer in the [0-128] range Any invalid entries in the comma-separated list are ignored. If the port specified is 0, all ports for the given ip-address will be overridden. See also the design doc: https://docs.google.com/document/d/1-umCGylIOuSG02k9KGDwKayt3bzBXtGwVlCQHHkIcnQ/edit# And the Web Platform Test RFC #72 behind it: https://github.com/web-platform-tests/rfcs/blob/master/rfcs/address_space_overrides.md Note that since the doc and the RFC were written, the address space names have changed slightly due to Local Network Access (LNA) replacing Private Network Access (PNA).

network_switches.cc
--ipc-connection-timeout

Overrides the timeout, in seconds, that a child process waits for a connection from the browser before killing itself.

content_switches.cc
--ipc-dump-directory

Dumps IPC messages sent from renderer processes to the browser process to the given directory. Used primarily to gather samples for IPC fuzzing.

content_switches.cc
--ipc-fuzzer-testcase

Specifies the testcase used by the IPC fuzzer.

content_switches.cc
--isolate-origins

Require dedicated processes for a set of origins, specified as a comma-separated list. For example: --isolate-origins=https://www.foo.com,https://www.bar.com

content_switches.cc
--javaless-renderers

Enables/disables javaless renderers based on value given. "enabled" or "disabled" are valid values.

content_switches.cc
--javascript-harmony

Enables experimental Harmony (ECMAScript 6) features.

content_switches.cc
--launch-time-ticks

Time the browser launched the renderer process (in TimeTicks).

content_switches.cc
--layer
switches.cc
--load-webui-from-disk

Flag used to load WebUI files directly from disk instead of pak files. Meant to be used during local development only (requires a local checkout and build), and only works if used along with the GN load_webui_from_disk=true GN flag.

content_switches.cc
--log-file

Overrides the default file name to use for general-purpose logging (does not affect which events are logged).

content_switches.cc
--log-gpu-control-list-decisions

Logs GPU control list decisions when enforcing blocklist rules.

content_switches.cc
--log-level

Sets the minimum log level. Valid values are from 0 to 3: INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3.

content_switches.cc
--log-missing-unload-ack

Log an error whenever the unload timeout for a render frame is exceeded.

content_switches.cc
--log-on-ui-double-background-blur

Checks and logs double background blur as an error if any.

switches.cc
--max-active-webgl-contexts

Allows user to override maximum number of active WebGL contexts per renderer process.

content_switches.cc
--max-decoded-image-size-mb

Sets the maximium decoded image size limitation.

content_switches.cc
--max-gum-fps

Override the maximum framerate as can be specified in calls to getUserMedia. This flag expects a value. Example: --max-gum-fps=17.5

content_switches.cc
--max-web-media-player-count

Sets the maximum number of WebMediaPlayers allowed per frame.

content_switches.cc
--message-loop-type-ui

Indicates the utility process should run with a message loop type of UI.

content_switches.cc
--metal
gpu_switches.cc
--metal-null
gl_switches.cc
--mock
gl_switches.cc
--mojo-local-storage

Use a Mojo-based LocalStorage implementation.

content_switches.cc
--mse-audio-buffer-size-limit-mb

Allows explicitly specifying MSE audio/video buffer sizes as megabytes. Default values are 150M for video and 12M for audio.

media_switches.cc
--mse-video-buffer-size-limit-mb
media_switches.cc
--mute-audio

Mutes audio sent to the audio device so it is not audible during automated testing.

media_switches.cc
--native
gpu_switches.cc
--net-log-capture-mode

Sets the granularity of events to capture in the network log. The mode can be set to one of the following values: "Default" "IncludeSensitive" "Everything" See the enums of the corresponding name in net_log_capture_mode.h for a description of their meanings.

network_switches.cc
--net-log-duration

Specifies the duration (in seconds) for network logging. When this flag is provided with a positive integer value X, Chrome will automatically stop collecting NetLog events after X seconds and flush the log to disk.

network_switches.cc
--net-log-file-format

Sets the format used for the network log file. Supported values are: "json" "ndjson"

network_switches.cc
--net-log-max-size-mb

Sets the maximum size, in megabytes. The log file can grow to before older data is overwritten. Do not use this flag if you want an unlimited file size.

network_switches.cc
--no-op-for-testing
switches.cc
--no-sandbox

Disables the sandbox for all process types that are normally sandboxed. Meant to be used as a browser-level switch for testing purposes only.

switches.cc
--no-unsandboxed-zygote

Disables the unsandboxed zygote. Note: this flag should not be used on most platforms. It is introduced because some platforms (e.g. Cast) have very limited memory and binaries won't be updated when the browser process is running.

content_switches.cc
--no-user-gesture-required

Autoplay policy that does not require any user gesture.

media_switches.cc
--no-xr-runtime

Tell WebXr to assume that it does not support any runtimes.

content_switches.cc
--no-xshm

Disables MIT-SHM extension. In use only with Ozone/X11.

switches.cc
--no-zygote

Disables the use of a zygote process for forking child processes. Instead, child processes will be forked and exec'd directly. Note that --no-sandbox should also be used together with this flag because the sandbox needs the zygote to work.

content_switches.cc
--no-zygote-sandbox

Instructs the zygote to launch without a sandbox. Processes forked from this type of zygote will apply their own custom sandboxes later.

switches.cc
--null
gl_switches.cc
--num-raster-threads

Controls the number of threads to use for raster tasks.

switches.cc
--nv12

Swap chain formats for direct composition SDR video overlays.

gl_switches.cc
--opengles
gpu_switches.cc
--openxr
content_switches.cc
--orientation-sensors
content_switches.cc
--override-language-detection

Overrides the language detection result determined based on the page contents.

content_switches.cc
--ozone-dump-file

Specify location for image dumps.

ozone_switches.cc
--ozone-override-screen-size

Specifies ozone screen size.

ozone_switches.cc
--ozone-platform

Specify ozone platform implementation to use.

ozone_switches.cc
--p010
gl_switches.cc
--passthrough
gl_switches.cc
--pdf-renderer

Renderer process that runs the non-PPAPI PDF plugin.

content_switches.cc
--pen-devices

Tells chrome to interpret events from these devices as pen events. Only available with XInput 2 (i.e. X server 1.8 or above). The id's of the devices can be retrieved from 'xinput list'.

event_switches.cc
--policy

Set policy value by command line.

policy_switches.cc
--policy-verification-key

Replace the original verification_key with the one provided by the command line flag. Can be used only for unit tests or browser tests.

policy_switches.cc
--process-per-site

Enable the "Process Per Site" process model for all domains. This mode consolidates same-site pages so that they share a single process. More details here: - https://www.chromium.org/developers/design-documents/process-models - The class comment in site_instance.h, listing the supported process models. IMPORTANT: This isn't to be confused with --site-per-process (which is about isolation, not consolidation). You probably want the other one.

content_switches.cc
--process-per-tab

Runs each set of script-connected tabs (i.e., a BrowsingInstance) in its own renderer process. We default to using a renderer process for each site instance (i.e., group of pages from the same registered domain with script connections to each other). "unnecessary" process swaps for cross-site navigations but still swap when needed for security (e.g., isolated origins).

content_switches.cc
--pseudonymization-salt-handle

Handle to shared memory containing the pseudonymization salt, passed to child processes at launch. See https://crbug.com/40850085.

content_switches.cc
--pull-to-refresh

Enables or disables pull-to-refresh gesture in response to vertical overscroll. Set the value to '0' to disable the feature, set to '1' to enable it for both touchpad and touchscreen, and set to '2' to enable it only for touchscreen. Defaults to disabled.

content_switches.cc
--raise-timer-frequency

Raise the timer interrupt frequency in all Chrome processes, for experimental purposes. This feature is needed because as of Windows 10 2004 the scheduling effects of changing the timer interrupt frequency are not global, and this lets us prove/disprove whether this matters. See https://crbug.com/1128917

content_switches.cc
--realtime-reporting-url

Specifies the URL at which to upload real-time reports.

policy_switches.cc
--reduce-accept-language

Reduce the accept-language for HTTP header and JS navigator.languages, and only most preferred language: https://github.com/Tanych/accept-language.

content_switches.cc
--reduce-accept-language-http

Reduce the accept-language for HTTP header, and only send most preferred language in the request header: https://github.com/Tanych/accept-language.

content_switches.cc
--reduce-user-agent-minor-version

Reduce the minor version number in the User-Agent string. This flag implements phase 4 of User-Agent reduction: https://blog.chromium.org/2021/09/user-agent-reduction-origin-trial-and-dates.html.

content_switches.cc
--relauncher
switches.cc
--remote-allow-origins

Enables web socket connections from the specified origins only. '*' allows any origin.

content_switches.cc
--remote-debugging-io-pipes

Specifies pipe names for the incoming and outbound messages on the Windows platform. This is a comma separated list of two pipe handles serialized as unsigned integers, e.g. "--remote-debugging-io-pipes=3,4".

content_switches.cc
--remote-debugging-pipe

Enables remote debug over stdio pipes [in=3, out=4] or over the remote pipes specified in the 'remote-debugging-io-pipes' switch. Optionally, specifies the format for the protocol messages, can be either "JSON" (the default) or "CBOR".

content_switches.cc
--remote-debugging-port

Enables remote debug over HTTP on the specified port.

content_switches.cc
--remote-debugging-socket-name

Enables remote debug over HTTP on the specified socket name.

content_switches.cc
--render-node-override

Allows explicitly picking a DRM render node to create gbm_device for rendering.

ozone_switches.cc
--renderer

Causes the process to run as renderer instead of as browser.

content_switches.cc
--renderer-client-id
content_switches.cc
--renderer-cmd-prefix

The contents of this flag are prepended to the renderer command line. Useful values might be "valgrind" or "xterm -e gdb --args".

content_switches.cc
--renderer-process-limit

Overrides the default/calculated limit to the number of renderer processes. Very high values for this setting can lead to high memory/resource usage or instability.

content_switches.cc
--renderer-startup-dialog

Causes the renderer process to display a dialog on launch. Passing this flag also adds sandbox::policy::kNoSandbox on Windows non-official builds, since that's needed to show a dialog.

content_switches.cc
--renderer-wait-for-java-debugger

Block ChildProcessMain thread of the renderer's ChildProcessService until a Java debugger is attached.

content_switches.cc
--renderpass

Parameters for kUIShowCompositedLayerBorders.

switches.cc
--run-manual

Manual tests only run when --run-manual is specified. This allows writing tests that don't run automatically but are still in the same test binary. This is useful so that a team that wants to run a few tests doesn't have to add a new binary that must be compiled on all builds.

content_switches.cc
--sandbox-ipc

Causes the process to run as a sandbox IPC subprocess.

content_switches.cc
--screen-info

Headless screen info in the format: {0,0 800x600}{800,0 600x800}. See //components/headless/screen_info/README.md for more details.

switches.cc
--secure-connect-api-url

Specifies the base URL to contact the secure connect Api.

policy_switches.cc
--service-sandbox-type

Type of sandbox to apply to the process running the service, one of the values in the next block.

switches.cc
--shared-files

Describes the file descriptors passed to a child process in the following list format: <file_id>:<descriptor_id>,<file_id>:<descriptor_id>,... where <file_id> is an ID string from the manifest of the service being launched and <descriptor_id> is the numeric identifier of the descriptor for the child process can use to retrieve the file descriptor from the global descriptor table.

content_switches.cc
--show-autofill-signatures

Annotates forms and fields with Autofill signatures.

autofill_switches.cc
--show-autofill-type-predictions

Annotates forms with Autofill field type predictions.

autofill_switches.cc
--show-composited-layer-borders

Renders a border around compositor layers to help debug and study layer compositing.

switches.cc
--show-fps-counter

Draws a heads-up-display showing Frames Per Second as well as GPU memory usage. If you also use --enable-logging=stderr --vmodule="head*=1" then FPS will also be output to the console log.

switches.cc
--show-layer-animation-bounds

Renders a border that represents the bounding box for the layer's animation.

switches.cc
--show-property-changed-rects

Show rects in the HUD around layers whose properties have changed.

switches.cc
--show-screenspace-rects

Show rects in the HUD around the screen-space transformed bounds of every layer.

switches.cc
--show-surface-damage-rects

Show rects in the HUD around damage as it is recorded into each render surface.

switches.cc
--single-process

Runs the renderer and plugins in the same process as the browser

content_switches.cc
--site-per-process

Enforces a one-site-per-process security policy: * Each renderer process, for its whole lifetime, is dedicated to rendering pages for just one site. * Thus, pages from different sites are never in the same process. * A renderer process's access rights are restricted based on its site. * All cross-site navigations force process swaps. * <iframe>s are rendered out-of-process whenever the src= is cross-site. More details here: - https://www.chromium.org/developers/design-documents/site-isolation - https://www.chromium.org/developers/design-documents/process-models - The class comment in site_instance.h, listing the supported process models. IMPORTANT: this isn't to be confused with --process-per-site (which is about process consolidation, not isolation). You probably want this one.

content_switches.cc
--skia-font-cache-limit-mb

Specifies the max number of bytes that should be used by the skia font cache. If the cache needs to allocate more, skia will purge previous entries.

content_switches.cc
--skia-graphite-dawn-backend

Specify which Dawn backend to use for Skia Graphite.

gpu_switches.cc
--skia-graphite-vulkan-backend

Specify using Skia Graphite with native Vulkan backend.

gpu_switches.cc
--skia-resource-cache-limit-mb

Specifies the max number of bytes that should be used by the skia resource cache. The previous entries are purged from the cache when the memory useage exceeds this limit.

content_switches.cc
--slow-down-raster-scale-factor

Re-rasters everything multiple times to simulate a much slower machine. Give a scale factor to cause raster to take that many times longer to complete, such as --slow-down-raster-scale-factor=25.

switches.cc
--ssl-key-log-file

Causes SSL key material to be logged to the specified file for debugging purposes. See https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Key_Log_Format for the format.

network_switches.cc
--start-fullscreen

Specifies if the browser should start in fullscreen mode, like if the user had pressed F11 right after startup.

content_switches.cc
--stub
gl_switches.cc
--suppress-performance-logs

Suppresses GL_DEBUG_TYPE_PERFORMANCE log messages for web tests that can get sent to the JS console and cause unnecessary test failures due test output log expectation comparisons.

gpu_switches.cc
--surface
switches.cc
--swiftshader
gpu_switches.cc
--swiftshader-webgl
gl_switches.cc
--system-aec-enabled

Enforce system audio echo cancellation.

media_switches.cc
--target-device-scale-for-testing

Allows web tests to specify the target device scale for the test cases.

content_switches.cc
--test-gl-lib

Flag used for Linux tests: for desktop GL bindings, try to load this GL library first, but fall back to regular library if loading fails.

gl_switches.cc
--test-third-party-cookie-phaseout
network_switches.cc
--test-type

Type of the current test harness ("browser" or "ui" or "gpu").

content_switches.cc
--tint-dc-layer

Tint `SwapChainPresenter` with the following colors: - Decode swap chain: blue - VP blit: magenta - VP blit w/ staging texture: orange - MF proxy surface: green This is similar to `HKLM\Software\Microsoft\Windows\DWM` `OverlayTestMode=1` in DWM, but to help understand `SwapChainPresenter` state.

gl_switches.cc
--top-chrome-webui

Indicates that this RenderProcess is hosting a Top Chrome WebUI.

content_switches.cc
--top-controls-hide-threshold

Percentage of the browser controls need to be hidden before they will auto hide.

switches.cc
--top-controls-show-threshold

Percentage of the browser controls need to be shown before they will auto show.

switches.cc
--touch-devices

Tells chrome to interpret events from these devices as touch events. Only available with XInput 2 (i.e. X server 1.8 or above). The id's of the devices can be retrieved from 'xinput list'.

event_switches.cc
--touch-events

Enable support for touch event feature detection.

content_switches.cc
--touch-slop-distance

Overrides touch slop distance for gesture detection. The touch slop distance is the maximum distance from the starting point of a touch sequence that a gesture can travel before it can no longer be considered a tap. Scroll gestures can only begin after this distance has been travelled. The switch value is a floating point number that is interpreted as a distance in pixels.

event_switches.cc
--translate-ranker-model-url

Overrides the URL from which the translate ranker model is downloaded.

translate_switches.cc
--translate-script-url

Overrides the default server used for Google Translate.

translate_switches.cc
--translate-security-origin

Overrides security-origin with which Translate runs in an isolated world.

translate_switches.cc
--try-supported-channel-layouts

Instead of always using the hardware channel layout, check if a driver supports the source channel layout. Avoids outputting empty channels and permits drivers to enable stereo to multichannel expansion. Kept behind a flag since some drivers lie about supported layouts and hang when used. See http://crbug.com/259165 for more details.

media_switches.cc
--type

The value of this switch determines whether the process is started as a renderer or plugin host. If it's empty, it's the browser.

content_switches.cc
--ui-show-composited-layer-borders
switches.cc
--ui-show-fps-counter
switches.cc
--ui-show-layer-animation-bounds
switches.cc
--ui-show-property-changed-rects
switches.cc
--ui-show-screenspace-rects
switches.cc
--ui-show-surface-damage-rects
switches.cc
--unbounded-window-debug

Enables debug mode for unbounded windows (draws a red border).

content_switches.cc
--use-adapter-luid

Initialize the GPU process using the adapter with the specified LUID. This is only used on Windows, as LUID is a Windows specific structure.

gl_switches.cc
--use-angle

Select which ANGLE backend to use. Options are: default: Attempts several ANGLE renderers until one successfully initializes, varying ES support by platform. d3d9: Legacy D3D9 renderer, ES2 only. d3d11: D3D11 renderer, ES2 and ES3. warp: D3D11 renderer using software rasterization, ES2 and ES3. gl: Desktop GL renderer, ES2 and ES3. gles: GLES renderer, ES2 and ES3.

gl_switches.cc
--use-cmd-decoder

Use the Pass-through command decoder, skipping all validation and state tracking. Switch lives in ui/gl because it affects the GL binding initialization on platforms that would otherwise not default to using EGL bindings.

gl_switches.cc
--use-context-snapshot

Switch supplied to the renderer if the feature `kUseContextSnapshot` is enabled. A switch is used as at the time the renderer needs this information features have not yet been loaded.

content_switches.cc
--use-cras

Use CRAS, the ChromeOS audio server.

media_switches.cc
--use-dynamic-angle

Use ANGLE shared libraries even if ANGLE is built as a static library.

gl_switches.cc
--use-fake-device-for-media-stream

Use fake device for Media Stream to replace actual camera and microphone. For the list of allowed parameters, see FakeVideoCaptureDeviceFactory::ParseFakeDevicesConfigFromOptionsString().

media_switches.cc
--use-fake-ui-for-digital-identity

Bypass the digital-identity-credential OS call. Simulate the user accepting the OS-presented dialog.

content_switches.cc
--use-fake-ui-for-fedcm

Bypass the FedCM account selection dialog. If a value is provided for this switch, that account ID is selected, otherwise the first account is chosen.

content_switches.cc
--use-fake-ui-for-media-stream

Bypass the media stream infobar by selecting the default device for media streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream. Prefer --auto-accept-camera-and-microphone-capture which does not interact with screen/tab capture.

content_switches.cc
--use-file-for-fake-audio-capture

Play a .wav file as the microphone. Note that for WebRTC calls we'll treat the bits as if they came from the microphone, which means you should disable audio processing (lest your audio file will play back distorted). The input file is converted to suit Chrome's audio buses if necessary, so most sane .wav files should work. You can pass either <path> to play the file looping or <path>%noloop to stop after playing the file to completion. Must also be used with kDisableAudioInput or kUseFakeDeviceForMediaStream.

media_switches.cc
--use-file-for-fake-video-capture

Use an .y4m file to play as the webcam. See the comments in media/capture/video/file_video_capture_device.h for more details.

media_switches.cc
--use-gl

Select which implementation of GL the GPU process should use. Options are: desktop: whatever desktop OpenGL the user has installed (Linux and Mac default). egl: whatever EGL / GLES2 the user has installed (Windows default - actually ANGLE). swiftshader: The SwiftShader software renderer.

gl_switches.cc
--use-gpu-in-tests

Use hardware gpu, if available, for tests.

gl_switches.cc
--use-vulkan

Enable Vulkan support and select Vulkan implementation, must also have ENABLE_VULKAN defined. This only initializes Vulkan, the flag --enable-features=Vulkan must also be used to select Vulkan for compositing and rasterization.

gpu_switches.cc
--use-wayland-explicit-grab

Use explicit grab when opening popup windows. See https://crbug.com/1220274

ozone_switches.cc
--use-webgpu-adapter

The adapter to use for WebGPU content.

gpu_switches.cc
--use-webgpu-power-preference

The adapter selecting strategy related to GPUPowerPreference.

gpu_switches.cc
--user-gesture-required

Autoplay policy to require a user gesture in order to play.

media_switches.cc
--utility

Causes the process to run as a utility subprocess.

content_switches.cc
--utility-cmd-prefix

The contents of this flag are prepended to the utility process command line. Useful values might be "valgrind" or "xterm -e gdb --args".

content_switches.cc
--utility-startup-dialog

Causes the utility process to display a dialog on launch.

content_switches.cc
--utility-sub-type

This switch indicates the type of a utility process. It does not affect the services offered by the process, but is added to the command line to make it easier to identify the purpose of the utility process.

content_switches.cc
--v8-cache-options

Set options to cache V8 data. (none, code, or default)

content_switches.cc
--validating

The command decoder names that can be passed to --use-cmd-decoder.

gl_switches.cc
--variations-insecure-server-url

Specifies a custom URL for the server to use as an insecure fallback when requests to |kVariationsServerURL| fail. Requests to this URL will be encrypted.

variations_switches.cc
--variations-override-country

Allows overriding the country used for evaluating variations. This is similar to the "Override Variations Country" entry on chrome://translate-internals, but is exposed as a command-line flag to allow testing First Run scenarios. Additionally, unlike chrome://translate-internals, the value isn't persisted across sessions.

variations_switches.cc
--variations-override-geo-level-1

Allows overriding the administrative area code used for evaluating variations and regional eligibility features.

variations_switches.cc
--variations-seed-corpus

Specifies the value of the variations seed corpus to use. When unspecified or unrecognized, the default corpus will be used.

variations_switches.cc
--variations-seed-fetch-interval

Override the time interval between each variation seed fetches. Unit is in minutes. The minimum is 1 minute. The default is 30 minutes.

variations_switches.cc
--variations-seed-version

Used to share variations seed version with child processes.

variations_switches.cc
--variations-server-url

Specifies a custom URL for the server which reports variation data to the client. Specifying this switch enables the Variations service on unofficial builds. See variations_service.cc.

variations_switches.cc
--variations-state-file

Use features defined in the value. Use this flag to reproduce experiments related issues. Copy 'Command-line Variations' value from chrome://version page. Save it to a file and pass it via this flag. The value is a base64 encoded JSON format produced by `variations::VariationsCommandLine::WriteToString`.

variations_switches.cc
--variations-test-seed-path

Specifies the location of a seed file for Local State's seed to be populated from. The seed file must be in json format with the keys |kVariationsCompressedSeed| and |kVariationsSeedSignature|.

variations_switches.cc
--video-image-texture-target

Texture target for CHROMIUM_image backed video frame textures.

content_switches.cc
--video-threads

Set number of threads to use for video decoding.

media_switches.cc
--vulkan
gpu_switches.cc
--vulkan-heap-memory-limit-mb

Specifies the heap limit for Vulkan memory.

gpu_switches.cc
--vulkan-null
gl_switches.cc
--vulkan-sync-cpu-memory-limit-mb

Specifies the sync CPU limit for total Vulkan memory.

gpu_switches.cc
--wait-for-debugger-children

Will add kWaitForDebugger to every child processes. If a value is passed, it will be used as a filter to determine if the child process should have the kWaitForDebugger flag passed on or not.

content_switches.cc
--wait-for-debugger-on-navigation

On every navigation a message with the renderer's URL will be logged and the renderer will wait for a debugger to be attached or SIGUSR1 to be sent to continue execution.

content_switches.cc
--wait-for-debugger-webui

Flag used by WebUI test runners to wait for debugger to be attached.

content_switches.cc
--wallet-service-use-sandbox

Use the sandbox Online Wallet service URL (for developer testing).

autofill_switches.cc
--waveout-buffers

Number of buffers to use for WaveOut.

media_switches.cc
--wayland-text-input-version

Specify wayland text-input protocol version. Defaults to "1" for text-input-v1. Can specify value "3" for experimental text-input-v3 support.

ozone_switches.cc
--web-otp-backend

Enables specified backend for the Web OTP API.

content_switches.cc
--web-otp-backend-auto

Enables auto backend selection for Web OTP API.

content_switches.cc
--web-otp-backend-sms-verification

Enables Sms Verification backend for Web OTP API which requires app hash in SMS body.

content_switches.cc
--web-otp-backend-user-consent

Enables User Consent backend for Web OTP API.

content_switches.cc
--web-settings-for-testing

Allows web tests to specify additional web settings for the test cases.

content_switches.cc
--webauthn-remote-desktop-support

Allows trusted remote desktop clients to make WebAuthn requests on behalf of other origins. This switch only controls availability of the `remoteDesktopClientOverride` extension but doesn't by itself enable any origin to use it.

content_switches.cc
--webgl-antialiasing-mode

Set the antialiasing method used for webgl. (none, explicit, implicit)

content_switches.cc
--webgl-msaa-sample-count

Set a default sample count for webgl if msaa is enabled.

content_switches.cc
--webrtc-event-logging

Enable capture and local storage of WebRTC event logs without visiting chrome://webrtc-internals. This is useful for automated testing. It accepts the path to which the local logs would be stored. Disabling is not possible without restarting the browser and relaunching without this flag.

content_switches.cc
--webview-draw-functor-uses-vulkan

Indicate that the this is being used by Android WebView and its draw functor is using vulkan.

gpu_switches.cc
--yuy2
gl_switches.cc
--zygote

Causes the process to run as a zygote.

content_switches.cc
--zygote-cmd-prefix

The prefix used when starting the zygote process. (i.e. 'gdb --args')

content_switches.cc