[omnibox] Cleanup: Hoist ProvideButtonHint() call to OmniboxPopupModel.
We want this to happen every time a row is BUTTON_FOCUSED. Hoisting it to the location where that's actually handled guarantees this and results in shorter code. It also makes more sense for the popup model to be instructing the result views of this than it does OmniboxViewViews, which ideally wouldn't know much about the popup views. Bug: none TBR: stkhapugin Change-Id: I0b1da7d8d459f79f25dc7246dc7a1c4c81e9f25e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1900254Reviewed-by:Peter Kasting <pkasting@chromium.org> Reviewed-by:
Kevin Bailey <krb@chromium.org> Commit-Queue: Peter Kasting <pkasting@chromium.org> Auto-Submit: Peter Kasting <pkasting@chromium.org> Cr-Commit-Position: refs/heads/master@{#713553}
Showing
Please register or sign in to comment