commit | f2e0092d2babb1539ab688d0678a3cc509c4b103 | [log] [tgz] |
---|---|---|
author | Kurt Horimoto <kkhorimoto@chromium.org> | Wed Jan 23 21:27:06 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jan 23 21:27:06 2019 |
tree | d91d2b46902e46f83ab8325dfb90092f77b2abc3 | |
parent | a689341a59708267a3ec7e343b1edfe2f95d7995 [diff] |
[iOS] Fix FullscreenModel::UpdateDisabledCounterForContentHeight(). This CL updates UpdateDisabledCounterForContentHeight()'s implementation in two ways: - Accounts for the case when the FullscreenProvider is disabled and the scroll view may have been resized to a shorter height despite the content being fully visible on screen. - Updates to a <= check so that fullscreen is disabled when the content fits the scroll view exactly. Bug: 914347 Change-Id: I5d2c6e3ce09d25552de0f1071785d29078162377 Reviewed-on: https://chromium-review.googlesource.com/c/1423092 Commit-Queue: Kurt Horimoto <kkhorimoto@chromium.org> Reviewed-by: Justin Cohen <justincohen@chromium.org> Reviewed-by: Kurt Horimoto <kkhorimoto@chromium.org> Reviewed-by: Eugene But <eugenebut@chromium.org> Auto-Submit: Kurt Horimoto <kkhorimoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#625360}
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 .