fixup chrome://flags order

This commit is contained in:
Alexander Frick 2024-01-26 20:20:00 -06:00
parent e3871d2896
commit 0a847c2beb
2 changed files with 20 additions and 20 deletions

View file

@ -97,7 +97,7 @@ copyRaspi () {
cp -r -v arm/third_party/* ${CR_SRC_DIR}/third_party/ &&
cp -r -v arm/raspi/* ${CR_SRC_DIR}/ &&
cp -v pak_src/binaries/pak_arm64 ${CR_SRC_DIR}/out/thorium/pak &&
./infra/fix_libaom.sh &&
#./infra/fix_libaom.sh &&
cp -r -v arm/build/config/* ${CR_SRC_DIR}/build/config/ &&
printf "\n" &&
cp -r -v arm/raspi/build/config/* ${CR_SRC_DIR}/build/config/ &&
@ -183,7 +183,7 @@ copyAndroid () {
#rm -v -r -f ${CR_SRC_DIR}/chrome/android/java/res_chromium_base/mipmap-hdpi/layered_app_icon.png &&
rm -v -r -f ${CR_SRC_DIR}/chrome/android/java/res_chromium_base/mipmap-xxhdpi/layered_app_icon_background.png &&
#rm -v -r -f ${CR_SRC_DIR}/chrome/android/java/res_chromium_base/mipmap-xxhdpi/layered_app_icon.png &&
./infra/fix_libaom.sh &&
#./infra/fix_libaom.sh &&
printf "\n"
}
case $1 in

View file

@ -20,11 +20,11 @@
{"prominent-active-tab-titles",
"Prominent Active Tab Titles",
"Makes the active tab title bolder so that it is easier to identify.",
kOsAll, SINGLE_VALUE_TYPE("prominent-active-tab-titles")},
kOsDesktop, SINGLE_VALUE_TYPE("prominent-active-tab-titles")},
{"force-enable-tab-outlines",
"Enable Tab Outlines",
"Force enables tab outline strokes, improving accessiblity in dark mode, incognito mode, and low contrast themes.",
kOsAll, SINGLE_VALUE_TYPE("force-enable-tab-outlines")},
kOsDesktop, SINGLE_VALUE_TYPE("force-enable-tab-outlines")},
{"force-high-contrast",
"Enable High Contrast Mode",
"Enables high contrast mode for all Thorium instances.",
@ -59,7 +59,7 @@
{"allow-insecure-downloads",
"Allow Insecure Downloads",
"Allows downloading files from mixed origin/cross origin schemes.",
kOsDesktop, SINGLE_VALUE_TYPE("allow-insecure-downloads")},
kOsAll, SINGLE_VALUE_TYPE("allow-insecure-downloads")},
#if !BUILDFLAG(IS_ANDROID)
{"download-bubble",
@ -95,7 +95,7 @@
{"force-gpu-mem-available-mb",
"Set GPU Available Memory",
"Sets the total amount of memory (in MB) that may be allocated for GPU resources.",
kOsAll, MULTI_VALUE_TYPE(kForceGpuMemAvailableMbChoices)},
kOsDesktop, MULTI_VALUE_TYPE(kForceGpuMemAvailableMbChoices)},
#if BUILDFLAG(IS_LINUX)
{"enable-native-gpu-memory-buffers",
@ -114,19 +114,27 @@
"Inform Thorium's GPU process 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 situation, like say, a GPU reset. "
"Useful for fixing blank or pink screens/videos upon system resume, etc.",
kOsAll, SINGLE_VALUE_TYPE(switches::kGpuNoContextLost)},
kOsDesktop, SINGLE_VALUE_TYPE(switches::kGpuNoContextLost)},
{"enable-ui-devtools",
"Enable Native UI Inspection in DevTools",
"Enables inspection of native UI elements in devtools. Inspect at `chrome://inspect/#native-ui`",
kOsAll, SINGLE_VALUE_TYPE(ui_devtools::switches::kEnableUiDevTools)},
{"double-click-close-tab",
"Double Click to Close Tab",
"Enables double clicking a tab to close it.",
kOsDesktop, SINGLE_VALUE_TYPE("double-click-close-tab")},
{"tab-hover-cards",
"Tab Hover Cards",
"Allows removing the tab hover cards or using a tooltip as a replacement.",
kOsDesktop, MULTI_VALUE_TYPE(kTabHoverCardChoices)},
{"double-click-close-tab",
"Double Click to Close Tab",
"Enables double clicking a tab to close it.",
kOsDesktop, SINGLE_VALUE_TYPE("double-click-close-tab")},
{"close-confirmation",
"Close Confirmation",
"Show a warning prompt when closing browser window(s).",
kOsDesktop, MULTI_VALUE_TYPE(kCloseConfirmation)},
{"close-window-with-last-tab",
"Close window with last tab",
"Determines whether a window should close once the last tab is closed.",
kOsDesktop, MULTI_VALUE_TYPE(kCloseWindowWithLastTab)},
#if !BUILDFLAG(IS_ANDROID)
{"media-router",
@ -149,7 +157,7 @@
kOsAll, SINGLE_VALUE_TYPE("enable-local-file-accesses")},
{"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.",
"By default, file:// URIs cannot read other file:// URIs. This is an override for web developers who need this behavior for testing.",
kOsAll, SINGLE_VALUE_TYPE(switches::kAllowFileAccessFromFiles)},
{"disable-web-security",
"Disable Web Security",
@ -164,14 +172,6 @@
"Disable Machine ID",
"Disables use of a generated machine-specific ID to lock the user data directory to that machine. This is used to enable portable user data directories. Enabled for Thorium Portable.",
kOsDesktop, SINGLE_VALUE_TYPE("disable-machine-id")},
{"close-confirmation",
"Close Confirmation",
"Show a warning prompt when closing browser window(s).",
kOsDesktop, MULTI_VALUE_TYPE(kCloseConfirmation)},
{"close-window-with-last-tab",
"Close window with last tab",
"Determines whether a window should close once the last tab is closed.",
kOsDesktop, MULTI_VALUE_TYPE(kCloseWindowWithLastTab)},
#if BUILDFLAG(IS_LINUX)
{"password-store",