[iOS] Focus the WKWebView on page load

When BVC is checking if it should register the keyboard commands, if it
doesn't find any first responder it is setting the WebView as first
responder. This allows the WebView to respond to the keyboard commands,
for example when using space to scroll the page.
This CL moves this check to the page load because we only need it once
to make sure the WebView gets it.

TEST=The support of the external keyboard could be affected, for the
WebView shortcuts and for the Chrome shortcuts too.

Bug: 949118
Change-Id: Ib4ddacbbf665c5d069638bdd20963c48c042ab38
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1564072
Commit-Queue: Gauthier Ambard <gambard@chromium.org>
Reviewed-by: Mike Dougherty <michaeldo@chromium.org>
Reviewed-by: Eugene But <eugenebut@chromium.org>
Cr-Commit-Position: refs/heads/master@{#651185}
1 file changed