-
ap authored
Reviewed and landed by Alexey. http://bugs.webkit.org/show_bug.cgi?id=11738: Make link clicking work again on Windows. WebCore: This re-implements a few functions that used to be part of FrameWin in their new loader-based locations, and copies a few things from the Mac and Qt event handling code that aren't strictly necessary but are pretty simple. * WebCore.vcproj/WebCore/WebCore.vcproj: * bridge/win/ChromeClientWin.h: * bridge/win/ContextMenuClientWin.h: * bridge/win/EditorClientWin.h: * bridge/win/FrameWin.cpp: (WebCore::FrameWin::client): * bridge/win/FrameWin.h: * loader/win/DocumentLoaderWin.cpp: Added. (WebCore::DocumentLoader::setTitle): * loader/win/FrameLoaderClientWin.cpp: Added. (WebCore::FrameLoaderClientWin::userAgent): * loader/win/FrameLoaderClientWin.h: * loader/win/FrameLoaderWin.cpp: Added. (WebCore::FrameLoader::urlSelected): (WebCore::FrameLoader::submitForm): (WebCore::FrameLoader::setTitle): * page/win/EventHandlerWin.cpp: Added. (WebCore::EventHandler::passMousePressEventToSubframe): (WebCore::EventHandler::passMouseMoveEventToSubframe): (WebCore::EventHandler::passMouseReleaseEventToSubframe): (WebCore::EventHandler::passWheelEventToSubframe): (WebCore::EventHandler::passMousePressEventToScrollbar): (WebCore::EventHandler::passWidgetMouseDownEventToWidget): * platform/win/TemporaryLinkStubs.cpp: (WebCore::EventHandler::tabsToLinks): (WebCore::EventHandler::tabsToAllControls): (WebCore::EventHandler::lastEventIsMouseUp): (WebCore::EventHandler::passSubframeEventToSubframe): (WebCore::EventHandler::passMouseDownEventToWidget): (WebCore::EventHandler::passWheelEventToWidget): (WebCore::FrameLoader::getHistoryLength): (WebCore::FrameLoader::historyURL): (WebCore::FrameLoader::createFrame): (WebCore::FrameLoaderClientWin::setTitle): WebKit: The WebKit changes are to ignore WM_MOUSEMOVED messages when the mouse hasn't actually moved, which were preventing clicks from actually getting dispatched in many cases. It's a peculiarity of Windows mouse handling that we receive these at all. * COM/WebView.cpp: (WebView::WebView): (WebView::mouseMoved): * COM/WebView.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@18000 268f45cc-cd09-0410-ab3c-d52691b4dbfc
dec9ad8e