Fix contextual search peeking pari is hidden behind CCT bottom bar
When CCT bottom bar is shown, the contextual search peeking bar is hidden beneath it. The correct behavior should be when contextual search bar is shown, CCT bottom bar should be dismissed. To fix the problem, add a ContextualSearchObserver from the CustomTabBottomBarDelegate to know when the contextual search bar is shown/hidden, then hide/show bottom bar based on the observer's callbacks. BUG=684675 Change-Id: Iad53e7b8e83afcf127c7adcf1965cd4f75bc0afa Reviewed-on: https://chromium-review.googlesource.com/693343Reviewed-by:Yusuf Ozuysal <yusufo@chromium.org> Commit-Queue: Lei Tian <ltian@google.com> Cr-Commit-Position: refs/heads/master@{#505887}
Showing
Please register or sign in to comment