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

Issue 2948663002: [Reland] Re-target wheel events only on new scroll sequence. (Closed)

Created:
3 years, 6 months ago by sahel
Modified:
3 years, 6 months ago
Reviewers:
bokan
CC:
chromium-reviews, dtapuska+blinkwatch_chromium.org, jam, dtapuska+chromiumwatch_chromium.org, darin-cc_chromium.org, Navid Zolghadr, blink-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Reland] Re-target wheel events only on new scroll sequence. https://codereview.chromium.org/2928793003 is the original cl. The added browser tests were flaky on Android since device scale factor was not taken into account in the expected scroll offsets. This cl adds device scale factor to the expected scroll offsets in while loop conditions of the added browser tests. TBR=tdresser@chromium.org BUG=526463 Review-Url: https://codereview.chromium.org/2948663002 Cr-Commit-Position: refs/heads/master@{#480897} Committed: https://chromium.googlesource.com/chromium/src/+/ff468d5a182bd31ea0c1bfa808a3858e213d88cf

Patch Set 1 #

Total comments: 2

Patch Set 2 : Used meta tag to avoid scale factor. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+363 lines, -42 lines) Patch
A content/browser/renderer_host/input/wheel_scroll_latching_browsertest.cc View 1 1 chunk +234 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_input_event_router.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_input_event_router.cc View 2 chunks +27 lines, -1 line 0 comments Download
M content/test/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/wheel/wheelevent-basic.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/wheel/wheelevent-ctrl.html View 5 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/wheel/wheelevent-in-scrolling-div.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/wheel/wheelevent-in-text-node.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/wheel/wheelevent-mousewheel-interaction.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/input/MouseWheelEventManager.h View 2 chunks +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/input/MouseWheelEventManager.cpp View 3 chunks +78 lines, -32 lines 0 comments Download

Messages

Total messages: 24 (17 generated)
sahel
3 years, 6 months ago (2017-06-20 15:40:46 UTC) #7
bokan
Also, please keep the subject line in your commit on one line, otherwise it'll get ...
3 years, 6 months ago (2017-06-20 15:53:30 UTC) #8
bokan
On 2017/06/20 15:53:30, bokan wrote: > Also, please keep the subject line in your commit ...
3 years, 6 months ago (2017-06-20 15:54:33 UTC) #9
sahel
https://codereview.chromium.org/2948663002/diff/1/content/browser/renderer_host/input/wheel_scroll_latching_browsertest.cc File content/browser/renderer_host/input/wheel_scroll_latching_browsertest.cc (right): https://codereview.chromium.org/2948663002/diff/1/content/browser/renderer_host/input/wheel_scroll_latching_browsertest.cc#newcode33 content/browser/renderer_host/input/wheel_scroll_latching_browsertest.cc:33: "<!DOCTYPE html>" On 2017/06/20 15:53:30, bokan wrote: > As ...
3 years, 6 months ago (2017-06-20 18:41:30 UTC) #16
bokan
lgtm (you can TBR the rest since you had the necessary stamps in the other ...
3 years, 6 months ago (2017-06-20 18:45:16 UTC) #17
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/2948663002/40001
3 years, 6 months ago (2017-06-20 18:58:12 UTC) #20
commit-bot: I haz the power
3 years, 6 months ago (2017-06-20 19:03:33 UTC) #24
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/ff468d5a182bd31ea0c1bfa808a3...

Powered by Google App Engine
This is Rietveld 408576698