commit | add9e5505eaeaabcff0af00b0369c2b079afe630 | [log] [tgz] |
---|---|---|
author | Kurt Horimoto <kkhorimoto@chromium.org> | Fri Feb 01 20:57:20 2019 |
committer | Kurt Horimoto <kkhorimoto@chromium.org> | Fri Feb 01 20:57:20 2019 |
tree | 47196a3813e7e4ca40a15010deec3a51aa507fe4 | |
parent | 890f9e5ec05c5ffbe1fcf26dd2fadb26f8fa89fd [diff] |
[iOS] Disable fullscreen for splash screen reloads. Some splash screens that are designed to fit the viewport of the webview have their content size increase by the safe area insets upon reloading. In order to continue disabling fullscreen for these pages, this CL updates the disabling threshold by the top and bottom safe area insets. While this strategy disables fullscreen more aggressively, it is better to mistakenly disable fullscreen for short pages (that are slightly longer than the scroll view) than it is to allow the animation issues that sometimes occur when these pages are scrolled. Bug: 924807 Change-Id: I5070b26931fdd6103f21f475a794ecb52b9e5360 Reviewed-on: https://chromium-review.googlesource.com/c/1433141 Commit-Queue: Kurt Horimoto <kkhorimoto@chromium.org> Reviewed-by: Gauthier Ambard <gambard@chromium.org> Auto-Submit: Kurt Horimoto <kkhorimoto@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#627777}(cherry picked from commit 4fe064ae2732d1f6986ebe01116da27a27878268) Reviewed-on: https://chromium-review.googlesource.com/c/1450024 Reviewed-by: Kurt Horimoto <kkhorimoto@chromium.org> Cr-Commit-Position: refs/branch-heads/3683@{#133} Cr-Branched-From: e51029943e0a38dd794b73caaf6373d5496ae783-refs/heads/master@{#625896}
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 .