Cherry Pick (spatnav) Space&enter should be entered to box instead of simulating click on it.

Cherry pick of http://crrev.com/20560005, minus LayoutTests/*.

Bug: 10731834

Original description:

(spatnav) Space&enter should be entered to box instead of simulating click on it.

This fixes the regression after https://codereview.chromium.org/16959002/
which makes it impossible to enter spaces into edit boxes
in spatial navigation mode.

Bug is reproducible only with spatial navigation enabled.
So is this fix.

BUG=

Change-Id: Ia197ca01da8811b9bafc631e272762ddafc0aa59
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155993
2 files changed