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

Issue 2240473002: Give MainThreadEventQueue a mutable WebInputEvent. (Closed)

Created:
4 years, 4 months ago by tdresser
Modified:
4 years, 4 months ago
Reviewers:
dtapuska
CC:
chromium-reviews, jam, darin-cc_chromium.org, dtapuska+chromiumwatch_chromium.org, mlamouri+watch-content_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Give MainThreadEventQueue a mutable WebInputEvent. This paves the way for letting the InputEventFilter modify the WebInputEvent's dispatchType, which is required for the main thread responsiveness intervention (see the bug for details). BUG=599609 TEST=Existing InputEventFilter/MainThreadEventQueue tests. Committed: https://crrev.com/30d284dae5691a8d693409877b25afaba4629461 Cr-Commit-Position: refs/heads/master@{#411681}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Fix tests #

Patch Set 3 : Add reset #

Total comments: 3

Patch Set 4 : Fixed consts #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -62 lines) Patch
M content/common/input/event_with_latency_info.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/common/input/event_with_latency_info.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M content/renderer/input/input_event_filter.cc View 1 2 2 chunks +14 lines, -8 lines 0 comments Download
M content/renderer/input/main_thread_event_queue.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/input/main_thread_event_queue.cc View 3 chunks +13 lines, -13 lines 0 comments Download
M content/renderer/input/main_thread_event_queue_unittest.cc View 1 5 chunks +24 lines, -36 lines 0 comments Download

Messages

Total messages: 17 (6 generated)
tdresser
4 years, 4 months ago (2016-08-11 14:55:48 UTC) #2
tdresser
Ready for review.
4 years, 4 months ago (2016-08-11 15:27:54 UTC) #3
dtapuska
https://codereview.chromium.org/2240473002/diff/1/content/renderer/input/input_event_filter.cc File content/renderer/input/input_event_filter.cc (left): https://codereview.chromium.org/2240473002/diff/1/content/renderer/input/input_event_filter.cc#oldcode209 content/renderer/input/input_event_filter.cc:209: } I'd like to see a event->reset() here because ...
4 years, 4 months ago (2016-08-11 15:38:44 UTC) #6
tdresser
https://codereview.chromium.org/2240473002/diff/1/content/renderer/input/input_event_filter.cc File content/renderer/input/input_event_filter.cc (left): https://codereview.chromium.org/2240473002/diff/1/content/renderer/input/input_event_filter.cc#oldcode209 content/renderer/input/input_event_filter.cc:209: } On 2016/08/11 15:38:43, dtapuska wrote: > I'd like ...
4 years, 4 months ago (2016-08-11 18:55:48 UTC) #7
tdresser
https://codereview.chromium.org/2240473002/diff/1/content/renderer/input/input_event_filter.cc File content/renderer/input/input_event_filter.cc (left): https://codereview.chromium.org/2240473002/diff/1/content/renderer/input/input_event_filter.cc#oldcode209 content/renderer/input/input_event_filter.cc:209: } On 2016/08/11 18:55:48, tdresser wrote: > On 2016/08/11 ...
4 years, 4 months ago (2016-08-12 12:33:26 UTC) #8
dtapuska
lgtm % the signatures. https://codereview.chromium.org/2240473002/diff/40001/content/common/input/event_with_latency_info.h File content/common/input/event_with_latency_info.h (right): https://codereview.chromium.org/2240473002/diff/40001/content/common/input/event_with_latency_info.h#newcode40 content/common/input/event_with_latency_info.h:40: ScopedWebInputEventWithLatencyInfo(const ScopedWebInputEvent, Why does this ...
4 years, 4 months ago (2016-08-12 13:29:29 UTC) #9
tdresser
https://codereview.chromium.org/2240473002/diff/40001/content/common/input/event_with_latency_info.h File content/common/input/event_with_latency_info.h (right): https://codereview.chromium.org/2240473002/diff/40001/content/common/input/event_with_latency_info.h#newcode40 content/common/input/event_with_latency_info.h:40: ScopedWebInputEventWithLatencyInfo(const ScopedWebInputEvent, On 2016/08/12 13:29:29, dtapuska wrote: > Why ...
4 years, 4 months ago (2016-08-12 16:31:54 UTC) #10
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/2240473002/60001
4 years, 4 months ago (2016-08-12 16:32:41 UTC) #13
dtapuska
On 2016/08/12 16:31:54, tdresser wrote: > https://codereview.chromium.org/2240473002/diff/40001/content/common/input/event_with_latency_info.h > File content/common/input/event_with_latency_info.h (right): > > https://codereview.chromium.org/2240473002/diff/40001/content/common/input/event_with_latency_info.h#newcode40 > ...
4 years, 4 months ago (2016-08-12 16:32:59 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-12 17:10:59 UTC) #15
commit-bot: I haz the power
4 years, 4 months ago (2016-08-12 17:14:24 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/30d284dae5691a8d693409877b25afaba4629461
Cr-Commit-Position: refs/heads/master@{#411681}

Powered by Google App Engine
This is Rietveld 408576698