• Colin Blundell's avatar
    [WebLayer] Add test of infobar scrolling · 3006c15b
    Colin Blundell authored
    This CL adds a basic test that the infobar container responds to
    scrolling as expected in WebLayer. To enable this test we also made the
    following changes:
    
    - Factored out some support for setting up scrolling in tests from
      BrowserControlsTest.java for reuse
    - Extended EventUtils.java's simulation of dragging to post the
      finger down/move/up events sequentially. This change is necessary to
      get the scroll events to be fully processed within //content and
      ripple out to the infobar container.
    
    Bug: 1093846
    Change-Id: Ifb94f33c498a13d711336165029370e259e330c0
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2247894
    Commit-Queue: Colin Blundell <blundell@chromium.org>
    Reviewed-by: default avatarScott Violet <sky@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#780235}
    3006c15b
BUILD.gn 10.2 KB