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

Issue 2094323002: Ensure acks are sent for all blocking events. (Closed)

Created:
4 years, 5 months ago by dtapuska
Modified:
4 years, 5 months ago
CC:
chromium-reviews, darin-cc_chromium.org, dtapuska+chromiumwatch_chromium.org, jam, 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

Ensure acks are sent for all blocking events. It was possible for two touch moves that had acks to get coalesced together and the main thread would only process one and deliver the ack for it. This caused a situation where the hung renderer timer was getting fired because there was an outstanding ack in the count. And this timer forced the omnibox to not go away. A large portion of this change (plumbing the ack_state will go away when I land my multi-thread main_thread_event_queue design); but since this needs to be merged back to M52 this is safest. BUG=616991 Committed: https://crrev.com/b08721e61d24d65dce50e40731e08231deb95932 Cr-Commit-Position: refs/heads/master@{#402703}

Patch Set 1 #

Total comments: 16

Patch Set 2 : Fix nits #

Total comments: 4

Patch Set 3 : Fix comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+157 lines, -45 lines) Patch
M content/renderer/input/input_event_filter.h View 1 2 2 chunks +9 lines, -1 line 0 comments Download
M content/renderer/input/input_event_filter.cc View 2 chunks +13 lines, -4 lines 0 comments Download
M content/renderer/input/input_event_filter_unittest.cc View 4 chunks +16 lines, -8 lines 0 comments Download
M content/renderer/input/input_handler_manager.h View 2 chunks +4 lines, -2 lines 0 comments Download
M content/renderer/input/input_handler_manager.cc View 1 chunk +6 lines, -4 lines 0 comments Download
M content/renderer/input/input_handler_manager_client.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/input/main_thread_event_queue.h View 1 2 5 chunks +21 lines, -1 line 0 comments Download
M content/renderer/input/main_thread_event_queue.cc View 1 1 chunk +22 lines, -7 lines 0 comments Download
M content/renderer/input/main_thread_event_queue_unittest.cc View 5 chunks +47 lines, -4 lines 0 comments Download
M content/renderer/input/render_widget_input_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/input/render_widget_input_handler_delegate.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/mus/compositor_mus_connection_unittest.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M content/renderer/mus/render_widget_mus_connection.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/mus/render_widget_mus_connection.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/render_widget.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/render_widget.cc View 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (5 generated)
dtapuska
aelias@chromium.org: Please review changes in tdresser@chromium.org: Please review changes in
4 years, 5 months ago (2016-06-27 14:11:53 UTC) #2
aelias_OOO_until_Jul13
Is there something that can be reverted instead for M52, if this patch is mostly ...
4 years, 5 months ago (2016-06-27 21:45:34 UTC) #3
dtapuska
On 2016/06/27 21:45:34, aelias wrote: > Is there something that can be reverted instead for ...
4 years, 5 months ago (2016-06-27 23:15:54 UTC) #4
aelias_OOO_until_Jul13
OK seems fine then, no strong opinion, I'll let tdresser@ review it.
4 years, 5 months ago (2016-06-27 23:42:14 UTC) #5
tdresser
https://codereview.chromium.org/2094323002/diff/1/content/renderer/input/input_event_filter.h File content/renderer/input/input_event_filter.h (right): https://codereview.chromium.org/2094323002/diff/1/content/renderer/input/input_event_filter.h#newcode88 content/renderer/input/input_event_filter.h:88: uint32_t touch_event_id) override; Add a comment stating what the ...
4 years, 5 months ago (2016-06-28 14:04:49 UTC) #6
dtapuska
https://codereview.chromium.org/2094323002/diff/1/content/renderer/input/input_event_filter.h File content/renderer/input/input_event_filter.h (right): https://codereview.chromium.org/2094323002/diff/1/content/renderer/input/input_event_filter.h#newcode88 content/renderer/input/input_event_filter.h:88: uint32_t touch_event_id) override; On 2016/06/28 14:04:49, tdresser wrote: > ...
4 years, 5 months ago (2016-06-28 17:30:21 UTC) #7
tdresser
LGTM. https://codereview.chromium.org/2094323002/diff/20001/content/renderer/input/input_event_filter.h File content/renderer/input/input_event_filter.h (right): https://codereview.chromium.org/2094323002/diff/20001/content/renderer/input/input_event_filter.h#newcode87 content/renderer/input/input_event_filter.h:87: // represent 0; otherewise. See WebInputEventTraits::GetUniqueTouchEventId. and should ...
4 years, 5 months ago (2016-06-28 17:59:24 UTC) #8
dtapuska
creis@chromium.org: Please rubber stamp; Tim has reviewed the real relevant changes already. https://codereview.chromium.org/2094323002/diff/20001/content/renderer/input/input_event_filter.h File content/renderer/input/input_event_filter.h ...
4 years, 5 months ago (2016-06-28 19:51:08 UTC) #10
Charlie Reis
RS LGTM
4 years, 5 months ago (2016-06-28 21:23:28 UTC) #11
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/2094323002/40001
4 years, 5 months ago (2016-06-29 02:33:51 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-06-29 03:35:21 UTC) #15
commit-bot: I haz the power
4 years, 5 months ago (2016-06-29 03:37:17 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b08721e61d24d65dce50e40731e08231deb95932
Cr-Commit-Position: refs/heads/master@{#402703}

Powered by Google App Engine
This is Rietveld 408576698