gesture: Fix the location of GESTURE_END.

The location of GESTURE_END should be the location of the touch-release
event, not the location of the touch-press event.

BUG=none
R=tdresser@chromium.org

Review URL: https://codereview.chromium.org/131743017

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245931 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 245931
Limit display of the virtual keyboard to state changes triggered from a user gesture.

This patch reuses OnTextInputStateChanged, which was previously Android specific, but which includes not only type information, but whether the virtual keyboard should be displayed. This is the first step in consolidating the IPC messages between RenderWidget and RenderWidgetHostView for IME messages.  Ideally, we can phase out OnTextInputTypeChanged in favor of the approach used by Android across all platforms.



BUG=289659, 294191, 331690

Review URL: https://codereview.chromium.org/29943002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245932 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 245932