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

Issue 1892653003: Extract touch handling logic from EventHandler (Closed)

Created:
4 years, 8 months ago by Navid Zolghadr
Modified:
4 years, 7 months ago
Reviewers:
mustaq, dtapuska, tdresser, bokan
CC:
chromium-reviews, blink-reviews, dtapuska+blinkwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Extract touch handling logic from EventHandler Moving towards modularizing EventHandler class, this change extract some touch handling logic from EventHandler class to the touch designated class. BUG=603567 Committed: https://crrev.com/f0eb5cc52b1f14db73d58d1248213fe40131857e Cr-Commit-Position: refs/heads/master@{#391035}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Rebased #

Total comments: 14

Patch Set 3 : Removing functional change #

Patch Set 4 : #

Total comments: 23

Patch Set 5 : Rebased #

Total comments: 15

Patch Set 6 : Applying comments #

Patch Set 7 : Removing the invalid comment #

Patch Set 8 : Add TODO #

Unified diffs Side-by-side diffs Delta from patch set Stats (+782 lines, -542 lines) Patch
M third_party/WebKit/Source/core/core.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/PointerEventFactory.h View 1 2 3 4 2 chunks +13 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/events/PointerEventFactory.cpp View 1 2 6 chunks +25 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/events/PointerEventFactoryTest.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.h View 1 2 3 4 5 chunks +2 lines, -21 lines 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.cpp View 1 2 3 4 9 chunks +3 lines, -465 lines 0 comments Download
M third_party/WebKit/Source/core/input/PointerEventManager.h View 1 2 3 4 5 7 chunks +40 lines, -20 lines 0 comments Download
M third_party/WebKit/Source/core/input/PointerEventManager.cpp View 1 2 3 4 5 6 7 6 chunks +81 lines, -15 lines 0 comments Download
A third_party/WebKit/Source/core/input/TouchEventManager.h View 1 2 3 4 5 1 chunk +102 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/input/TouchEventManager.cpp View 1 2 3 4 5 1 chunk +513 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebInputEventConversion.cpp View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 33 (8 generated)
Navid Zolghadr
This is the refactoring change to touch logic. ptal. It depends on Mustaq's change. So ...
4 years, 8 months ago (2016-04-14 23:01:19 UTC) #2
dtapuska
landing this change will make us wanting to land some uma metrics for passive event ...
4 years, 8 months ago (2016-04-15 01:30:50 UTC) #3
Navid Zolghadr
Do you know when the UMA metric change will land? Wasn't 51 branch cut last ...
4 years, 8 months ago (2016-04-15 01:54:30 UTC) #4
mustaq
Thanks Navid, this CL will let us chop EventHandler down by 300+ lines! There is ...
4 years, 8 months ago (2016-04-20 15:40:01 UTC) #5
Navid Zolghadr
https://codereview.chromium.org/1892653003/diff/1/third_party/WebKit/Source/core/input/PointerEventManager.cpp File third_party/WebKit/Source/core/input/PointerEventManager.cpp (right): https://codereview.chromium.org/1892653003/diff/1/third_party/WebKit/Source/core/input/PointerEventManager.cpp#newcode340 third_party/WebKit/Source/core/input/PointerEventManager.cpp:340: return WebInputEventResult::HandledSystem; On 2016/04/20 15:40:01, mustaq wrote: > This ...
4 years, 8 months ago (2016-04-20 17:25:14 UTC) #6
Navid Zolghadr
ptal. https://codereview.chromium.org/1892653003/diff/1/third_party/WebKit/Source/core/events/PointerEventFactory.h File third_party/WebKit/Source/core/events/PointerEventFactory.h (right): https://codereview.chromium.org/1892653003/diff/1/third_party/WebKit/Source/core/events/PointerEventFactory.h#newcode40 third_party/WebKit/Source/core/events/PointerEventFactory.h:40: const FloatPoint& pagePoint); On 2016/04/20 15:40:01, mustaq wrote: ...
4 years, 8 months ago (2016-04-25 15:48:32 UTC) #7
dtapuska
So I think the main issue I have with this change is that it makes ...
4 years, 8 months ago (2016-04-25 20:15:00 UTC) #10
Navid Zolghadr
Dave, is this good enough for the functional vs refactoring separation that you had in ...
4 years, 8 months ago (2016-04-26 21:57:51 UTC) #11
mustaq
LGTM with nit. https://codereview.chromium.org/1892653003/diff/20001/third_party/WebKit/Source/core/input/PointerEventManager.h File third_party/WebKit/Source/core/input/PointerEventManager.h (right): https://codereview.chromium.org/1892653003/diff/20001/third_party/WebKit/Source/core/input/PointerEventManager.h#newcode103 third_party/WebKit/Source/core/input/PointerEventManager.h:103: WebInputEventResult sendTouchPointerEvent( On 2016/04/26 21:57:51, Navid ...
4 years, 7 months ago (2016-04-27 14:36:11 UTC) #12
dtapuska
thanks for making this change. Just a couple of minor things. Will double check it ...
4 years, 7 months ago (2016-04-27 17:07:05 UTC) #13
Navid Zolghadr
ptal. https://codereview.chromium.org/1892653003/diff/20001/third_party/WebKit/Source/core/input/PointerEventManager.h File third_party/WebKit/Source/core/input/PointerEventManager.h (right): https://codereview.chromium.org/1892653003/diff/20001/third_party/WebKit/Source/core/input/PointerEventManager.h#newcode103 third_party/WebKit/Source/core/input/PointerEventManager.h:103: WebInputEventResult sendTouchPointerEvent( On 2016/04/27 14:36:11, mustaq wrote: > ...
4 years, 7 months ago (2016-04-28 15:13:11 UTC) #14
dtapuska
lgtm % nit https://codereview.chromium.org/1892653003/diff/60001/third_party/WebKit/Source/core/input/PointerEventManager.h File third_party/WebKit/Source/core/input/PointerEventManager.h (right): https://codereview.chromium.org/1892653003/diff/60001/third_party/WebKit/Source/core/input/PointerEventManager.h#newcode98 third_party/WebKit/Source/core/input/PointerEventManager.h:98: void dispatchTouchPointerEvents( On 2016/04/28 15:13:11, Navid ...
4 years, 7 months ago (2016-04-29 14:56:54 UTC) #15
mustaq
One missed comment on comments, LGMT otherwise... https://codereview.chromium.org/1892653003/diff/80001/third_party/WebKit/Source/core/input/TouchEventManager.h File third_party/WebKit/Source/core/input/TouchEventManager.h (right): https://codereview.chromium.org/1892653003/diff/80001/third_party/WebKit/Source/core/input/TouchEventManager.h#newcode23 third_party/WebKit/Source/core/input/TouchEventManager.h:23: // This ...
4 years, 7 months ago (2016-04-29 15:09:11 UTC) #16
tdresser
LGTM with nits. https://codereview.chromium.org/1892653003/diff/80001/third_party/WebKit/Source/core/events/PointerEventFactory.cpp File third_party/WebKit/Source/core/events/PointerEventFactory.cpp (right): https://codereview.chromium.org/1892653003/diff/80001/third_party/WebKit/Source/core/events/PointerEventFactory.cpp#newcode361 third_party/WebKit/Source/core/events/PointerEventFactory.cpp:361: const WebPointerProperties& properties) const Is |properties| ...
4 years, 7 months ago (2016-04-29 15:55:04 UTC) #17
Navid Zolghadr
https://codereview.chromium.org/1892653003/diff/80001/third_party/WebKit/Source/core/events/PointerEventFactory.cpp File third_party/WebKit/Source/core/events/PointerEventFactory.cpp (right): https://codereview.chromium.org/1892653003/diff/80001/third_party/WebKit/Source/core/events/PointerEventFactory.cpp#newcode361 third_party/WebKit/Source/core/events/PointerEventFactory.cpp:361: const WebPointerProperties& properties) const On 2016/04/29 15:55:04, tdresser wrote: ...
4 years, 7 months ago (2016-04-29 16:31:20 UTC) #18
Navid Zolghadr
bokan@ can you also particularly look at a variable name that I was not sure ...
4 years, 7 months ago (2016-04-29 16:35:11 UTC) #20
mustaq
https://codereview.chromium.org/1892653003/diff/80001/third_party/WebKit/Source/core/events/PointerEventFactory.cpp File third_party/WebKit/Source/core/events/PointerEventFactory.cpp (right): https://codereview.chromium.org/1892653003/diff/80001/third_party/WebKit/Source/core/events/PointerEventFactory.cpp#newcode361 third_party/WebKit/Source/core/events/PointerEventFactory.cpp:361: const WebPointerProperties& properties) const On 2016/04/29 16:31:19, Navid Zolghadr ...
4 years, 7 months ago (2016-04-29 17:03:05 UTC) #21
bokan
On 2016/04/29 16:35:11, Navid Zolghadr wrote: > bokan@ can you also particularly look at a ...
4 years, 7 months ago (2016-04-29 17:21:54 UTC) #22
Navid Zolghadr
On 2016/04/29 17:21:54, bokan wrote: > On 2016/04/29 16:35:11, Navid Zolghadr wrote: > > bokan@ ...
4 years, 7 months ago (2016-04-29 17:49:51 UTC) #23
Navid Zolghadr
On 2016/04/29 17:49:51, Navid Zolghadr wrote: > On 2016/04/29 17:21:54, bokan wrote: > > On ...
4 years, 7 months ago (2016-05-02 16:55:25 UTC) #24
bokan
Thanks for pinging, I hadn't seen your reply - sorry about the delay. lgtm to ...
4 years, 7 months ago (2016-05-02 16:59:10 UTC) #25
Navid Zolghadr
On 2016/05/02 16:59:10, bokan wrote: > Thanks for pinging, I hadn't seen your reply - ...
4 years, 7 months ago (2016-05-02 16:59:58 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1892653003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1892653003/140001
4 years, 7 months ago (2016-05-02 19:54:14 UTC) #29
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 7 months ago (2016-05-02 19:58:16 UTC) #31
commit-bot: I haz the power
4 years, 7 months ago (2016-05-02 19:59:38 UTC) #33
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/f0eb5cc52b1f14db73d58d1248213fe40131857e
Cr-Commit-Position: refs/heads/master@{#391035}

Powered by Google App Engine
This is Rietveld 408576698