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

Issue 2266883002: scheduler: Reset gesture state at start of a mouse drag (Closed)

Created:
4 years, 4 months ago by Sami
Modified:
4 years, 4 months ago
CC:
chromium-reviews, blink-reviews, scheduler-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

scheduler: Reset gesture state at start of a mouse drag This patch fixes a bug where the scheduler did not reset gesture tracking state when a new mouse drag gesture was started. This meant that an unrelated gesture (e.g., a wheel scroll) could be used to compute the policy for the mouse drag, potentially causing tasks necessary to the gesture (e.g., timers) to get deferred. We now consider a left button press as the start of a new gesture and also keep track of which thread is processing the mouse move events as we do with touch gestures. BUG=638212 Committed: https://crrev.com/1329d0ac5e235bd6a94ef3ac22947ea6acf67363 Cr-Commit-Position: refs/heads/master@{#413475}

Patch Set 1 #

Patch Set 2 : Rebased #

Total comments: 4

Patch Set 3 : Review comments #

Patch Set 4 : Typo fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -77 lines) Patch
M third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.h View 2 chunks +0 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc View 1 2 4 chunks +65 lines, -57 lines 0 comments Download
M third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl_unittest.cc View 1 2 3 3 chunks +73 lines, -9 lines 0 comments Download

Messages

Total messages: 22 (13 generated)
Sami
PTAL.
4 years, 4 months ago (2016-08-22 10:57:23 UTC) #5
alex clarke (OOO till 29th)
https://codereview.chromium.org/2266883002/diff/20001/third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc File third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc (right): https://codereview.chromium.org/2266883002/diff/20001/third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc#newcode471 third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc:471: if ((web_input_event.type == blink::WebInputEvent::MouseDown || Are we going to ...
4 years, 4 months ago (2016-08-22 11:30:10 UTC) #8
Sami
https://codereview.chromium.org/2266883002/diff/20001/third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc File third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc (right): https://codereview.chromium.org/2266883002/diff/20001/third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc#newcode471 third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc:471: if ((web_input_event.type == blink::WebInputEvent::MouseDown || On 2016/08/22 11:30:09, alex ...
4 years, 4 months ago (2016-08-22 13:25:15 UTC) #11
alex clarke (OOO till 29th)
lgtm
4 years, 4 months ago (2016-08-22 14:59:55 UTC) #12
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/2266883002/60001
4 years, 4 months ago (2016-08-22 15:29:14 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/127008)
4 years, 4 months ago (2016-08-22 17:16:34 UTC) #16
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/2266883002/60001
4 years, 4 months ago (2016-08-22 17:19:17 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-22 18:05:14 UTC) #20
commit-bot: I haz the power
4 years, 4 months ago (2016-08-22 18:08:42 UTC) #22
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/1329d0ac5e235bd6a94ef3ac22947ea6acf67363
Cr-Commit-Position: refs/heads/master@{#413475}

Powered by Google App Engine
This is Rietveld 408576698