Change OmniboxViewViewsBrowserTest to blur the omnibox using ui_test_utils::ClickOnView().

The old method, TapOnBrowserWindowCenter(), made the tests' behavior
dependent on the input code for web content, which caused some
confusing failures when that codepath changed to send touch acks
asynchronously. Full background:

Bug: 914500
Change-Id: Id0a926668ce014f7a3e82fd31bd6839e56b5b1cf
Commit-Queue: Annie Sullivan <>
Reviewed-by: Justin Donnelly <>
Reviewed-by: Navid Zolghadr <>
Cr-Commit-Position: refs/heads/master@{#654042}
1 file changed