-
hausmann@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=78788 Reviewed by Kenneth Rohde Christiansen. .: * Source/api.pri: Add new files to the build. Source/WebCore: Move QtWidgets dependent mouse event constructors out of WebCore into WebKit, similar to the web event conversions of WebKit2. * Target.pri: * platform/PlatformMouseEvent.h: (PlatformMouseEvent): * platform/PlatformWheelEvent.h: (PlatformWheelEvent): Source/WebKit/qt: Move QtWidgets dependent mouse event constructors out of WebCore into WebKit, similar to the web event conversions of WebKit2. * Api/qwebpage.cpp: (QWebPagePrivate::mouseMoveEvent): (QWebPagePrivate::mousePressEvent): (QWebPagePrivate::mouseDoubleClickEvent): (QWebPagePrivate::mouseTripleClickEvent): (QWebPagePrivate::mouseReleaseEvent): (QWebPagePrivate::wheelEvent): (QWebPage::swallowContextMenuEvent): * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::postProgressFinishedNotification): * WebCoreSupport/WebEventConversion.cpp: Added. (WebCore): (WebCore::mouseEventModifiersFromQtKeyboardModifiers): (WebCore::mouseEventTypeAndMouseButtonFromQEvent): (WebKitPlatformMouseEvent): (WebCore::WebKitPlatformMouseEvent::WebKitPlatformMouseEvent): (WebCore::convertMouseEvent): (WebKitPlatformWheelEvent): (WebCore::WebKitPlatformWheelEvent::applyDelta): (WebCore::WebKitPlatformWheelEvent::WebKitPlatformWheelEvent): (WebCore::convertWheelEvent): * WebCoreSupport/WebEventConversion.h: Added. (WebCore): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107915 268f45cc-cd09-0410-ab3c-d52691b4dbfc
bff9d2c5