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

Issue 537733003: [Android] Enable input event stream validation (Closed)

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

Description

[Android] Enable input event stream validation Enable the InputEventStreamValidator by default on Android. Also add some basic unit tests, and clean up several corner cases that previously went unnoticed. BUG=345372 Committed: https://crrev.com/437c0bc77887052385ff97a059d269b957ccf8bf Cr-Commit-Position: refs/heads/master@{#293437}

Patch Set 1 #

Patch Set 2 : Gesture tests #

Patch Set 3 : git cl format #

Total comments: 4

Patch Set 4 : Code review and fix tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+423 lines, -8 lines) Patch
M content/browser/android/content_startup_flags.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/common/input/gesture_event_stream_validator.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M content/common/input/gesture_event_stream_validator.cc View 1 2 3 3 chunks +8 lines, -6 lines 0 comments Download
A content/common/input/gesture_event_stream_validator_unittest.cc View 1 2 3 1 chunk +214 lines, -0 lines 0 comments Download
M content/common/input/touch_event_stream_validator.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/common/input/touch_event_stream_validator.cc View 4 chunks +21 lines, -0 lines 0 comments Download
A content/common/input/touch_event_stream_validator_unittest.cc View 1 2 1 chunk +173 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
jdduke (slow)
tdresser@: PTAL, thanks.
6 years, 3 months ago (2014-09-04 17:52:47 UTC) #3
tdresser
LGTM. https://codereview.chromium.org/537733003/diff/60001/content/common/input/gesture_event_stream_validator_unittest.cc File content/common/input/gesture_event_stream_validator_unittest.cc (right): https://codereview.chromium.org/537733003/diff/60001/content/common/input/gesture_event_stream_validator_unittest.cc#newcode143 content/common/input/gesture_event_stream_validator_unittest.cc:143: EXPECT_TRUE(validator.Validate(event, &error_msg)); This is one of very few ...
6 years, 3 months ago (2014-09-04 21:25:01 UTC) #4
jdduke (slow)
Hmm, so, turns out we don't actually require a ScrollBegin before a PinchBegin, at least, ...
6 years, 3 months ago (2014-09-04 22:48:56 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/537733003/80001
6 years, 3 months ago (2014-09-04 23:09:42 UTC) #7
commit-bot: I haz the power
Committed patchset #4 (id:80001) as 995ad8b0b414f70604af0cd9ec22394261a9c3d3
6 years, 3 months ago (2014-09-05 04:39:40 UTC) #8
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:36:45 UTC) #9
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/437c0bc77887052385ff97a059d269b957ccf8bf
Cr-Commit-Position: refs/heads/master@{#293437}

Powered by Google App Engine
This is Rietveld 408576698