• chinsenj's avatar
    cros: Disable tab scrubbing while window cycle list (alt-tab) is open. · ade910fd
    chinsenj authored
    With the ongoing interactivity improvements to the window cycle list
    (alt-tab) three finger horizontal trackpad scrolling was introduced as
    a way for users to cycle the window cycle list. However, if the user's
    most recent active window was a chrome window with multiple tabs, the
    three finger swipes would also tab scrub.
    
    To prevent both tab scrubbing and window cycle list cycling, this CL
    disables tab scrubbing while a user is cycling windows.
    
    Tests: manual + added test
    Bug: 1067327
    Change-Id: Ic1ffd1152c3082c2cbc4ab198f5bf0f0c4540037
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2437155
    Commit-Queue: Jeremy Chinsen <chinsenj@chromium.org>
    Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#812304}
    ade910fd
tab_scrubber.cc 10.4 KB