1. 16 Jul, 2018 1 commit
    • Sandra Sun's avatar
      Snaps after scrollbar clicking. · e98df9c6
      Sandra Sun authored
      After user clicking on the scrollbar's track or arrows, we should snap
      to the closest snap position of the container. This is done by simply
      moving SnapAfterScrollbarDragging() from
      ScrollableArea::MouseReleasedScrollbar() up to Scrollbar::MouseUp().
      
      This patch also rewrites the previous
      snaps-after-scrollbar-dragging.html test using the gesture-util.js, and
      adds the new clicking tests to it as well.
      
      Bug: 860768
      Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel
      Change-Id: I75267c3fc0917ecf5c14673a1eb480a047d03824
      Reviewed-on: https://chromium-review.googlesource.com/1127153
      Commit-Queue: Sandra Sun <sunyunjia@chromium.org>
      Reviewed-by: default avatarDavid Bokan <bokan@chromium.org>
      Reviewed-by: default avatarMajid Valipour <majidvp@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#575191}
      e98df9c6
  2. 15 Jul, 2018 24 commits
  3. 14 Jul, 2018 15 commits