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

Issue 1806103002: Send wheel gestures from event sender. (Closed)

Created:
4 years, 9 months ago by dtapuska
Modified:
4 years, 9 months ago
Reviewers:
Mike West, *Rick Byers
CC:
chromium-reviews, darin-cc_chromium.org, jam, jochen+watch_chromium.org, mkwst+moarreviews-shell_chromium.org, mlamouri+watch-content_chromium.org, mlamouri+watch-test-runner_chromium.org, Peter Beverloo, tdresser
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Send wheel gestures from event sender. When wheel gestures are enabled on the content shell send them in the event sender when mouse wheel scrolls occur. This conditional code will eventually be removed once wheel gestures are enabled by default for a full release. Event sender really should be sending events up to the browser and this code wouldn't be necessary but this is good for now. Log crbug.com/596095 to cover that. Remove unused wheel scrolling code in event sender. BUG=568183 Committed: https://crrev.com/43f18e9e7c90f40d6306f720791f60c1a09165dc Cr-Commit-Position: refs/heads/master@{#382224}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Fix Mike's comments in patch set 1 #

Total comments: 2

Patch Set 3 : Add TODO and add helper #

Patch Set 4 : Collapse gesture sending into a single function #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -130 lines) Patch
M components/test_runner/event_sender.h View 1 2 3 7 chunks +14 lines, -10 lines 0 comments Download
M components/test_runner/event_sender.cc View 1 2 3 17 chunks +97 lines, -120 lines 0 comments Download
M components/test_runner/web_test_interfaces.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/test_runner/web_test_interfaces.cc View 2 chunks +5 lines, -0 lines 0 comments Download
M content/shell/renderer/layout_test/layout_test_render_process_observer.cc View 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
dtapuska
4 years, 9 months ago (2016-03-17 12:49:37 UTC) #3
Mike West
It looks pretty reasonable to me, and the fact that the bots are still green ...
4 years, 9 months ago (2016-03-17 16:19:38 UTC) #5
dtapuska
https://codereview.chromium.org/1806103002/diff/1/components/test_runner/event_sender.cc File components/test_runner/event_sender.cc (right): https://codereview.chromium.org/1806103002/diff/1/components/test_runner/event_sender.cc#newcode1942 components/test_runner/event_sender.cc:1942: void EventSender::MouseScrollBy(gin::Arguments* args, bool continuous) { On 2016/03/17 16:19:38, ...
4 years, 9 months ago (2016-03-17 18:05:52 UTC) #6
Rick Byers
Logic looks good. Please clarify the CL description that it's just the conditional bit that ...
4 years, 9 months ago (2016-03-18 15:36:25 UTC) #7
dtapuska
https://codereview.chromium.org/1806103002/diff/20001/components/test_runner/event_sender.cc File components/test_runner/event_sender.cc (right): https://codereview.chromium.org/1806103002/diff/20001/components/test_runner/event_sender.cc#newcode1952 components/test_runner/event_sender.cc:1952: begin_event.sourceDevice = blink::WebGestureDeviceTouchpad; On 2016/03/18 15:36:25, Rick Byers wrote: ...
4 years, 9 months ago (2016-03-18 17:04:43 UTC) #9
Rick Byers
LGTM
4 years, 9 months ago (2016-03-18 19:34:11 UTC) #10
Mike West
LGTM 2. Thanks Rick!
4 years, 9 months ago (2016-03-19 06:07:32 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1806103002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1806103002/60001
4 years, 9 months ago (2016-03-20 18:08:17 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 9 months ago (2016-03-20 20:21:55 UTC) #15
commit-bot: I haz the power
4 years, 9 months ago (2016-03-20 20:23:03 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/43f18e9e7c90f40d6306f720791f60c1a09165dc
Cr-Commit-Position: refs/heads/master@{#382224}

Powered by Google App Engine
This is Rietveld 408576698