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

Issue 2137113002: Create GestureManager class and move related logic (Closed)

Created:
4 years, 5 months ago by Navid Zolghadr
Modified:
4 years, 4 months ago
Reviewers:
mustaq, dtapuska, Rick Byers
CC:
chromium-reviews, blink-reviews, nzolghadr+blinkwatch_chromium.org, 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

Create GestureManager class and move related logic Extracting most of gesture logic from EventHandler and move it to the GestureManager class. BUG=616491 Committed: https://crrev.com/bce7dcb733b99e56a883ec2bf24bd47d6eb9b2cd Cr-Commit-Position: refs/heads/master@{#405563}

Patch Set 1 #

Patch Set 2 : Rebasing #

Total comments: 6

Patch Set 3 : Make GestureManager friend of EventHandler #

Total comments: 6

Patch Set 4 : Fix the nits #

Patch Set 5 : Fix the nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+443 lines, -283 lines) Patch
M third_party/WebKit/Source/core/core.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.h View 1 2 4 chunks +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.cpp View 1 12 chunks +41 lines, -282 lines 0 comments Download
A third_party/WebKit/Source/core/input/GestureManager.h View 1 2 3 1 chunk +74 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/input/GestureManager.cpp View 1 2 3 4 1 chunk +316 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/input/KeyboardEventManager.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (5 generated)
Navid Zolghadr
4 years, 5 months ago (2016-07-11 17:45:31 UTC) #2
dtapuska
https://codereview.chromium.org/2137113002/diff/20001/third_party/WebKit/Source/core/input/EventHandler.h File third_party/WebKit/Source/core/input/EventHandler.h (right): https://codereview.chromium.org/2137113002/diff/20001/third_party/WebKit/Source/core/input/EventHandler.h#newcode239 third_party/WebKit/Source/core/input/EventHandler.h:239: WebInputEventResult handleMousePressEvent(const MouseEventWithHitTestResults&); This is kind of a weird ...
4 years, 5 months ago (2016-07-11 17:53:15 UTC) #3
mustaq
https://codereview.chromium.org/2137113002/diff/20001/third_party/WebKit/Source/core/input/EventHandler.cpp File third_party/WebKit/Source/core/input/EventHandler.cpp (right): https://codereview.chromium.org/2137113002/diff/20001/third_party/WebKit/Source/core/input/EventHandler.cpp#newcode1901 third_party/WebKit/Source/core/input/EventHandler.cpp:1901: GestureEventWithHitTestResults EventHandler::targetGestureEvent(const PlatformGestureEvent& gestureEvent, bool readOnly) Why not move ...
4 years, 5 months ago (2016-07-11 18:01:35 UTC) #4
Navid Zolghadr
https://codereview.chromium.org/2137113002/diff/20001/third_party/WebKit/Source/core/input/EventHandler.cpp File third_party/WebKit/Source/core/input/EventHandler.cpp (right): https://codereview.chromium.org/2137113002/diff/20001/third_party/WebKit/Source/core/input/EventHandler.cpp#newcode1901 third_party/WebKit/Source/core/input/EventHandler.cpp:1901: GestureEventWithHitTestResults EventHandler::targetGestureEvent(const PlatformGestureEvent& gestureEvent, bool readOnly) On 2016/07/11 18:01:35, ...
4 years, 5 months ago (2016-07-11 18:24:32 UTC) #5
Navid Zolghadr
I used "friend" mechanism instead of making those functions public. ptal.
4 years, 5 months ago (2016-07-12 20:11:20 UTC) #6
dtapuska
lgtm % nits https://codereview.chromium.org/2137113002/diff/40001/third_party/WebKit/Source/core/input/GestureManager.cpp File third_party/WebKit/Source/core/input/GestureManager.cpp (right): https://codereview.chromium.org/2137113002/diff/40001/third_party/WebKit/Source/core/input/GestureManager.cpp#newcode24 third_party/WebKit/Source/core/input/GestureManager.cpp:24: , m_scrollManager(scrollManager) This looks like a ...
4 years, 5 months ago (2016-07-13 12:19:28 UTC) #7
Navid Zolghadr
done https://codereview.chromium.org/2137113002/diff/40001/third_party/WebKit/Source/core/input/GestureManager.cpp File third_party/WebKit/Source/core/input/GestureManager.cpp (right): https://codereview.chromium.org/2137113002/diff/40001/third_party/WebKit/Source/core/input/GestureManager.cpp#newcode24 third_party/WebKit/Source/core/input/GestureManager.cpp:24: , m_scrollManager(scrollManager) On 2016/07/13 12:19:28, dtapuska wrote: > ...
4 years, 5 months ago (2016-07-13 16:28:15 UTC) #8
dtapuska
On 2016/07/13 16:28:15, Navid Zolghadr wrote: > done > > https://codereview.chromium.org/2137113002/diff/40001/third_party/WebKit/Source/core/input/GestureManager.cpp > File third_party/WebKit/Source/core/input/GestureManager.cpp (right): ...
4 years, 5 months ago (2016-07-13 16:31:15 UTC) #9
Navid Zolghadr
rbyers@chromium.org: Please review changes in thirdparty/Webkit/Source/core
4 years, 5 months ago (2016-07-13 16:36:42 UTC) #11
Rick Byers
On 2016/07/13 16:36:42, Navid Zolghadr wrote: > mailto:rbyers@chromium.org: Please review changes in > > thirdparty/Webkit/Source/core ...
4 years, 5 months ago (2016-07-14 19:20:45 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2137113002/80001
4 years, 5 months ago (2016-07-14 19:22:23 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-07-14 20:53:24 UTC) #16
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-14 20:53:29 UTC) #17
commit-bot: I haz the power
4 years, 5 months ago (2016-07-14 20:55:44 UTC) #19
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/bce7dcb733b99e56a883ec2bf24bd47d6eb9b2cd
Cr-Commit-Position: refs/heads/master@{#405563}

Powered by Google App Engine
This is Rietveld 408576698