Update thorium_flag_entries.h

This commit is contained in:
Alexander David Frick 2022-07-24 22:36:00 -05:00 committed by GitHub
parent 56a40d5018
commit af9c94a7c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,11 +7,19 @@
{"force-dark-mode",
"Enable Dark Mode",
"Enables dark mode for all Thorium instances.",
kOsDesktop, SINGLE_VALUE_TYPE(kForceDarkMode)},
kOsDesktop, SINGLE_VALUE_TYPE(switches::kForceDarkMode)},
{"force-high-contrast",
"Enable High Contrast Mode",
"Enables high contrast mode for all Thorium instances.",
kOsDesktop, SINGLE_VALUE_TYPE(kForceHighContrast)},
kOsDesktop, SINGLE_VALUE_TYPE(switches::kForceHighContrast)},
{"tab-outlines-in-low-contrast-themes",
flag_descriptions::kTabOutlinesInLowContrastThemesName,
flag_descriptions::kTabOutlinesInLowContrastThemesDescription, kOsDesktop,
FEATURE_VALUE_TYPE(features::kTabOutlinesInLowContrastThemes)},
{"prominent-dark-mode-active-tab-title",
flag_descriptions::kProminentDarkModeActiveTabTitleName,
flag_descriptions::kProminentDarkModeActiveTabTitleDescription, kOsDesktop,
FEATURE_VALUE_TYPE(features::kProminentDarkModeActiveTabTitle)},
{"custom-ntp",
"Custom New Tab Page",
"Allows setting a custom URL for the New Tab Page (NTP). Value can be internal (e.g. `about:blank`), external (e.g. `example.com`), or local (e.g. `file:///tmp/startpage.html`). This applies for incognito windows as well when not set to a `chrome://` internal page.",
@ -51,29 +59,29 @@
{"disable-webgl2",
"Disable WebGL 2",
"Disable WebGL 2. Useful for certain GPU/OS combinations.",
kOsDesktop, SINGLE_VALUE_TYPE(kDisableWebGL2)},
kOsDesktop, SINGLE_VALUE_TYPE(switches::kDisableWebGL2)},
{"enable-local-file-accesses",
"Enable Local File Accesses",
"Enable local file accesses. Useful for web development.",
kOsDesktop, SINGLE_VALUE_TYPE(kEnableLocalFileAccesses)},
kOsDesktop, SINGLE_VALUE_TYPE(switches::kEnableLocalFileAccesses)},
{"allow-file-access-from-files",
"Allow File URI Access from Files",
"By default, file:// URIs cannot read other file:// URIs. This is an override for web developers who need the old behavior for testing.",
kOsDesktop, SINGLE_VALUE_TYPE(kAllowFileAccessFromFiles)},
kOsDesktop, SINGLE_VALUE_TYPE(switches::kAllowFileAccessFromFiles)},
{"disable-web-security",
"Disable Web Security",
"Don't enforce the same-origin policy; meant for website testing only.",
kOsDesktop, SINGLE_VALUE_TYPE(kDisableWebSecurity)},
kOsDesktop, SINGLE_VALUE_TYPE(switches::kDisableWebSecurity)},
{"enable-win7-webrtc-hw-h264-decoding",
"Windows 7 WebRTC H.264 Hardware Decoding",
"Enables H.264 hardware decode acceleration for WebRTC on Windows 7.",
kOsWin, SINGLE_VALUE_TYPE(kEnableWin7WebRtcHWH264Decoding)},
kOsWin, SINGLE_VALUE_TYPE(switches::kEnableWin7WebRtcHWH264Decoding)},
{"disable-windows10-custom-titlebar",
"Disable Custom Windows Titlebar",
"Disables custom-drawing the window titlebar on Windows 10/11.",
kOsWin, SINGLE_VALUE_TYPE(kDisableWindows10CustomTitlebar)},
kOsWin, SINGLE_VALUE_TYPE(switches::kDisableWindows10CustomTitlebar)},
{"enable-exclusive-audio",
"Enable Exclusive Audio Streams",
"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.",
kOsWin, SINGLE_VALUE_TYPE(kEnableExclusiveAudio)},
kOsWin, SINGLE_VALUE_TYPE(switches::kEnableExclusiveAudio)},
#endif // CHROME_BROWSER_THORIUM_FLAG_ENTRIES_H_