Commit 7da24b7f authored by Daniel Libby's avatar Daniel Libby Committed by Commit Bot

Add feature flag for scrollbar scroll injecting gestures

Given that there were a couple regressions the first time I changed this
behavior for scrollbar presses (see crrev.com/1580588 and the revert,
crrev.com/1616341), I'm introducing a feature flag so that we can
have a kill switch.

R=bokan@chromium.org, dcheng@chromium.org, dtapuska@chromium.org

Bug: 954007
Change-Id: I635c5f39a798986c820287c47474f8b80a473307
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1617140
Commit-Queue: Daniel Libby <dlibby@microsoft.com>
Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
Reviewed-by: default avatarDavid Bokan <bokan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#662075}
parent ad6074c0
......@@ -271,6 +271,10 @@ const base::Feature kBlockingFocusWithoutUserActivation{
const base::Feature kAudioWorkletRealtimeThread{
"AudioWorkletRealtimeThread", base::FEATURE_DISABLED_BY_DEFAULT};
// Use scroll gestures for scrollbar scrolls (see https://crbug.com/954007).
const base::Feature kScrollbarInjectScrollGestures{
"ScrollbarInjectScrollGestures", base::FEATURE_DISABLED_BY_DEFAULT};
bool IsOffMainThreadSharedWorkerScriptFetchEnabled() {
// Off-the-main-thread shared worker script fetch depends on PlzSharedWorker
// (NetworkService).
......
......@@ -82,6 +82,7 @@ BLINK_COMMON_EXPORT extern const base::Feature
kWebFontsCacheAwareTimeoutAdaption;
BLINK_COMMON_EXPORT extern const base::Feature
kBlockingFocusWithoutUserActivation;
BLINK_COMMON_EXPORT extern const base::Feature kScrollbarInjectScrollGestures;
BLINK_COMMON_EXPORT extern const base::Feature kAudioWorkletRealtimeThread;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment