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

Issue 10697100: Don't block the browser on FlingCancel acks. (Closed)

Created:
8 years, 5 months ago by Iain Merrick
Modified:
8 years, 5 months ago
Reviewers:
rjkroege
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, rjkroege
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Don't block the browser on FlingCancel acks. RenderWidgetHostImpl was queueing up further gesture events until receiving a FlingCancelAck. However, FlingCancel events often propagate right down to the WebKit thread (the compositor can't handle the event unless it's in the middle of a fling), so the browser ended up blocking on WebKit. This patch makes FlingCancel non-blocking. There should be no visible change in behaviour except lower latency for flings. BUG=136167 TEST=Browser tests, manual testing on Android

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -15 lines) Patch
M content/browser/renderer_host/render_widget_host_impl.cc View 3 chunks +21 lines, -15 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Iain Merrick
I'm not sure this is the best approach, but it seems to work fairly well ...
8 years, 5 months ago (2012-07-06 14:50:58 UTC) #1
rjkroege
I am not sure that this is the right way to do this. GFCs are ...
8 years, 5 months ago (2012-07-09 15:16:48 UTC) #2
Iain Merrick
Sorry for the delay in replying, I just got back from holiday. How can we ...
8 years, 5 months ago (2012-07-16 14:29:20 UTC) #3
Iain Merrick
8 years, 5 months ago (2012-07-24 14:51:16 UTC) #4
rjkoege and I discussed this offline. We need a general solution for both
ChromeOS and Android. A design doc is in the works.

Powered by Google App Engine
This is Rietveld 408576698