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

Issue 712133003: Track whether a scroll sequence has been partially prevented (Closed)

Created:
6 years, 1 month ago by jdduke (slow)
Modified:
6 years, 1 month ago
Reviewers:
sadrul, tdresser, Rick Byers
CC:
chromium-reviews, darin-cc_chromium.org, jdduke+watch_chromium.org, jam, tdresser+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Track whether a scroll sequence has been partially prevented Listeners and consumers of a gesture event stream may wish to know if part of the gesture stream has been prevented, i.e., whether the page has consumed any of the underlying touchmove events. Route this bit for scroll update events from the TouchDispositionGestureFilter through to the generated WebGestureEvent types. This change depends on the Blink patch: https://codereview.chromium.org/690173002/ BUG=428429 Committed: https://crrev.com/019a29ecaa7e23348b65e1c86807554ded255028 Cr-Commit-Position: refs/heads/master@{#304665}

Patch Set 1 #

Patch Set 2 : Filter swipe explicitly #

Total comments: 5

Patch Set 3 : No mutable #

Patch Set 4 : Rebase #

Patch Set 5 : Fix failures #

Patch Set 6 : Fix conversion #

Patch Set 7 : Fix the build #

Patch Set 8 : More fixes #

Patch Set 9 : Final cleanup #

Patch Set 10 : Rebase #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+281 lines, -211 lines) Patch
M content/browser/android/overscroll_controller_android.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -3 lines 0 comments Download
M content/browser/renderer_host/input/web_input_event_util.h View 2 chunks +12 lines, -6 lines 0 comments Download
M content/browser/renderer_host/input/web_input_event_util.cc View 1 2 3 4 5 6 7 4 chunks +62 lines, -40 lines 0 comments Download
M content/browser/renderer_host/input/web_input_event_util_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +45 lines, -0 lines 0 comments Download
M content/browser/renderer_host/ui_events_helper.h View 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/renderer_host/ui_events_helper.cc View 3 chunks +6 lines, -120 lines 0 comments Download
M content/common/input/gesture_event_stream_validator.cc View 1 2 3 4 5 6 7 8 9 2 chunks +6 lines, -0 lines 0 comments Download
M content/common/input/web_input_event_traits.cc View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M ui/events/gesture_detection/gesture_event_data.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ui/events/gesture_detection/touch_disposition_gesture_filter.h View 1 chunk +6 lines, -2 lines 0 comments Download
M ui/events/gesture_detection/touch_disposition_gesture_filter.cc View 1 2 2 chunks +16 lines, -0 lines 0 comments Download
M ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc View 3 chunks +49 lines, -8 lines 0 comments Download
M ui/events/gesture_event_details.h View 1 2 3 4 5 6 5 chunks +34 lines, -17 lines 0 comments Download
M ui/events/gesture_event_details.cc View 1 2 3 4 5 2 chunks +39 lines, -12 lines 2 comments Download

Messages

Total messages: 23 (4 generated)
jdduke (slow)
tdresser@: PTAL, thanks.
6 years, 1 month ago (2014-11-10 21:27:11 UTC) #2
tdresser
LGTM, but I'd like to hear your thoughts on whether that |mutable| is actually the ...
6 years, 1 month ago (2014-11-10 21:51:01 UTC) #3
Rick Byers
https://codereview.chromium.org/712133003/diff/20001/ui/events/gesture_event_details.h File ui/events/gesture_event_details.h (right): https://codereview.chromium.org/712133003/diff/20001/ui/events/gesture_event_details.h#newcode160 ui/events/gesture_event_details.h:160: mutable bool previous_update_in_sequence_prevented; On 2014/11/10 21:51:01, tdresser wrote: > ...
6 years, 1 month ago (2014-11-10 22:03:09 UTC) #5
jdduke (slow)
https://codereview.chromium.org/712133003/diff/20001/ui/events/gesture_event_details.h File ui/events/gesture_event_details.h (right): https://codereview.chromium.org/712133003/diff/20001/ui/events/gesture_event_details.h#newcode160 ui/events/gesture_event_details.h:160: mutable bool previous_update_in_sequence_prevented; On 2014/11/10 22:03:08, Rick Byers wrote: ...
6 years, 1 month ago (2014-11-10 22:23:43 UTC) #6
jdduke (slow)
https://codereview.chromium.org/712133003/diff/20001/ui/events/gesture_event_details.h File ui/events/gesture_event_details.h (right): https://codereview.chromium.org/712133003/diff/20001/ui/events/gesture_event_details.h#newcode160 ui/events/gesture_event_details.h:160: mutable bool previous_update_in_sequence_prevented; Anyhow, if you guys prefer we ...
6 years, 1 month ago (2014-11-10 22:31:32 UTC) #7
jdduke (slow)
OK, went ahead and removed mutable, it appears to be anathema to most developers these ...
6 years, 1 month ago (2014-11-10 22:41:31 UTC) #8
jdduke (slow)
+sadrul@ for content/browser/renderer_host and ui/events/ owner review.
6 years, 1 month ago (2014-11-10 23:45:31 UTC) #10
sadrul
The test failures look related. Mind taking a look at those?
6 years, 1 month ago (2014-11-11 15:04:01 UTC) #11
jdduke (slow)
On 2014/11/11 15:04:01, sadrul wrote: > The test failures look related. Mind taking a look ...
6 years, 1 month ago (2014-11-11 16:22:40 UTC) #12
Rick Byers
On 2014/11/10 22:41:31, jdduke wrote: > OK, went ahead and removed mutable, it appears to ...
6 years, 1 month ago (2014-11-11 17:05:09 UTC) #13
Rick Byers
On 2014/11/11 17:05:09, Rick Byers wrote: > On 2014/11/10 22:41:31, jdduke wrote: > > OK, ...
6 years, 1 month ago (2014-11-11 19:05:15 UTC) #14
jdduke (slow)
On 2014/11/11 19:05:15, Rick Byers wrote: > Just realized I missed your comments in #msg6. ...
6 years, 1 month ago (2014-11-11 19:34:23 UTC) #15
jdduke (slow)
OK, I think the tests are happy. sadrul@ would you mind taking another look?
6 years, 1 month ago (2014-11-12 19:21:19 UTC) #16
jdduke (slow)
On 2014/11/12 19:21:19, jdduke wrote: > OK, I think the tests are happy. sadrul@ would ...
6 years, 1 month ago (2014-11-18 16:14:05 UTC) #17
sadrul
A question, LGTM otherwise. https://codereview.chromium.org/712133003/diff/180001/ui/events/gesture_event_details.cc File ui/events/gesture_event_details.cc (right): https://codereview.chromium.org/712133003/diff/180001/ui/events/gesture_event_details.cc#newcode81 ui/events/gesture_event_details.cc:81: break; NOTREACHED()? Or no because ...
6 years, 1 month ago (2014-11-18 17:53:45 UTC) #18
jdduke (slow)
https://codereview.chromium.org/712133003/diff/180001/ui/events/gesture_event_details.cc File ui/events/gesture_event_details.cc (right): https://codereview.chromium.org/712133003/diff/180001/ui/events/gesture_event_details.cc#newcode81 ui/events/gesture_event_details.cc:81: break; On 2014/11/18 17:53:45, sadrul wrote: > NOTREACHED()? Or ...
6 years, 1 month ago (2014-11-18 19:50:46 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/712133003/180001
6 years, 1 month ago (2014-11-18 19:52:09 UTC) #21
commit-bot: I haz the power
Committed patchset #10 (id:180001)
6 years, 1 month ago (2014-11-18 20:44:43 UTC) #22
commit-bot: I haz the power
6 years, 1 month ago (2014-11-18 20:46:25 UTC) #23
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/019a29ecaa7e23348b65e1c86807554ded255028
Cr-Commit-Position: refs/heads/master@{#304665}

Powered by Google App Engine
This is Rietveld 408576698