[omnibox] Return documents after provider_max_matches_ with score 0.
Currently, the doc provider returns at most provider_max_matches_ docs, dropping any additional docs returned from the server. With this CL, the provider returns the remaining docs with a score of 0 so that they are displayed only if deduped with history, shortcut, or bookmark matches. This CL does not affect how many or which suggestions are displayed. It only helps format doc suggestions from other providers (e.g. 'Omnibox doc - 01/01/1991 - Google Docs'). Bug: 941548 Change-Id: I173b3f62d3af33f83a6531e086a0ecd0985db986 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1819629Reviewed-by:Tommy Li <tommycli@chromium.org> Commit-Queue: manuk hovanesian <manukh@chromium.org> Cr-Commit-Position: refs/heads/master@{#699027}
Showing
Please register or sign in to comment