• Nick Burris's avatar
    Make Android scrollbars not hit testable · 88311578
    Nick Burris authored
    Android scrollbars can't be interacted with by user input. This change
    makes the SolidColorScrollbarLayer explicitly not hit testable to
    ensure we don't enter any scrollbar scrolling code paths.
    
    Also updated a few tests in layer_tree_host_impl_unittest.cc that were
    using a SolidColorScrollbarLayer as a generic (hit-testable) scrollbar
    layer, which should instead use a PaintedScrollbarLayer.
    
    Bug: 954366
    Change-Id: Icae9f43e043c412603d30330386710bf59482fad
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1601348
    Commit-Queue: Nick Burris <nburris@chromium.org>
    Reviewed-by: default avatarDavid Bokan <bokan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#662839}
    88311578
layer_tree_impl.cc 83.6 KB