Don't process suggestions if the first isn't what-you-typed

This patch consolidates the various checks into a single variable that
determines whether all subsequent suggestions should be ignored. The
new check that has been added will ignore all suggestions if the first
suggestion isn't what-you-typed. This fixes instances where
suggestions aren't shown immediately on omnibox focus, like on the
SRP.

Bug: 927839
Change-Id: Iab5677c1eb278f7d237e8eaa74af9b70453faa72
Reviewed-on: https://chromium-review.googlesource.com/c/1454810
Reviewed-by: Theresa <twellington@chromium.org>
Commit-Queue: Matthew Jones <mdjones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#629657}
1 file changed