[Android] Force showing insertion handle when paste popup activated
commita304a0cf8f0e9f8bb8efc5521b06b750d38af3ef
authorjdduke@chromium.org <jdduke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 6 Aug 2014 20:34:57 +0000 (6 20:34 +0000)
committerjdduke@chromium.org <jdduke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 6 Aug 2014 20:34:57 +0000 (6 20:34 +0000)
tree141551ed2a1b2a49fc86ebda02b3422cb72c534e
parent734cd0bbe22d8ab80dd44c48ed02e6dde96fb690
[Android] Force showing insertion handle when paste popup activated

An unhandled context menu may result in the showing of the paste popup. However,
this paste popup notification is not well-ordered with respect to other
notifications that determine insertion handle state, namely, position and
region editability updates. Consequently, the paste popup may be shown without
a corresponding insertion handle. Resolve this by forcing an editability and
position update when the paste popup notification is received.

BUG=400304,400330,396997

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287845 0039d316-1c4b-4281-b951-d872f2087c98
content/browser/android/content_view_core_impl.cc
content/browser/renderer_host/render_widget_host_view_android.cc
content/browser/renderer_host/render_widget_host_view_android.h
content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java