From 3418fe4f4f230ce032e52fd8a6fd4db2b6b707f1 Mon Sep 17 00:00:00 2001 From: Alexander Frick Date: Thu, 16 May 2024 23:15:25 -0500 Subject: [PATCH] android fixes --- arm/android/android_arm64_args.gn | 3 ++- src/chrome/browser/thorium_flag_entries.h | 16 ++++++++++------ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/arm/android/android_arm64_args.gn b/arm/android/android_arm64_args.gn index 689b96c1..b32dffa1 100644 --- a/arm/android/android_arm64_args.gn +++ b/arm/android/android_arm64_args.gn @@ -85,7 +85,8 @@ enable_hangout_services_extension = true rtc_use_h264 = false rtc_prefer_fixed_point = true rtc_include_ilbc = true -rtc_build_with_neon = true +# TODO: Re-Enable +rtc_build_with_neon = false rtc_build_examples = false rtc_enable_avx2 = false enable_vr = true diff --git a/src/chrome/browser/thorium_flag_entries.h b/src/chrome/browser/thorium_flag_entries.h index d08eafe0..a3d87215 100644 --- a/src/chrome/browser/thorium_flag_entries.h +++ b/src/chrome/browser/thorium_flag_entries.h @@ -42,11 +42,15 @@ "Customize Chrome Side Panel (Non-Cr23 Variant)", "Enables the \"Customize Chrome\" item in the Side Panel, without the Cr23 UI, and without having to also enable Chrome Refresh 2023.", kOsDesktop, FEATURE_VALUE_TYPE(features::kCustomizeChromeSidePanelNoChromeRefresh2023)}, + +#if !BUILDFLAG(IS_ANDROID) {"show-component-extension-options", "Show Component Extension Options", "Shows internal Chromium component extensions on the `chrome://extensions`. These are normally hidden, " "but this is an override for debugging or inspection.", kOsDesktop, SINGLE_VALUE_TYPE(extensions::switches::kShowComponentExtensionOptions)}, +#endif // BUILDFLAG(IS_ANDROID) + {"force-high-contrast", "Enable High Contrast Mode", "Enables high contrast mode for all Thorium instances.", @@ -74,12 +78,12 @@ "Switch to the left/right tab if a scroll wheel event happens over the tabstrip, or the empty space beside the tabstrip.", kOsDesktop, MULTI_VALUE_TYPE(kScrollEventChangesTab)}, -//#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) -// {"middle-click-autoscroll", -// "Middle Click Autoscroll", -// "Enables autoscrolling when the middle mouse button is pressed.", -// kOsDesktop, SINGLE_VALUE_TYPE(blink::features::kMiddleClickAutoscroll)}, -//#endif // BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) + {"middle-click-autoscroll", + "Middle Click Autoscroll", + "Enables autoscrolling when the middle mouse button is pressed.", + kOsDesktop, FEATURE_VALUE_TYPE(blink::features::kMiddleClickAutoscroll)}, +#endif // BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) {"autoplay-policy", "Disable/Enable AutoPlay",