Unify visibility logic for omnibox results container and suggestion list
This patch reduces the number of functions independently responsible for changing the visibility of the omnibox suggestions. Since the only visible part of the results container is the list, the visibility of the container should depend on whether the suggestions list visibility. To support this change, a new method has been added to the UrlFocusChangeListener interface: onUrlAnimationFinished. This method triggers after the animation for focusing or unfocusing the omnibox has completed. Change-Id: I110379fd59dd2d54182d03cc91ed75dd3cba765b Reviewed-on: https://chromium-review.googlesource.com/c/1294423 Commit-Queue: Matthew Jones <mdjones@chromium.org> Reviewed-by:Ted Choc <tedchoc@chromium.org> Cr-Commit-Position: refs/heads/master@{#604674}
Showing
Please register or sign in to comment