[omnibox] Move more logic to OmniboxSuggestionRowButton
Moved logic out of the OmniboxSuggestionButtonRowView to the button class. Button row class had some duplicated code to handle each button (creating focus ring, updating icon on theme change). It makes more sense to encapsulate logic related to button visual representation in the button class. Bug: 1104264 Change-Id: Ie55b9488a7300cfd36bb7a52ef89f8f659b01613 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2326170 Commit-Queue: Olesia Marukhno <olesiamarukhno@google.com> Reviewed-by:Bret Sepulveda <bsep@chromium.org> Reviewed-by:
Tommy Li <tommycli@chromium.org> Cr-Commit-Position: refs/heads/master@{#794985}
Showing
Please register or sign in to comment