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

Issue 290473006: Add a TouchEventStreamValidator (Closed)

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

Description

Add a TouchEventStreamValidator Add touch stream validation similar to the existing gesture stream validation. Also add validation of the *output* stream from the InputRouter (in addition to the existing *input* stream validation). BUG=345372 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274740

Patch Set 1 #

Patch Set 2 : Cleanup #

Patch Set 3 : Cleanup #

Total comments: 4

Patch Set 4 : Cleanup #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+240 lines, -94 lines) Patch
M content/browser/renderer_host/input/input_router_impl.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/input/input_router_impl.cc View 1 2 3 4 3 chunks +5 lines, -1 line 0 comments Download
M content/browser/renderer_host/input/input_router_impl_unittest.cc View 1 2 3 4 2 chunks +26 lines, -51 lines 0 comments Download
M content/common/input/gesture_event_stream_validator.h View 1 2 2 chunks +7 lines, -5 lines 0 comments Download
M content/common/input/gesture_event_stream_validator.cc View 1 2 1 chunk +21 lines, -19 lines 0 comments Download
M content/common/input/input_event_stream_validator.h View 1 2 3 2 chunks +11 lines, -3 lines 0 comments Download
M content/common/input/input_event_stream_validator.cc View 1 2 3 4 1 chunk +25 lines, -14 lines 0 comments Download
A content/common/input/touch_event_stream_validator.h View 1 2 1 chunk +33 lines, -0 lines 0 comments Download
A content/common/input/touch_event_stream_validator.cc View 1 2 1 chunk +108 lines, -0 lines 0 comments Download
M content/content_common.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
jdduke (slow)
tdresser@: PTAL. I'm considering just merging the gesture/touch stream validators into the InputEventStreamValidator. The files ...
6 years, 7 months ago (2014-05-20 19:58:29 UTC) #1
tdresser
LGTM Does this actually pass on Android? Aura has a ways to catch up in ...
6 years, 7 months ago (2014-05-20 20:18:32 UTC) #2
jdduke (slow)
tdresser@, would you mind taking another look? I've decided to allow hard resetting of the ...
6 years, 6 months ago (2014-06-03 15:06:06 UTC) #3
tdresser
LGTM, that's looking pretty solid! https://codereview.chromium.org/290473006/diff/40001/content/common/input/input_event_stream_validator.h File content/common/input/input_event_stream_validator.h (right): https://codereview.chromium.org/290473006/diff/40001/content/common/input/input_event_stream_validator.h#newcode20 content/common/input/input_event_stream_validator.h:20: // valid. Currently only ...
6 years, 6 months ago (2014-06-03 15:21:07 UTC) #4
jdduke (slow)
https://codereview.chromium.org/290473006/diff/40001/content/common/input/input_event_stream_validator.h File content/common/input/input_event_stream_validator.h (right): https://codereview.chromium.org/290473006/diff/40001/content/common/input/input_event_stream_validator.h#newcode20 content/common/input/input_event_stream_validator.h:20: // valid. Currently only validates WebGestureEvents. On 2014/06/03 15:21:07, ...
6 years, 6 months ago (2014-06-03 19:10:28 UTC) #5
jdduke (slow)
The CQ bit was checked by jdduke@chromium.org
6 years, 6 months ago (2014-06-03 19:10:46 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/290473006/60001
6 years, 6 months ago (2014-06-03 19:11:41 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-03 22:45:01 UTC) #8
commit-bot: I haz the power
Failed to apply patch for content/common/input/input_event_stream_validator.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 6 months ago (2014-06-03 22:45:02 UTC) #9
jdduke (slow)
The CQ bit was checked by jdduke@chromium.org
6 years, 6 months ago (2014-06-03 23:09:57 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/290473006/80001
6 years, 6 months ago (2014-06-03 23:11:07 UTC) #11
commit-bot: I haz the power
6 years, 6 months ago (2014-06-04 09:16:18 UTC) #12
Message was sent while issue was closed.
Change committed as 274740

Powered by Google App Engine
This is Rietveld 408576698