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

Issue 768443002: Honor the wheel event canScroll bit instead of trying to infer it from the ctrl modifier (Closed)

Created:
6 years ago by lanwei
Modified:
5 years, 10 months ago
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Ctrl key while 2-finger trackpad scrolling kills scrolling unit test We added a flag in Blink to decide if Ctrl-wheel-scroll should scroll or zoom, we then replace in the Blink code with this flag and we test it in the unit test. This patch is part of a series: patch #1: https://codereview.chromium.org/759073002 patch #2: https://codereview.chromium.org/835523006 patch #3: This CL BUG=397027, 378755 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189452

Patch Set 1 #

Patch Set 2 : #

Total comments: 7

Patch Set 3 : #

Total comments: 2

Patch Set 4 : Change comment #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -18 lines) Patch
M LayoutTests/fast/events/wheelevent-ctrl.html View 1 2 3 2 chunks +17 lines, -8 lines 0 comments Download
M LayoutTests/fast/events/wheelevent-ctrl-expected.txt View 1 2 1 chunk +11 lines, -6 lines 0 comments Download
M Source/core/page/EventHandler.cpp View 1 2 3 4 5 7 1 chunk +2 lines, -2 lines 0 comments Download
M Source/platform/scroll/ScrollableArea.cpp View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (9 generated)
lanwei
6 years ago (2014-11-26 23:27:19 UTC) #2
tdresser
https://codereview.chromium.org/768443002/diff/20001/LayoutTests/fast/events/wheelevent-ctrl.html File LayoutTests/fast/events/wheelevent-ctrl.html (right): https://codereview.chromium.org/768443002/diff/20001/LayoutTests/fast/events/wheelevent-ctrl.html#newcode21 LayoutTests/fast/events/wheelevent-ctrl.html:21: debug('Test mousewheel events over scrollable div'); Can we write ...
6 years ago (2014-11-27 15:06:09 UTC) #3
Rick Byers
Also please update the CL summary / issue subject. Eg: "Honor the wheel event canScroll ...
6 years ago (2014-11-27 18:05:54 UTC) #4
tdresser
On 2014/11/27 18:05:54, Rick Byers wrote: > Also please update the CL summary / issue ...
6 years ago (2014-11-27 18:19:57 UTC) #5
lanwei
https://codereview.chromium.org/768443002/diff/20001/LayoutTests/fast/events/wheelevent-ctrl.html File LayoutTests/fast/events/wheelevent-ctrl.html (right): https://codereview.chromium.org/768443002/diff/20001/LayoutTests/fast/events/wheelevent-ctrl.html#newcode21 LayoutTests/fast/events/wheelevent-ctrl.html:21: debug('Test mousewheel events over scrollable div'); On 2014/11/27 18:05:54, ...
6 years ago (2014-12-02 15:48:11 UTC) #7
tdresser
This LGTM (pending the other two patches of course)
6 years ago (2014-12-02 15:59:44 UTC) #8
Rick Byers
On 2014/11/27 18:05:54, Rick Byers wrote: > Also please update the CL summary / issue ...
6 years ago (2014-12-02 16:06:58 UTC) #9
Rick Byers
Whoops, forgot to actually publish my nit https://codereview.chromium.org/768443002/diff/60001/LayoutTests/fast/events/wheelevent-ctrl.html File LayoutTests/fast/events/wheelevent-ctrl.html (right): https://codereview.chromium.org/768443002/diff/60001/LayoutTests/fast/events/wheelevent-ctrl.html#newcode63 LayoutTests/fast/events/wheelevent-ctrl.html:63: debug('Now without ...
6 years ago (2014-12-02 17:54:03 UTC) #10
lanwei
https://codereview.chromium.org/768443002/diff/60001/LayoutTests/fast/events/wheelevent-ctrl.html File LayoutTests/fast/events/wheelevent-ctrl.html (right): https://codereview.chromium.org/768443002/diff/60001/LayoutTests/fast/events/wheelevent-ctrl.html#newcode63 LayoutTests/fast/events/wheelevent-ctrl.html:63: debug('Now without ctrl and suppressScroll set to be default ...
6 years ago (2014-12-02 22:28:22 UTC) #11
lanwei
haraken@chromium.org: Please review changes in Can you please review Source/platform/scroll/ScrollableArea.cpp? Thank you.
6 years ago (2014-12-04 05:03:23 UTC) #13
haraken
platform/ LGTM
6 years ago (2014-12-04 05:06:05 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/768443002/160001
5 years, 10 months ago (2015-02-03 20:46:21 UTC) #19
commit-bot: I haz the power
Failed to apply patch for Source/core/page/EventHandler.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
5 years, 10 months ago (2015-02-03 20:46:39 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/768443002/180001
5 years, 10 months ago (2015-02-04 01:04:41 UTC) #23
commit-bot: I haz the power
5 years, 10 months ago (2015-02-04 03:22:40 UTC) #24
Message was sent while issue was closed.
Committed patchset #8 (id:180001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=189452

Powered by Google App Engine
This is Rietveld 408576698