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

Issue 1267693004: Disable tap suppression logic for WebView (Closed)

Created:
5 years, 4 months ago by jdduke (slow)
Modified:
5 years, 4 months ago
Reviewers:
tdresser, boliu
CC:
chromium-reviews, jam, tdresser+watch_chromium.org, jdduke+watch_chromium.org, darin-cc_chromium.org, hush (inactive)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Disable tap suppression logic for WebView WebView embedders can suppress fling animation updates, potentially confusing the tap suppression controller. As the feature isn't critical, simply disable it for WebView. Also refactor the input router settings helper to use ui::GestureConfiguration directly for configuring tap suppression. This makes it simpler for different platforms to customize behavior. BUG=514783 Committed: https://crrev.com/36fee7bc622102a5a616a48262d54bdbe1d30903 Cr-Commit-Position: refs/heads/master@{#342019}

Patch Set 1 #

Patch Set 2 : Compile fixes #

Patch Set 3 : Disable for webview #

Total comments: 7

Patch Set 4 : Code review #

Patch Set 5 : Fix component build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -64 lines) Patch
M android_webview/android_webview.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/lib/DEPS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/lib/main/aw_main_delegate.cc View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M content/browser/renderer_host/input/input_router_config_helper.cc View 1 2 3 3 chunks +30 lines, -64 lines 0 comments Download
M ui/events/gesture_detection/gesture_configuration.h View 2 chunks +17 lines, -0 lines 0 comments Download
M ui/events/gesture_detection/gesture_configuration.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ui/events/gesture_detection/gesture_configuration_android.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M ui/events/gesture_detection/gesture_configuration_aura.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (9 generated)
jdduke (slow)
tdresser@: PTAL. See https://codereview.chromium.org/1264963003/ for more context. hush@: Will this work for your needs? As ...
5 years, 4 months ago (2015-07-31 16:45:09 UTC) #2
hush (inactive)
On 2015/07/31 16:45:09, jdduke wrote: > tdresser@: PTAL. See https://codereview.chromium.org/1264963003/ for more > context. > ...
5 years, 4 months ago (2015-07-31 20:41:54 UTC) #3
hush (inactive)
On 2015/07/31 20:41:54, hush wrote: > On 2015/07/31 16:45:09, jdduke wrote: > > tdresser@: PTAL. ...
5 years, 4 months ago (2015-07-31 21:00:40 UTC) #4
jdduke (slow)
On 2015/07/31 21:00:40, hush wrote: > On 2015/07/31 20:41:54, hush wrote: > > On 2015/07/31 ...
5 years, 4 months ago (2015-07-31 21:10:06 UTC) #5
jdduke (slow)
+boliu for android_webview/
5 years, 4 months ago (2015-07-31 23:23:40 UTC) #7
boliu
On 2015/07/31 23:23:40, jdduke wrote: > +boliu for android_webview/ rs lgtm
5 years, 4 months ago (2015-07-31 23:27:09 UTC) #8
tdresser
LGTM with nits. https://codereview.chromium.org/1267693004/diff/40001/ui/events/gesture_detection/gesture_configuration.h File ui/events/gesture_detection/gesture_configuration.h (right): https://codereview.chromium.org/1267693004/diff/40001/ui/events/gesture_detection/gesture_configuration.h#newcode214 ui/events/gesture_detection/gesture_configuration.h:214: bool fling_touchscreen_tap_suppression_enabled_; I have a mild ...
5 years, 4 months ago (2015-08-04 12:20:50 UTC) #9
jdduke (slow)
https://codereview.chromium.org/1267693004/diff/40001/ui/events/gesture_detection/gesture_configuration.h File ui/events/gesture_detection/gesture_configuration.h (right): https://codereview.chromium.org/1267693004/diff/40001/ui/events/gesture_detection/gesture_configuration.h#newcode214 ui/events/gesture_detection/gesture_configuration.h:214: bool fling_touchscreen_tap_suppression_enabled_; On 2015/08/04 12:20:50, tdresser wrote: > I ...
5 years, 4 months ago (2015-08-04 17:19:25 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1267693004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1267693004/60001
5 years, 4 months ago (2015-08-04 20:09:20 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/88433)
5 years, 4 months ago (2015-08-04 20:55:16 UTC) #15
tdresser
https://codereview.chromium.org/1267693004/diff/40001/ui/events/gesture_detection/gesture_configuration.h File ui/events/gesture_detection/gesture_configuration.h (right): https://codereview.chromium.org/1267693004/diff/40001/ui/events/gesture_detection/gesture_configuration.h#newcode214 ui/events/gesture_detection/gesture_configuration.h:214: bool fling_touchscreen_tap_suppression_enabled_; On 2015/08/04 17:19:25, jdduke wrote: > On ...
5 years, 4 months ago (2015-08-04 21:00:15 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1267693004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1267693004/80001
5 years, 4 months ago (2015-08-05 19:18:45 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/86897)
5 years, 4 months ago (2015-08-05 22:01:59 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1267693004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1267693004/80001
5 years, 4 months ago (2015-08-05 23:12:48 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 4 months ago (2015-08-06 00:16:58 UTC) #24
commit-bot: I haz the power
5 years, 4 months ago (2015-08-06 00:17:44 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/36fee7bc622102a5a616a48262d54bdbe1d30903
Cr-Commit-Position: refs/heads/master@{#342019}

Powered by Google App Engine
This is Rietveld 408576698