Update thorium_flag_entries.h
This commit is contained in:
parent
353f247aca
commit
23e9af4500
1 changed files with 36 additions and 12 deletions
|
@ -6,8 +6,12 @@
|
||||||
#define CHROME_BROWSER_THORIUM_FLAG_ENTRIES_H_
|
#define CHROME_BROWSER_THORIUM_FLAG_ENTRIES_H_
|
||||||
{"force-dark-mode",
|
{"force-dark-mode",
|
||||||
"Enable Dark Mode",
|
"Enable Dark Mode",
|
||||||
"Enables Dark Mode for all Thorium instances.",
|
"Enables dark mode for all Thorium instances.",
|
||||||
kOsDesktop, SINGLE_VALUE_TYPE("force-dark-mode")},
|
kOsDesktop, SINGLE_VALUE_TYPE(kForceDarkMode)},
|
||||||
|
{"force-high-contrast",
|
||||||
|
"Enable High Contrast Mode",
|
||||||
|
"Enables high contrast mode for all Thorium instances.",
|
||||||
|
kOsDesktop, SINGLE_VALUE_TYPE(kForceHighContrast)},
|
||||||
{"custom-ntp",
|
{"custom-ntp",
|
||||||
"Custom New Tab Page",
|
"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.",
|
"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.",
|
||||||
|
@ -16,10 +20,10 @@
|
||||||
"Hide Side Panel Button",
|
"Hide Side Panel Button",
|
||||||
"Hides the Thorium Side Panel Button.",
|
"Hides the Thorium Side Panel Button.",
|
||||||
kOsDesktop, SINGLE_VALUE_TYPE("hide-sidepanel-button")},
|
kOsDesktop, SINGLE_VALUE_TYPE("hide-sidepanel-button")},
|
||||||
{"no-autoplay",
|
{"autoplay-policy",
|
||||||
"Disable AutoPlay",
|
"Disable/Enable AutoPlay",
|
||||||
"Disables AutoPlay for all Thorium instances.",
|
"Disables or Enables AutoPlay for all Thorium instances.",
|
||||||
kOsDesktop, SINGLE_VALUE_TYPE(switches::autoplay::kUserGestureRequiredPolicy)},
|
kOsDesktop, MULTI_VALUE_TYPE(kAutoplayPolicyChoices)},
|
||||||
{"show-avatar-button",
|
{"show-avatar-button",
|
||||||
"Show/Hide the Avatar Button",
|
"Show/Hide the Avatar Button",
|
||||||
"Show the Avatar/People/Profile button in the browser toolbar: Always, Incognito|Guest only, or Never.",
|
"Show the Avatar/People/Profile button in the browser toolbar: Always, Incognito|Guest only, or Never.",
|
||||||
|
@ -28,9 +32,13 @@
|
||||||
"WebGL MSAA Sample Count",
|
"WebGL MSAA Sample Count",
|
||||||
"Set a default sample count for WebGL if MSAA is enabled on the GPU.",
|
"Set a default sample count for WebGL if MSAA is enabled on the GPU.",
|
||||||
kOsDesktop, MULTI_VALUE_TYPE(kWebglMSAASampleCountChoices)},
|
kOsDesktop, MULTI_VALUE_TYPE(kWebglMSAASampleCountChoices)},
|
||||||
|
{"webgl-antialiasing-mode",
|
||||||
|
"WebGL Anti-Aliasing Mode",
|
||||||
|
"Set the antialiasing method used for WebGL. (None, Explicit, Implicit)",
|
||||||
|
kOsDesktop, MULTI_VALUE_TYPE(kWebglAntialiasingModeChoices)},
|
||||||
{"gpu-rasterization-msaa-sample-count",
|
{"gpu-rasterization-msaa-sample-count",
|
||||||
"Native GPU Rasterization MSAA Sample Count",
|
"Native GPU Rasterization MSAA Sample Count",
|
||||||
"Set a default sample count for Native GPU Rasterization if MSAA is enabled on the GPU.",
|
"Set a default sample count for native GPU Rasterization if MSAA is enabled on the GPU.",
|
||||||
kOsDesktop, MULTI_VALUE_TYPE(kGpuRasterizationMSAASampleCountChoices)},
|
kOsDesktop, MULTI_VALUE_TYPE(kGpuRasterizationMSAASampleCountChoices)},
|
||||||
{"num-raster-threads",
|
{"num-raster-threads",
|
||||||
"Number of Raster Threads",
|
"Number of Raster Threads",
|
||||||
|
@ -38,6 +46,22 @@
|
||||||
kOsDesktop, MULTI_VALUE_TYPE(kNumRasterThreadsChoices)},
|
kOsDesktop, MULTI_VALUE_TYPE(kNumRasterThreadsChoices)},
|
||||||
{"enable-ui-devtools",
|
{"enable-ui-devtools",
|
||||||
"Enable Native UI Inspection in DevTools",
|
"Enable Native UI Inspection in DevTools",
|
||||||
"Enables inspection of Native UI elements in DevTools. Inspect at `chrome://inspect/#native-ui`",
|
"Enables inspection of native UI elements in devtools. Inspect at `chrome://inspect/#native-ui`",
|
||||||
kOsDesktop, SINGLE_VALUE_TYPE(ui_devtools::switches::kEnableUiDevTools)},
|
kOsDesktop, SINGLE_VALUE_TYPE(ui_devtools::switches::kEnableUiDevTools)},
|
||||||
|
{"disable-webgl2",
|
||||||
|
"Disable WebGL 2",
|
||||||
|
"Disable WebGL 2. Useful for certain GPU/OS combinations.",
|
||||||
|
kOsDesktop, SINGLE_VALUE_TYPE(kDisableWebGL2)},
|
||||||
|
{"enable-local-file-accesses",
|
||||||
|
"Enable Local File Accesses",
|
||||||
|
"Enable local file accesses. Useful for web development.",
|
||||||
|
kOsDesktop, SINGLE_VALUE_TYPE(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)},
|
||||||
|
{"disable-web-security",
|
||||||
|
"Disable Web Security",
|
||||||
|
"Don't enforce the same-origin policy; meant for website testing only.",
|
||||||
|
kOsDesktop, SINGLE_VALUE_TYPE(kDisableWebSecurity)},
|
||||||
#endif // CHROME_BROWSER_THORIUM_FLAG_ENTRIES_H_
|
#endif // CHROME_BROWSER_THORIUM_FLAG_ENTRIES_H_
|
||||||
|
|
Loading…
Reference in a new issue