Remove input field selection regression in Gallery

Change https://chromium-review.googlesource.com/c/chromium/src/+/1217747/
introduced a side-effect that causes the entire input field to be
selected on a focus event. In the gallery app this caused the Width
input field to be fully selected when doing an image resize. This
change explicitly sets the selection to the end of the field as it
used to work before the regression.

Bug: 914741
Tests: Ran all browser and unit tests, manually checked as well.
Change-Id: I579660ebdbad43bd8ab739c76ada7289f3e6d943
Reviewed-on: https://chromium-review.googlesource.com/c/1453696
Reviewed-by: Joel Hockey <joelhockey@chromium.org>
Commit-Queue: Alex Danilo <adanilo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#629349}
1 file changed