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

Issue 1894363004: Articulate the cancel behavior in WebMouseWheelEvent. (Closed)

Created:
4 years, 8 months ago by dtapuska
Modified:
4 years, 8 months ago
Reviewers:
tdresser, Rick Byers
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, dtapuska+blinkwatch_chromium.org, blink-reviews-events_chromium.org, eae+blinkwatch, jam, dtapuska+chromiumwatch_chromium.org, blink-reviews, dglazkov+blink, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, kinuko+watch, blink-reviews-api_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master_all_passive
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Articulate the cancel behavior in WebMouseWheelEvent. Add a DispatchType to mouse wheel events; set the cancelable flag based on the dispatch type. This change is similar to the one done for touch events see https://codereview.chromium.org/1888163003/. BUG=601661 Committed: https://crrev.com/8050a57a2e31012caa7d0521a9be661491f8ef3d Cr-Commit-Position: refs/heads/master@{#388643}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Address Tim's comments #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -40 lines) Patch
M content/renderer/input/input_event_filter_unittest.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M content/renderer/input/main_thread_event_queue.cc View 1 1 chunk +19 lines, -7 lines 0 comments Download
M content/renderer/input/main_thread_event_queue_unittest.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/input/render_widget_input_handler.cc View 1 2 1 chunk +4 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/events/WheelEvent.h View 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/events/WheelEvent.cpp View 2 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/PlatformWheelEvent.h View 3 chunks +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebInputEvent.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebInputEventConversion.cpp View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebInputEventConversionTest.cpp View 1 1 chunk +29 lines, -17 lines 0 comments Download
M third_party/WebKit/public/web/WebInputEvent.h View 1 2 2 chunks +5 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 15 (6 generated)
dtapuska
4 years, 8 months ago (2016-04-19 15:48:58 UTC) #3
tdresser
LGTM https://codereview.chromium.org/1894363004/diff/1/content/renderer/input/main_thread_event_queue.cc File content/renderer/input/main_thread_event_queue.cc (right): https://codereview.chromium.org/1894363004/diff/1/content/renderer/input/main_thread_event_queue.cc#newcode39 content/renderer/input/main_thread_event_queue.cc:39: // adjusted by the compositor. Maybe "since the ...
4 years, 8 months ago (2016-04-20 13:20:11 UTC) #4
dtapuska
https://codereview.chromium.org/1894363004/diff/1/third_party/WebKit/Source/core/events/WheelEvent.h File third_party/WebKit/Source/core/events/WheelEvent.h (right): https://codereview.chromium.org/1894363004/diff/1/third_party/WebKit/Source/core/events/WheelEvent.h#newcode64 third_party/WebKit/Source/core/events/WheelEvent.h:64: bool canScroll, int resendingPluginId, bool hasPreciseScrollingDeltas, RailsMode railsMode, bool ...
4 years, 8 months ago (2016-04-20 14:03:04 UTC) #5
dtapuska
https://codereview.chromium.org/1894363004/diff/1/content/renderer/input/main_thread_event_queue.cc File content/renderer/input/main_thread_event_queue.cc (right): https://codereview.chromium.org/1894363004/diff/1/content/renderer/input/main_thread_event_queue.cc#newcode39 content/renderer/input/main_thread_event_queue.cc:39: // adjusted by the compositor. On 2016/04/20 13:20:10, tdresser ...
4 years, 8 months ago (2016-04-20 14:03:23 UTC) #6
tdresser
https://codereview.chromium.org/1894363004/diff/1/third_party/WebKit/Source/core/events/WheelEvent.h File third_party/WebKit/Source/core/events/WheelEvent.h (right): https://codereview.chromium.org/1894363004/diff/1/third_party/WebKit/Source/core/events/WheelEvent.h#newcode64 third_party/WebKit/Source/core/events/WheelEvent.h:64: bool canScroll, int resendingPluginId, bool hasPreciseScrollingDeltas, RailsMode railsMode, bool ...
4 years, 8 months ago (2016-04-20 14:53:26 UTC) #7
Rick Byers
WebKit LGTM
4 years, 8 months ago (2016-04-20 15:31:40 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1894363004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1894363004/40001
4 years, 8 months ago (2016-04-20 23:05:57 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-21 00:44:09 UTC) #13
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:29:35 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8050a57a2e31012caa7d0521a9be661491f8ef3d
Cr-Commit-Position: refs/heads/master@{#388643}

Powered by Google App Engine
This is Rietveld 408576698