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

Issue 2256733003: Touchpad scroll latching enabled for Mac behind flag. (Closed)

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

Description

Touchpad scroll latching enabled for Mac behind flag. To test it, use the --enable-features=TouchpadScrollLatching runtime flag. BUG=526463 TEST=MouseWheelEventQueueTests/MouseWheelEventQueueTest.GestureSendingWithPhaseInformation/[0/1] CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/7adc4a771383af81e2411e755bdce689c803b939 Cr-Commit-Position: refs/heads/master@{#414515}

Patch Set 1 #

Total comments: 6

Patch Set 2 : unittests fixed #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : #

Total comments: 4

Patch Set 5 : comments edited. #

Total comments: 4

Patch Set 6 : ClearCurrentlyScrollingLayerForTesting added. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -53 lines) Patch
M cc/trees/layer_tree_host_impl.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 5 chunks +21 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 4 5 12 chunks +12 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_scroll.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/input/mouse_wheel_event_queue.cc View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M content/browser/renderer_host/input/mouse_wheel_event_queue_unittest.cc View 1 2 3 5 chunks +66 lines, -29 lines 0 comments Download
M ui/events/blink/input_handler_proxy.cc View 1 2 3 4 5 3 chunks +8 lines, -20 lines 0 comments Download

Messages

Total messages: 39 (24 generated)
sahel
ericrk@chromium.org: Please review changes in layer_tree_host_impl.cc tdresser@chromium.org: Please review changes in
4 years, 4 months ago (2016-08-17 21:52:12 UTC) #3
dtapuska
https://codereview.chromium.org/2256733003/diff/1/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/2256733003/diff/1/cc/trees/layer_tree_host_impl.cc#newcode3243 cc/trees/layer_tree_host_impl.cc:3243: if (scroll_state->is_in_inertial_phase()) { I'm a bit concerned this isn't ...
4 years, 4 months ago (2016-08-18 00:30:45 UTC) #5
tdresser
We'll need a unit test here. https://codereview.chromium.org/2256733003/diff/1/content/browser/renderer_host/input/mouse_wheel_event_queue.cc File content/browser/renderer_host/input/mouse_wheel_event_queue.cc (left): https://codereview.chromium.org/2256733003/diff/1/content/browser/renderer_host/input/mouse_wheel_event_queue.cc#oldcode177 content/browser/renderer_host/input/mouse_wheel_event_queue.cc:177: // implemented. These ...
4 years, 4 months ago (2016-08-18 13:59:47 UTC) #6
sahel
I changed the unittests. I think MouseWheelEventQueueTests/MouseWheelEventQueueTest.GestureSendingWithPhaseInformation/1 test already addresses what we want. If not, ...
4 years, 4 months ago (2016-08-18 15:41:56 UTC) #8
tdresser
LGTM! https://codereview.chromium.org/2256733003/diff/20001/ui/events/blink/input_handler_proxy.cc File ui/events/blink/input_handler_proxy.cc (right): https://codereview.chromium.org/2256733003/diff/20001/ui/events/blink/input_handler_proxy.cc#newcode137 ui/events/blink/input_handler_proxy.cc:137: WebGestureEvent::MomentumPhase) Although this isn't technically required by the ...
4 years, 4 months ago (2016-08-18 16:55:54 UTC) #9
sahel
https://codereview.chromium.org/2256733003/diff/20001/ui/events/blink/input_handler_proxy.cc File ui/events/blink/input_handler_proxy.cc (right): https://codereview.chromium.org/2256733003/diff/20001/ui/events/blink/input_handler_proxy.cc#newcode137 ui/events/blink/input_handler_proxy.cc:137: WebGestureEvent::MomentumPhase) On 2016/08/18 16:55:54, tdresser wrote: > Although this ...
4 years, 4 months ago (2016-08-18 17:37:59 UTC) #10
dtapuska
On 2016/08/18 17:37:59, sahel wrote: > https://codereview.chromium.org/2256733003/diff/20001/ui/events/blink/input_handler_proxy.cc > File ui/events/blink/input_handler_proxy.cc (right): > > https://codereview.chromium.org/2256733003/diff/20001/ui/events/blink/input_handler_proxy.cc#newcode137 > ...
4 years, 4 months ago (2016-08-19 01:33:42 UTC) #11
sahel
I had to change cc_unittests because, after calling scrollEnd it was expected to have currentlyscrollinglayer ...
4 years, 3 months ago (2016-08-24 19:09:12 UTC) #20
tdresser
Still LGTM https://codereview.chromium.org/2256733003/diff/60001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/2256733003/diff/60001/cc/trees/layer_tree_host_impl.cc#newcode2934 cc/trees/layer_tree_host_impl.cc:2934: // impelemented, current scrolling layer should not ...
4 years, 3 months ago (2016-08-24 19:20:32 UTC) #21
sahel
https://codereview.chromium.org/2256733003/diff/60001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/2256733003/diff/60001/cc/trees/layer_tree_host_impl.cc#newcode2934 cc/trees/layer_tree_host_impl.cc:2934: // impelemented, current scrolling layer should not get cleared ...
4 years, 3 months ago (2016-08-25 14:50:04 UTC) #24
ericrk
lgtm https://codereview.chromium.org/2256733003/diff/80001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/2256733003/diff/80001/cc/trees/layer_tree_host_impl.cc#newcode2895 cc/trees/layer_tree_host_impl.cc:2895: scroll_state_data.is_in_inertial_phase = false; I assume this change is ...
4 years, 3 months ago (2016-08-25 16:56:50 UTC) #25
sahel
I added a DCHECK to make sure that the is_in_inertial_phase value is always false when ...
4 years, 3 months ago (2016-08-25 19:32:58 UTC) #32
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/2256733003/100001
4 years, 3 months ago (2016-08-25 19:47:39 UTC) #35
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 3 months ago (2016-08-25 19:54:09 UTC) #37
commit-bot: I haz the power
4 years, 3 months ago (2016-08-25 19:56:27 UTC) #39
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/7adc4a771383af81e2411e755bdce689c803b939
Cr-Commit-Position: refs/heads/master@{#414515}

Powered by Google App Engine
This is Rietveld 408576698