[iOS] Sticky omnibox for refactored NTP
This CL allows for the fake omnibox to stick to the top of the NTP when scrolling through the page. The width animation before sticking is handled by the ContentSuggestionsLayout, as it was before. This layout will perform the initial "stick" once the animation is over. Once the user scrolls passed the ContentSuggestionsHeader, the fake omnibox ownership is transferred to the Discover feed, so that it could stick to the top of the NTP and receive tap actions. Bug: 1114792 Change-Id: I15d5c32cba1aedfe0756b23c19a55f59d48806ce Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2622314 Commit-Queue: Adam Trudeau-Arcaro <adamta@google.com> Reviewed-by:Sergio Collazos <sczs@chromium.org> Cr-Commit-Position: refs/heads/master@{#842835}
Showing
Please register or sign in to comment