Fix views omnibox unfocused double-click behavior.

Move the cursor to the double-click event location before selecting the surrounding word.
This fixes double-click behavior when the views omnibox is unfocused.
( unfocused mouse-up on the first click selects all, changing the cursor position )

BUG=131660,165873
TEST=double-clicking the unfocused omnibox selects the expected word.
R=sky@chromium.org

Review URL: https://chromiumcodereview.appspot.com/12408023

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187643 0039d316-1c4b-4281-b951-d872f2087c98
1 file changed