Fix the omnibox stops at the middle while we stop at middle
When we scroll the page and stops at the middle of the omnibox, the page should either go up or down to either show the whole omnibox or not show the omnibox at all. When I moved the ScrollEnd function (https://chromium-review.googlesource.com/c/chromium/src/+/1688884) in InputHandlerProxy::HandleGestureScrollEnd to be called for only impl thread scroll only, so the scroll snap does not happen for main thread scroll. We should call ScrollEnd for both impl and main threads scroll. Bug: 1026033 Change-Id: Id15379d70e4ccaab28b578e0798735141caac627 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1972460 Commit-Queue: Lan Wei <lanwei@chromium.org> Reviewed-by:David Bokan <bokan@chromium.org> Cr-Commit-Position: refs/heads/master@{#736057}
Showing
This diff is collapsed.
Please register or sign in to comment