We can move all the interaction engine usage to QtWebPageEventHandler and make all GestureRecognizers (Tap, Pinch and Pan) use it directly.
Created attachment 116547 [details] Patch
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
Committed r101179: <http://trac.webkit.org/changeset/101179>