Omnibox: Move AutocompleteMatch vector icon creation out of components/omnibox/.
Omnibox autocomplete results show an icon next to the result listing. Often this is the favicon of the website or extension that was found, but sometimes this can also include default search engine searches, bookmarked results, or pages without a favicon. These latter autocomplete matches show VectorIcons instead of favicons, however, their size is hard-coded in OmniboxPopupView. Move the vector icon creation outside of components/omnibox/ so clients can control the vector icon size. Bug: 801583 Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs Change-Id: If80bbb64bc4021f0bdc8bc33744b3e0a157acc7b Reviewed-on: https://chromium-review.googlesource.com/928054 Commit-Queue: Patti <patricialor@chromium.org> Reviewed-by:Justin Donnelly <jdonnelly@chromium.org> Reviewed-by:
Robert Sesek <rsesek@chromium.org> Reviewed-by:
Trent Apted <tapted@chromium.org> Cr-Commit-Position: refs/heads/master@{#547617}
Showing
Please register or sign in to comment