RESOLVED FIXED 73096
[Qt][WK2] Refactor GestureRecognizers to use QtWebPageEventHandler
https://bugs.webkit.org/show_bug.cgi?id=73096
Summary [Qt][WK2] Refactor GestureRecognizers to use QtWebPageEventHandler
Jesus Sanchez-Palencia
Reported 2011-11-24 13:40:44 PST
We can move all the interaction engine usage to QtWebPageEventHandler and make all GestureRecognizers (Tap, Pinch and Pan) use it directly.
Attachments
Patch (17.04 KB, patch)
2011-11-24 13:49 PST, Jesus Sanchez-Palencia
kenneth: review+
Jesus Sanchez-Palencia
Comment 1 2011-11-24 13:49:16 PST
Kenneth Rohde Christiansen
Comment 2 2011-11-25 03:59:58 PST
Comment on attachment 116547 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=116547&action=review > Source/WebKit2/UIProcess/qt/QtPanGestureRecognizer.cpp:53 > + m_eventHandler->interactionEngine()->panGestureCancelled(); Why not make an private: inline QtViewportInteractionEngine* interactionEngine() ? It could be in the class they all inherit from
Jesus Sanchez-Palencia
Comment 3 2011-11-25 11:58:00 PST
Note You need to log in before you can comment on or make changes to this bug.