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

Issue 2410223003: Hide the PopupTouchHandlerDrawable if it is occluded. (Closed)

Created:
4 years, 2 months ago by hush (inactive)
Modified:
4 years, 2 months ago
Reviewers:
boliu
CC:
chromium-reviews, android-webview-reviews_chromium.org, agrieve+watch_chromium.org, yukawa, aelias_OOO_until_Jul13
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Hide the PopupTouchHandlerDrawable if it is occluded. This CL follows Android Editor's logic to determine if the touch handler is visible by going up the view hierarchy. If the touch handler is fully occluded by any of its parent views, then it is considered not visible. In this way, the touch handlers won't appear overlapped with the IME window, if the app adjusts the window size based on IME window. BUG=639169 Committed: https://crrev.com/4a64446000115cca6deba65288de86741a40062e Cr-Commit-Position: refs/heads/master@{#424896}

Patch Set 1 : Hide the PopupTouchHandlerDrawable if it is occluded. #

Total comments: 9

Patch Set 2 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -2 lines) Patch
M android_webview/java/src/org/chromium/android_webview/PopupTouchHandleDrawable.java View 1 3 chunks +50 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (8 generated)
hush (inactive)
PTAL
4 years, 2 months ago (2016-10-12 00:44:45 UTC) #4
boliu
https://codereview.chromium.org/2410223003/diff/40001/android_webview/java/src/org/chromium/android_webview/PopupTouchHandleDrawable.java File android_webview/java/src/org/chromium/android_webview/PopupTouchHandleDrawable.java (right): https://codereview.chromium.org/2410223003/diff/40001/android_webview/java/src/org/chromium/android_webview/PopupTouchHandleDrawable.java#newcode276 android_webview/java/src/org/chromium/android_webview/PopupTouchHandleDrawable.java:276: private boolean isShowingAllowed() { we only check this on ...
4 years, 2 months ago (2016-10-12 04:20:50 UTC) #6
hush (inactive)
https://codereview.chromium.org/2410223003/diff/40001/android_webview/java/src/org/chromium/android_webview/PopupTouchHandleDrawable.java File android_webview/java/src/org/chromium/android_webview/PopupTouchHandleDrawable.java (right): https://codereview.chromium.org/2410223003/diff/40001/android_webview/java/src/org/chromium/android_webview/PopupTouchHandleDrawable.java#newcode276 android_webview/java/src/org/chromium/android_webview/PopupTouchHandleDrawable.java:276: private boolean isShowingAllowed() { On 2016/10/12 04:20:50, boliu wrote: ...
4 years, 2 months ago (2016-10-12 21:34:22 UTC) #8
boliu
lgtm https://codereview.chromium.org/2410223003/diff/40001/android_webview/java/src/org/chromium/android_webview/PopupTouchHandleDrawable.java File android_webview/java/src/org/chromium/android_webview/PopupTouchHandleDrawable.java (right): https://codereview.chromium.org/2410223003/diff/40001/android_webview/java/src/org/chromium/android_webview/PopupTouchHandleDrawable.java#newcode276 android_webview/java/src/org/chromium/android_webview/PopupTouchHandleDrawable.java:276: private boolean isShowingAllowed() { On 2016/10/12 21:34:21, hush ...
4 years, 2 months ago (2016-10-12 21:58:45 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2410223003/80001
4 years, 2 months ago (2016-10-12 22:35:04 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:80001)
4 years, 2 months ago (2016-10-12 22:59:11 UTC) #13
commit-bot: I haz the power
4 years, 2 months ago (2016-10-12 23:02:34 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/4a64446000115cca6deba65288de86741a40062e
Cr-Commit-Position: refs/heads/master@{#424896}

Powered by Google App Engine
This is Rietveld 408576698