Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(182)

Issue 657593003: [WebView] Hide PopupWindow-based selection handles on scroll (Closed)

Created:
6 years, 2 months ago by jdduke (slow)
Modified:
6 years, 2 months ago
Reviewers:
benm (inactive)
CC:
chromium-reviews, darin-cc_chromium.org, jam, mkosiba (inactive)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[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 Committed: https://crrev.com/4a73ea3d91b615fefd45b730409b5f4bcc83720f Cr-Commit-Position: refs/heads/master@{#300114}

Patch Set 1 #

Patch Set 2 : Tweaks #

Total comments: 2

Patch Set 3 : Fade in animation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -23 lines) Patch
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/input/PopupTouchHandleDrawable.java View 1 2 10 chunks +123 lines, -23 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
jdduke (slow)
benm@: PTAL, thanks. This isn't really an ideal solution, but it's more or less what ...
6 years, 2 months ago (2014-10-14 18:22:08 UTC) #2
jdduke (slow)
6 years, 2 months ago (2014-10-15 17:51:56 UTC) #3
benm (inactive)
Thanks Jared, this seems to fix the issue, mod showing/hiding rather than fade in/out. https://codereview.chromium.org/657593003/diff/20001/content/public/android/java/src/org/chromium/content/browser/input/PopupTouchHandleDrawable.java ...
6 years, 2 months ago (2014-10-16 19:56:32 UTC) #4
jdduke (slow)
https://codereview.chromium.org/657593003/diff/20001/content/public/android/java/src/org/chromium/content/browser/input/PopupTouchHandleDrawable.java File content/public/android/java/src/org/chromium/content/browser/input/PopupTouchHandleDrawable.java (right): https://codereview.chromium.org/657593003/diff/20001/content/public/android/java/src/org/chromium/content/browser/input/PopupTouchHandleDrawable.java#newcode110 content/public/android/java/src/org/chromium/content/browser/input/PopupTouchHandleDrawable.java:110: mContainer.setAnimationStyle(0); On 2014/10/16 19:56:31, benm wrote: > should this ...
6 years, 2 months ago (2014-10-16 20:00:39 UTC) #5
benm (inactive)
On 2014/10/16 20:00:39, jdduke wrote: > https://codereview.chromium.org/657593003/diff/20001/content/public/android/java/src/org/chromium/content/browser/input/PopupTouchHandleDrawable.java > File > content/public/android/java/src/org/chromium/content/browser/input/PopupTouchHandleDrawable.java > (right): > > ...
6 years, 2 months ago (2014-10-16 20:10:12 UTC) #6
jdduke (slow)
On 2014/10/16 20:10:12, benm wrote: > Thanks - just compared with the old implementation and ...
6 years, 2 months ago (2014-10-16 20:21:00 UTC) #7
jdduke (slow)
OK, fade in animation restored. If you're happy with this, feel free to land (I'll ...
6 years, 2 months ago (2014-10-16 22:23:47 UTC) #8
benm (inactive)
lgtm
6 years, 2 months ago (2014-10-17 15:52:35 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/657593003/40001
6 years, 2 months ago (2014-10-17 15:52:53 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years, 2 months ago (2014-10-17 16:26:35 UTC) #12
commit-bot: I haz the power
6 years, 2 months ago (2014-10-17 16:27:15 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/4a73ea3d91b615fefd45b730409b5f4bcc83720f
Cr-Commit-Position: refs/heads/master@{#300114}

Powered by Google App Engine
This is Rietveld 408576698