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

Issue 759073002: Add canScroll bit to WebMouseWheelEvent (Closed)

Created:
6 years ago by lanwei
Modified:
5 years, 11 months ago
CC:
blink-reviews, blink-reviews-events_chromium.org, dglazkov+blink, eae+blinkwatch
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Add canScroll bit to WebMouseWheelEvent In the Blink, we add a flag to decide if Ctrl-wheel-scroll should scroll or zoom. For all cases we will be doing a zoom with the wheel, except touchpad scrolling for ChromeOS and all scrolling on MacOS. There are some changes made in chromium and an unit test file which depends on chromium change in the below patchs. follow-up patch #2: https://codereview.chromium.org/835523006 follow-up patch #3: https://codereview.chromium.org/768443002 BUG=397027, 378755 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=186780

Patch Set 1 : #

Patch Set 2 : #

Total comments: 25

Patch Set 3 : Made changes based on comments #

Total comments: 4

Patch Set 4 : Modify unit test #

Total comments: 2

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -6 lines) Patch
M Source/core/events/WheelEvent.h View 1 2 3 4 3 chunks +5 lines, -3 lines 0 comments Download
M Source/core/events/WheelEvent.cpp View 1 2 3 4 4 chunks +6 lines, -2 lines 0 comments Download
M Source/platform/PlatformWheelEvent.h View 1 2 4 chunks +5 lines, -0 lines 0 comments Download
M Source/web/WebInputEvent.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/web/WebInputEventConversion.cpp View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M Source/web/tests/WebInputEventConversionTest.cpp View 1 2 3 4 2 chunks +68 lines, -0 lines 0 comments Download
M public/web/WebInputEvent.h View 1 2 3 4 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (19 generated)
lanwei
6 years ago (2014-11-26 23:26:44 UTC) #6
tdresser
https://codereview.chromium.org/759073002/diff/100001/Source/core/events/WheelEvent.h File Source/core/events/WheelEvent.h (right): https://codereview.chromium.org/759073002/diff/100001/Source/core/events/WheelEvent.h#newcode86 Source/core/events/WheelEvent.h:86: bool suppressScroll() const { return m_suppressScroll; } This naming ...
6 years ago (2014-11-27 15:06:07 UTC) #8
Rick Byers
Thanks for fixing my hack to be more general Lan! This looks good, but I ...
6 years ago (2014-11-27 15:55:15 UTC) #9
Rick Byers
Also, please add bug 378755 to the list of bugs this CL applies to (i.e. ...
6 years ago (2014-11-27 15:59:19 UTC) #10
Rick Byers
On 2014/11/27 15:55:15, Rick Byers wrote: > Thanks for fixing my hack to be more ...
6 years ago (2014-11-27 16:23:09 UTC) #11
lanwei
https://codereview.chromium.org/759073002/diff/100001/Source/core/events/WheelEvent.h File Source/core/events/WheelEvent.h (right): https://codereview.chromium.org/759073002/diff/100001/Source/core/events/WheelEvent.h#newcode86 Source/core/events/WheelEvent.h:86: bool suppressScroll() const { return m_suppressScroll; } On 2014/11/27 ...
6 years ago (2014-12-02 06:28:22 UTC) #14
Rick Byers
Almost ready! https://codereview.chromium.org/759073002/diff/100001/public/web/WebInputEvent.h File public/web/WebInputEvent.h (right): https://codereview.chromium.org/759073002/diff/100001/public/web/WebInputEvent.h#newcode364 public/web/WebInputEvent.h:364: // See comment at the top of ...
6 years ago (2014-12-02 15:48:21 UTC) #15
lanwei
https://codereview.chromium.org/759073002/diff/160001/Source/web/tests/WebInputEventConversionTest.cpp File Source/web/tests/WebInputEventConversionTest.cpp (right): https://codereview.chromium.org/759073002/diff/160001/Source/web/tests/WebInputEventConversionTest.cpp#newcode734 Source/web/tests/WebInputEventConversionTest.cpp:734: EXPECT_TRUE(webMouseWheel.canScroll); On 2014/12/02 15:48:21, Rick Byers wrote: > You ...
6 years ago (2014-12-02 22:27:54 UTC) #16
tdresser
On 2014/12/02 22:27:54, lanwei wrote: > https://codereview.chromium.org/759073002/diff/160001/Source/web/tests/WebInputEventConversionTest.cpp > File Source/web/tests/WebInputEventConversionTest.cpp (right): > > https://codereview.chromium.org/759073002/diff/160001/Source/web/tests/WebInputEventConversionTest.cpp#newcode734 > ...
6 years ago (2014-12-03 13:55:10 UTC) #17
Rick Byers
lgtm with nit https://codereview.chromium.org/759073002/diff/180001/Source/web/tests/WebInputEventConversionTest.cpp File Source/web/tests/WebInputEventConversionTest.cpp (right): https://codereview.chromium.org/759073002/diff/180001/Source/web/tests/WebInputEventConversionTest.cpp#newcode747 Source/web/tests/WebInputEventConversionTest.cpp:747: EXPECT_NE(WebInputEvent::MetaKey, webMouseWheel.modifiers); nit: these three EXPECT_NE ...
6 years ago (2014-12-03 14:03:04 UTC) #18
Rick Byers
+haraken for OWNERS in Source/web and Source/platform
6 years ago (2014-12-03 18:52:59 UTC) #21
Rick Byers
+haraken for OWNERS in Source/web and Source/platform
6 years ago (2014-12-03 18:53:00 UTC) #22
haraken
web/ and platform/ LGTM
6 years ago (2014-12-04 00:55:46 UTC) #24
lanwei
On 2014/12/03 13:55:10, tdresser wrote: > On 2014/12/02 22:27:54, lanwei wrote: > > > https://codereview.chromium.org/759073002/diff/160001/Source/web/tests/WebInputEventConversionTest.cpp ...
6 years ago (2014-12-09 05:16:41 UTC) #32
lanwei
https://codereview.chromium.org/759073002/diff/180001/Source/web/tests/WebInputEventConversionTest.cpp File Source/web/tests/WebInputEventConversionTest.cpp (right): https://codereview.chromium.org/759073002/diff/180001/Source/web/tests/WebInputEventConversionTest.cpp#newcode747 Source/web/tests/WebInputEventConversionTest.cpp:747: EXPECT_NE(WebInputEvent::MetaKey, webMouseWheel.modifiers); On 2014/12/03 14:03:04, Rick Byers wrote: > ...
6 years ago (2014-12-09 05:16:50 UTC) #33
tdresser
On 2014/12/09 05:16:50, lanwei wrote: > https://codereview.chromium.org/759073002/diff/180001/Source/web/tests/WebInputEventConversionTest.cpp > File Source/web/tests/WebInputEventConversionTest.cpp (right): > > https://codereview.chromium.org/759073002/diff/180001/Source/web/tests/WebInputEventConversionTest.cpp#newcode747 > ...
6 years ago (2014-12-09 14:02:22 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/759073002/380001
6 years ago (2014-12-09 14:40:30 UTC) #36
commit-bot: I haz the power
6 years ago (2014-12-09 14:42:38 UTC) #37
Message was sent while issue was closed.
Committed patchset #5 (id:380001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=186780

Powered by Google App Engine
This is Rietveld 408576698