Fixed the inconsistent behavior when long pressing on editable area in Chrome.
commit07c70d207c4ed217286cdf84236551fce1d7923f
authorajith.v@samsung.com <ajith.v@samsung.com@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 21 Aug 2014 08:33:46 +0000 (21 08:33 +0000)
committerajith.v@samsung.com <ajith.v@samsung.com@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 21 Aug 2014 08:35:07 +0000 (21 08:35 +0000)
treef1941b64e3343bd4375204902d6304177c7281f4
parent6dd17f1f92dc1baafa8db1a554c68d6e9baf76cc
Fixed the inconsistent behavior when long pressing on editable area in Chrome.

When we long press on an input field with empty text, we should show paste
popup, we shouldn't show the IME.
This change takes care of preventing IME appearance when we do long press on
empty edit field to make it uniform among all Android apps.

BUG=230192

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

Cr-Commit-Position: refs/heads/master@{#291021}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291021 0039d316-1c4b-4281-b951-d872f2087c98
content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java
content/renderer/render_widget.cc