Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify hitTestResultAtPoint and nodesFromRect APIs
https://bugs.webkit.org/show_bug.cgi?id=95720 Reviewed by Antonio Gomes. .: Update exported symbols. * Source/autotools/symbols.filter: Source/WebCore: The existing API was overloaded and could be simplified by passing all the bool arguments in a HitTestRequest argument. This should also help clarify the call as the enum values explicitely state what they do. * WebCore.exp.in: * WebCore.order: * dom/Document.cpp: (WebCore::Document::nodesFromRect): * dom/Document.h: (Document): * page/ContextMenuController.cpp: (WebCore::ContextMenuController::createContextMenu): * page/DragController.cpp: (WebCore::DragController::canProcessDrag): (WebCore::DragController::startDrag): * page/EventHandler.cpp: (WebCore::EventHandler::updateAutoscrollRenderer): (WebCore::EventHandler::hitTestResultAtPoint): (WebCore::EventHandler::handleMousePressEvent): (WebCore::EventHandler::handleGestureEvent): (WebCore::EventHandler::bestClickableNodeForTouchPoint): (WebCore::EventHandler::bestContextMenuNodeForTouchPoint): (WebCore::EventHandler::bestZoomableAreaForTouchPoint): (WebCore::EventHandler::handleTouchEvent): * page/EventHandler.h: (EventHandler): * page/FocusController.cpp: (WebCore::updateFocusCandidateIfNeeded): * page/Frame.cpp: (WebCore::Frame::visiblePositionForPoint): (WebCore::Frame::documentAtPoint): * page/TouchDisambiguation.cpp: (WebCore::findGoodTouchTargets): * rendering/HitTestRequest.h: (HitTestRequest): * testing/Internals.cpp: (WebCore::Internals::nodesFromRect): Source/WebKit/blackberry: Update calls to new API. * Api/WebPage.cpp: (BlackBerry::WebKit::WebPagePrivate::contextNode): (BlackBerry::WebKit::WebPagePrivate::nodeForZoomUnderPoint): (BlackBerry::WebKit::WebPagePrivate::handleMouseEvent): (BlackBerry::WebKit::WebPage::nodeAtPoint): * WebKitSupport/FatFingers.cpp: (BlackBerry::WebKit::FatFingers::getNodesFromRect): (BlackBerry::WebKit::FatFingers::getRelevantInfoFromPoint): * WebKitSupport/SelectionHandler.cpp: (BlackBerry::WebKit::visiblePositionForPointIgnoringClipping): Source/WebKit/chromium: Update calls to new API. * src/ContextMenuClientImpl.cpp: (WebKit::selectMisspelledWord): * src/FrameLoaderClientImpl.cpp: (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNavigationAction): * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::characterIndexForPoint): * src/WebPluginContainerImpl.cpp: (WebKit::WebPluginContainerImpl::isRectTopmost): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::handleMouseUp): (WebKit::WebViewImpl::computeBlockBounds): Source/WebKit/efl: Update calls to new API. * ewk/ewk_frame.cpp: (ewk_frame_hit_test_new): Source/WebKit/mac: Update calls to new API. * WebCoreSupport/WebFrameLoaderClient.mm: (WebFrameLoaderClient::actionDictionary): * WebView/WebHTMLView.mm: (-[WebHTMLView elementAtPoint:allowShadowContent:]): Source/WebKit/qt: Update calls to new API. * Api/qwebframe.cpp: (QWebFrame::hitTestContent): * Api/qwebpage.cpp: (QWebPagePrivate::handleSoftwareInputPanel): (QWebPagePrivate::TouchAdjuster::findCandidatePointForTouch): (QWebPage::updatePositionDependentActions): * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction): Source/WebKit/win: Update calls to new API. * WebActionPropertyBag.cpp: (WebActionPropertyBag::Read): * WebView.cpp: (WebView::handleContextMenuEvent): (WebView::elementAtPoint): Source/WebKit/wx: Update calls to new API. * WebFrame.cpp: (WebKit::WebFrame::HitTest): Source/WebKit2: Update calls to new API and update exported symbols. * WebProcess/InjectedBundle/InjectedBundleNavigationAction.cpp: (WebKit::InjectedBundleNavigationAction::InjectedBundleNavigationAction): * WebProcess/WebPage/WebPage.cpp: (WebKit::handleContextMenuEvent): (WebKit::WebPage::highlightPotentialActivation): Corrects the misplaced arguments while converting them. (WebKit::WebPage::findZoomableAreaForPoint): * WebProcess/WebPage/mac/WebPageMac.mm: (WebKit::WebPage::characterIndexForPoint): (WebKit::WebPage::performDictionaryLookupAtLocation): (WebKit::WebPage::shouldDelayWindowOrderingEvent): (WebKit::WebPage::acceptsFirstMouse): * win/WebKit2.def: * win/WebKit2CFLite.def: Canonical link: https://commits.webkit.org/113977@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@127876 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Allan Sandfeld Jensen
committed
Sep 7, 2012
1 parent
4a919ca
commit 1c66c66
Showing
46 changed files
with
273 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.