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

Issue 2052663004: Remove canScroll from WebMouseWheelEvent as it is unused now. (Closed)

Created:
4 years, 6 months ago by dtapuska
Modified:
4 years, 6 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, nasko+codewatch_chromium.org, eae+blinkwatch, yzshen+watch_chromium.org, kinuko+watch, ben+mojo_chromium.org, blink-reviews-events_chromium.org, jam, abarth-chromium, dglazkov+blink, darin-cc_chromium.org, blink-reviews, blink-reviews-api_chromium.org, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, tdresser+watch_chromium.org, jochen+watch_chromium.org, dtapuska+blinkwatch_chromium.org, mlamouri+watch-test-runner_chromium.org, dtapuska+chromiumwatch_chromium.org, Aaron Boodman, mkwst+moarreviews-renderer_chromium.org, darin (slow to review)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove canScroll from WebMouseWheelEvent as it is unused now. Move the common code for querying whether an event causes scrolling or zooming into web_input_event_traits.h BUG=598798 TBR=sky@chromium.org Committed: https://crrev.com/b8b21416f450a43606e6195b8628b4a903ea439b Cr-Commit-Position: refs/heads/master@{#400129}

Patch Set 1 #

Patch Set 2 : Fix tests #

Total comments: 10

Patch Set 3 : Fix nits #

Patch Set 4 : Fix android build #

Patch Set 5 : Really fix android unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -137 lines) Patch
M components/test_runner/event_sender.cc View 1 2 3 4 chunks +2 lines, -8 lines 0 comments Download
M content/browser/renderer_host/input/mouse_wheel_event_queue.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura_unittest.cc View 1 2 3 3 chunks +6 lines, -6 lines 0 comments Download
M content/browser/renderer_host/web_input_event_aura.cc View 1 2 3 1 chunk +0 lines, -8 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_impl_unittest.cc View 1 2 3 4 1 chunk +10 lines, -19 lines 0 comments Download
M content/common/input/synthetic_web_input_event_builders.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M content/common/input/web_input_event_traits.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M content/common/input/web_input_event_traits.cc View 1 2 3 chunks +22 lines, -19 lines 0 comments Download
M content/common/input/web_input_event_traits_unittest.cc View 1 3 chunks +7 lines, -19 lines 0 comments Download
M content/renderer/input/render_widget_input_handler.cc View 1 2 1 chunk +5 lines, -15 lines 0 comments Download
M mojo/converters/blink/blink_input_events_type_converters.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/events/WheelEvent.h View 3 chunks +3 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/events/WheelEvent.cpp View 5 chunks +2 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/PlatformWheelEvent.h View 3 chunks +0 lines, -4 lines 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 2 chunks +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/tests/WebInputEventConversionTest.cpp View 9 chunks +2 lines, -9 lines 0 comments Download
M third_party/WebKit/public/web/WebInputEvent.h View 2 chunks +0 lines, -7 lines 0 comments Download
M ui/events/blink/input_handler_proxy.cc View 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 26 (13 generated)
dtapuska
4 years, 6 months ago (2016-06-09 20:14:13 UTC) #3
tdresser
LGTM % nits. https://codereview.chromium.org/2052663004/diff/20001/content/browser/web_contents/web_contents_impl_unittest.cc File content/browser/web_contents/web_contents_impl_unittest.cc (right): https://codereview.chromium.org/2052663004/diff/20001/content/browser/web_contents/web_contents_impl_unittest.cc#newcode2825 content/browser/web_contents/web_contents_impl_unittest.cc:2825: // But whenever the ctrl modifier ...
4 years, 6 months ago (2016-06-10 18:06:46 UTC) #4
Charlie Reis
Mostly deferring to tdresser, but content/ LGTM. https://codereview.chromium.org/2052663004/diff/20001/content/common/input/web_input_event_traits.h File content/common/input/web_input_event_traits.h (right): https://codereview.chromium.org/2052663004/diff/20001/content/common/input/web_input_event_traits.h#newcode32 content/common/input/web_input_event_traits.h:32: static bool ...
4 years, 6 months ago (2016-06-10 18:47:59 UTC) #5
Rick Byers
Yay, thanks for removing this crap I added :-) test_runner and WebKit LGTM
4 years, 6 months ago (2016-06-10 18:58:52 UTC) #6
dtapuska
https://codereview.chromium.org/2052663004/diff/20001/content/browser/web_contents/web_contents_impl_unittest.cc File content/browser/web_contents/web_contents_impl_unittest.cc (right): https://codereview.chromium.org/2052663004/diff/20001/content/browser/web_contents/web_contents_impl_unittest.cc#newcode2825 content/browser/web_contents/web_contents_impl_unittest.cc:2825: // But whenever the ctrl modifier is applied with ...
4 years, 6 months ago (2016-06-10 19:11:17 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2052663004/40001
4 years, 6 months ago (2016-06-10 20:47:58 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/86027)
4 years, 6 months ago (2016-06-10 23:05:11 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2052663004/40001
4 years, 6 months ago (2016-06-11 00:51:57 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/86296)
4 years, 6 months ago (2016-06-11 02:47:15 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2052663004/80001
4 years, 6 months ago (2016-06-16 09:35:04 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 6 months ago (2016-06-16 11:09:27 UTC) #23
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-16 11:09:30 UTC) #24
commit-bot: I haz the power
4 years, 6 months ago (2016-06-16 11:10:40 UTC) #26
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/b8b21416f450a43606e6195b8628b4a903ea439b
Cr-Commit-Position: refs/heads/master@{#400129}

Powered by Google App Engine
This is Rietveld 408576698