[WebView] Hide PopupWindow-based selection handles on scroll
commit4a73ea3d91b615fefd45b730409b5f4bcc83720f
authorjdduke <jdduke@chromium.org>
Fri, 17 Oct 2014 16:26:26 +0000 (17 09:26 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 17 Oct 2014 16:26:38 +0000 (17 16:26 +0000)
tree9efc4e5d6f8e248eab75be3a34fb37493fc93113
parentc7d6272c3a0448ecc04f263c05c8e0bc51d5ed31
[WebView] Hide PopupWindow-based selection handles on scroll

Restore the previous behavior of hiding the PopupWindow-based text
selection handles on scroll. Note that such hiding applies when the
content is scrolling as well as when the containing View is moving.

Also avoid sync barrier issues by deferring invalidations relating to
visibility and position updates of the PopupWindow.

BUG=423120

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

Cr-Commit-Position: refs/heads/master@{#300114}
content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
content/public/android/java/src/org/chromium/content/browser/input/PopupTouchHandleDrawable.java