commit | 7f3f81843ec13f138bca287f36dab50f6cf3a11f | [log] [tgz] |
---|---|---|
author | James Cook <jamescook@chromium.org> | Thu Aug 05 20:21:22 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Aug 05 20:21:22 2021 |
tree | f32d474b9ca303c290b8c30ce34056df58b7ecd6 | |
parent | 32610fbe9d9ac8be074eb491857df5739a39eb6d [diff] |
app_list: Auto-scroll when dragging apps to top/bottom of bubble When the user drags an icon below the bottom of the ScrollView, if the view can scroll in that direction, start scrolling down. Do the opposite at the top of the Scroll. Attempt to scroll once per frame while the mouse is in that margin. Scroll at a constant rate in dips-per-second by correcting for the actual delay between posting the scroll task and when it runs. Enable layer scrolling to make this more efficient. Design doc: go/bubble-launcher-scrolling Bug: 1236207 Test: added to ash_unittests Change-Id: I7674beb985c2a3f3f6b59b4ca4f6488e4458bcbb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3065272 Reviewed-by: Toni Baržić <tbarzic@chromium.org> Commit-Queue: James Cook <jamescook@chromium.org> Cr-Commit-Position: refs/heads/master@{#909017}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.