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

Issue 225823007: Migrate wheel events to EventHandlerRegistry (Closed)

Created:
6 years, 8 months ago by Sami
Modified:
6 years, 6 months ago
CC:
adamk+blink_chromium.org, blink-layers+watch_chromium.org, blink-reviews, Inactive, dglazkov+blink, eae+blinkwatch, kenneth.christiansen, rwlbuis, sof
Visibility:
Public.

Description

Migrate wheel events to EventHandlerRegistry Remove the specialized code for tracking wheel events in favor of the generic EventHandlerRegistry. Covered by existing tests. See https://codereview.chromium.org/206603002/ for full review history. BUG=359566, 332793 TEST=fast/events/wheelevent-handler-count.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175485

Patch Set 1 #

Patch Set 2 : Rebased. #

Patch Set 3 : Moved wheel changes to the registry into this patch. #

Patch Set 4 : Rebased. #

Patch Set 5 : Rebased. #

Total comments: 4

Patch Set 6 : Rebased. #

Total comments: 4

Patch Set 7 : No more external events. #

Patch Set 8 : Remove fake handler conditionally. #

Total comments: 1

Patch Set 9 : Clarifying comment. #

Patch Set 10 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -224 lines) Patch
M Source/core/core.gypi View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/dom/Node.cpp View 1 2 3 4 5 6 7 8 9 4 chunks +2 lines, -20 lines 0 comments Download
D Source/core/dom/WheelController.h View 1 2 3 4 1 chunk +0 lines, -63 lines 0 comments Download
D Source/core/dom/WheelController.cpp View 1 2 3 4 1 chunk +0 lines, -118 lines 0 comments Download
M Source/core/frame/DOMWindow.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/frame/EventHandlerRegistry.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/frame/EventHandlerRegistry.cpp View 1 2 3 4 5 6 2 chunks +11 lines, -0 lines 0 comments Download
M Source/core/frame/LocalFrame.cpp View 1 2 3 4 5 6 3 chunks +6 lines, -4 lines 0 comments Download
M Source/core/page/scrolling/ScrollingCoordinator.cpp View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -9 lines 0 comments Download
M Source/core/testing/Internals.cpp View 1 2 3 4 5 6 7 8 9 2 chunks +1 line, -2 lines 0 comments Download
M Source/web/FrameLoaderClientImpl.cpp View 1 2 3 4 5 6 2 chunks +0 lines, -2 lines 0 comments Download
M Source/web/WebViewImpl.cpp View 1 2 3 4 5 6 7 8 3 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
Sami
6 years, 8 months ago (2014-04-11 18:19:04 UTC) #1
Rick Byers
I quickly skimmed this to verify it was what I already reviewed. LGTM (but please ...
6 years, 8 months ago (2014-04-11 18:30:49 UTC) #2
Sami
Hey Rick, this is now rewritten against what we landed. Mind taking another look?
6 years, 6 months ago (2014-05-30 17:59:39 UTC) #3
Rick Byers
LGTM, thanks for doing this! Touch events next I hope? https://codereview.chromium.org/225823007/diff/80001/Source/core/frame/LocalFrame.cpp File Source/core/frame/LocalFrame.cpp (right): https://codereview.chromium.org/225823007/diff/80001/Source/core/frame/LocalFrame.cpp#newcode510 ...
6 years, 6 months ago (2014-05-31 03:16:40 UTC) #4
Sami
Thanks Rick. Touch events are indeed next on my list. Adam, could you check the ...
6 years, 6 months ago (2014-06-02 10:00:21 UTC) #5
Rick Byers
On 2014/06/02 10:00:21, Sami wrote: > Thanks Rick. Touch events are indeed next on my ...
6 years, 6 months ago (2014-06-02 18:39:44 UTC) #6
ojan
https://codereview.chromium.org/225823007/diff/100001/Source/core/frame/EventHandlerRegistry.cpp File Source/core/frame/EventHandlerRegistry.cpp (right): https://codereview.chromium.org/225823007/diff/100001/Source/core/frame/EventHandlerRegistry.cpp#newcode209 Source/core/frame/EventHandlerRegistry.cpp:209: // TODO(skyostil): This notification is wired up to a ...
6 years, 6 months ago (2014-06-02 21:23:03 UTC) #7
ojan
lgtm
6 years, 6 months ago (2014-06-02 21:23:13 UTC) #8
ojan
lgtm, but please address the style nits before landing. Sorry for the noise, trying out ...
6 years, 6 months ago (2014-06-02 21:23:50 UTC) #9
Sami
Thanks, all addressed. > Hmm, do we really need this parallel tracking mechanism just for ...
6 years, 6 months ago (2014-06-03 15:57:44 UTC) #10
Sami
On 2014/06/03 15:57:44, Sami wrote: > Thanks for the excellent suggestion. By adding registering the ...
6 years, 6 months ago (2014-06-03 16:17:21 UTC) #11
Rick Byers
Nice, thanks for getting rid of the external handler mechanism - this is definitely simpler. ...
6 years, 6 months ago (2014-06-03 21:32:33 UTC) #12
Sami
On 2014/06/03 21:32:33, Rick Byers wrote: > https://codereview.chromium.org/225823007/diff/140001/Source/web/WebViewImpl.cpp#newcode1495 > Source/web/WebViewImpl.cpp:1495: if > (registry->eventHandlerTargets(EventHandlerRegistry::WheelEvent)->contains(&document)) > nit: ...
6 years, 6 months ago (2014-06-04 10:11:04 UTC) #13
Sami
The CQ bit was checked by skyostil@chromium.org
6 years, 6 months ago (2014-06-04 10:11:21 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skyostil@chromium.org/225823007/160001
6 years, 6 months ago (2014-06-04 10:12:13 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-04 10:12:21 UTC) #16
commit-bot: I haz the power
Failed to apply patch for Source/core/page/scrolling/ScrollingCoordinator.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 6 months ago (2014-06-04 10:12:21 UTC) #17
Paweł Hajdan Jr.
The CQ bit was checked by phajdan.jr@chromium.org
6 years, 6 months ago (2014-06-04 12:11:27 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skyostil@chromium.org/225823007/160001
6 years, 6 months ago (2014-06-04 12:11:55 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-04 12:12:06 UTC) #20
commit-bot: I haz the power
Failed to apply patch for Source/core/page/scrolling/ScrollingCoordinator.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 6 months ago (2014-06-04 12:12:07 UTC) #21
Sami
The CQ bit was checked by skyostil@chromium.org
6 years, 6 months ago (2014-06-04 12:45:22 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skyostil@chromium.org/225823007/180001
6 years, 6 months ago (2014-06-04 12:46:29 UTC) #23
commit-bot: I haz the power
6 years, 6 months ago (2014-06-04 14:18:29 UTC) #24
Message was sent while issue was closed.
Change committed as 175485

Powered by Google App Engine
This is Rietveld 408576698