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

Issue 703983002: Add preventPropagation bit to GestureScrollUpdate event (Closed)

Created:
6 years, 1 month ago by majidvp
Modified:
6 years, 1 month 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 preventPropagation flag to GestureScrollUpdate event This is in preparation for the removal of GestureScrollUpdateWithoutPropagation event. The new flag is stored in a int due to alignment requirements of WebInputEvent class. All related tests will be updated in a separate CL because they depend on EventSender updates which lives outside blink and depends on this CL. follow-up patch #2: https://codereview.chromium.org/729533003 follow-up patch #3: https://codereview.chromium.org/732483003 BUG=416596 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185685

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Revert some unnecessary whitespace change #

Total comments: 2

Patch Set 4 : Update unit test #

Total comments: 2

Patch Set 5 : Address minor nit #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -21 lines) Patch
M Source/core/page/EventHandler.cpp View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M Source/platform/PlatformGestureEvent.h View 4 chunks +10 lines, -1 line 0 comments Download
M Source/web/WebInputEvent.cpp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M Source/web/WebInputEventConversion.cpp View 2 chunks +2 lines, -0 lines 0 comments Download
M Source/web/WebViewImpl.cpp View 1 2 3 4 5 2 chunks +3 lines, -2 lines 0 comments Download
M Source/web/tests/WebInputEventConversionTest.cpp View 1 2 3 4 2 chunks +31 lines, -16 lines 0 comments Download
M public/web/WebInputEvent.h View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (9 generated)
majidvp
Ready for review.
6 years, 1 month ago (2014-11-11 22:20:40 UTC) #3
Rick Byers
Looks good, thanks. Please upload versions of your follow-up patches (even if they're not ready ...
6 years, 1 month ago (2014-11-14 18:21:45 UTC) #4
majidvp
Update test and issue description to address comments. https://codereview.chromium.org/703983002/diff/60001/Source/web/tests/WebInputEventConversionTest.cpp File Source/web/tests/WebInputEventConversionTest.cpp (right): https://codereview.chromium.org/703983002/diff/60001/Source/web/tests/WebInputEventConversionTest.cpp#newcode394 Source/web/tests/WebInputEventConversionTest.cpp:394: PlatformGestureEvent ...
6 years, 1 month ago (2014-11-17 21:33:03 UTC) #5
Rick Byers
Thanks, LGTM with nit https://codereview.chromium.org/703983002/diff/80001/Source/web/tests/WebInputEventConversionTest.cpp File Source/web/tests/WebInputEventConversionTest.cpp (right): https://codereview.chromium.org/703983002/diff/80001/Source/web/tests/WebInputEventConversionTest.cpp#newcode410 Source/web/tests/WebInputEventConversionTest.cpp:410: EXPECT_EQ(0, webGestureBuilder.data.scrollUpdate.velocityX); nit: add a ...
6 years, 1 month ago (2014-11-17 22:37:00 UTC) #6
Rick Byers
+aelias for OWNERS in Source/web +vollick for OWNERS in Source/platform
6 years, 1 month ago (2014-11-17 22:38:00 UTC) #9
aelias_OOO_until_Jul13
lgtm
6 years, 1 month ago (2014-11-17 22:46:01 UTC) #10
Ian Vollick
On 2014/11/17 22:46:01, aelias wrote: > lgtm lgtm
6 years, 1 month ago (2014-11-17 22:54:51 UTC) #11
majidvp
https://codereview.chromium.org/703983002/diff/80001/Source/web/tests/WebInputEventConversionTest.cpp File Source/web/tests/WebInputEventConversionTest.cpp (right): https://codereview.chromium.org/703983002/diff/80001/Source/web/tests/WebInputEventConversionTest.cpp#newcode410 Source/web/tests/WebInputEventConversionTest.cpp:410: EXPECT_EQ(0, webGestureBuilder.data.scrollUpdate.velocityX); On 2014/11/17 22:37:00, Rick Byers wrote: > ...
6 years, 1 month ago (2014-11-18 15:49:41 UTC) #12
Rick Byers
On 2014/11/18 15:49:41, majidvp wrote: > https://codereview.chromium.org/703983002/diff/80001/Source/web/tests/WebInputEventConversionTest.cpp > File Source/web/tests/WebInputEventConversionTest.cpp (right): > > https://codereview.chromium.org/703983002/diff/80001/Source/web/tests/WebInputEventConversionTest.cpp#newcode410 > ...
6 years, 1 month ago (2014-11-18 16:24:52 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/703983002/120001
6 years, 1 month ago (2014-11-20 17:33:36 UTC) #19
commit-bot: I haz the power
6 years, 1 month ago (2014-11-20 18:12:35 UTC) #20
Message was sent while issue was closed.
Committed patchset #6 (id:120001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=185685

Powered by Google App Engine
This is Rietveld 408576698