Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ios] Fix Fake Omnibox bug when sticking to top of NTP
The logic in NTPViewController's -offsetToStickOmnibox to determine when to stick the fake omnibox to the top of the surface is not the same as the one within the NewTabPageView that determines when the fake omnibox expansion animation stops (which happens to be the same position as where it should stick to the top of surface). This change makes NewTabPageView's logic public to the NTPViewController. Video: https://drive.google.com/file/d/1tmjMxIrzQjah1wlUzXfrerpYV-M8TKV2/view?usp=sharing (cherry picked from commit 6053917) Fixed: 1443603 Change-Id: I0aa81e8aceb77cae41068b08db70be08e2d2bda2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4569060 Commit-Queue: Chris Lu <thegreenfrog@chromium.org> Reviewed-by: Scott Yoder <scottyoder@google.com> Cr-Original-Commit-Position: refs/heads/main@{#1150978} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4581659 Auto-Submit: Chris Lu <thegreenfrog@chromium.org> Commit-Queue: Scott Yoder <scottyoder@google.com> Cr-Commit-Position: refs/branch-heads/5790@{#265} Cr-Branched-From: 1d71a33-refs/heads/main@{#1148114}
- Loading branch information
Chris Lu
authored and
Chromium LUCI CQ
committed
Jun 2, 2023
1 parent
3e71f0d
commit 85c13d6
Showing
5 changed files
with
22 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters