commit | cbd6da4f62ffc58abc242d14028a55a9d2f93195 | [log] [tgz] |
---|---|---|
author | Sandra Sun <sunyunjia@chromium.org> | Fri Jan 05 15:29:36 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Jan 05 17:22:12 2018 |
tree | aed5264d49c9b6b9e2034a615a3aa037b3490d6b | |
parent | 538240a3208efe42678afc98e42a06b9701e6eb1 [diff] |
Use overscroll-behavior to control swipe-navigation on CrOS Use overscroll-behavior css property on viewport defining element to control overscroll navigation. This patch enables this for CrOS swipe navigation. Details can be found at https://wicg.github.io/overscroll-behavior/ This is implemented by plumbing OverscrollBehavior to OverscrollWindowAnimation by OnOverscrollBehaviorUpdate(). By looking at the OverscrollBehavior value, the OverscrollWindowAnimation decides whether to navigate or not. Bug: 762023 Change-Id: I47e50fec12a7f508ffa04c2e53376101fc1b98be Reviewed-on: https://chromium-review.googlesource.com/740184 Reviewed-by: Camille Lamy <clamy@chromium.org> Reviewed-by: Sadrul Chowdhury <sadrul@chromium.org> Reviewed-by: Majid Valipour <majidvp@chromium.org> Commit-Queue: Sandra Sun <sunyunjia@chromium.org> Cr-Commit-Position: refs/heads/master@{#527306}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .