From d880ff59780d0cf4582a73ec1ab8462589e7708e Mon Sep 17 00:00:00 2001 From: Alexander Frick Date: Sun, 25 Feb 2024 00:36:09 -0600 Subject: [PATCH] add autoscroll flag --- src/chrome/browser/thorium_flag_entries.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/chrome/browser/thorium_flag_entries.h b/src/chrome/browser/thorium_flag_entries.h index d0fbf1c1..eb444794 100644 --- a/src/chrome/browser/thorium_flag_entries.h +++ b/src/chrome/browser/thorium_flag_entries.h @@ -55,6 +55,14 @@ "Scroll Switches Active Tab", "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-button-autoscroll", + "Middle Button Autoscroll", + "Enables autoscrolling when the middle mouse button is pressed.", + kOsDesktop, FEATURE_VALUE_TYPE(blink::features::kMiddleButtonClickAutoscroll)}, +#endif // BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) + {"autoplay-policy", "Disable/Enable AutoPlay", "Allows setting the AutoPlay policy. Use `No User Gesture Required` to enable AutoPlay, and use `Document User Activation Required` to disable AutoPlay "