Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Partial Fix to Android Omnibox scrolling revealing other content
ChromeFullscreenManager::updateViewportSize calculates the changes in control offsets, and determines when to toggle the resizing of the renderer's view. Currently all viewport updates are blocked while a gesture or scrolling is occurring. This change updates the method to also perform the update if we've changed the resize state. Allowing the renderer to resize to account for the larger region when scrolling the controls away. While this prevents showing older content, it only does so for normal speed scrolls. A quick flick can lead to such a rapid change in viewport, that we still have some frames of old content. Bug: 916144 Change-Id: Ibbf8d6daa89691945e011022f9509fea4783cfe2 Reviewed-on: https://chromium-review.googlesource.com/c/1387945 Reviewed-by: agrieve <agrieve@chromium.org> Reviewed-by: Matthew Jones <mdjones@chromium.org> Commit-Queue: Jonathan Ross <jonross@chromium.org> Cr-Commit-Position: refs/heads/master@{#623741}
- Loading branch information