12013-02-13 Allan Sandfeld Jensen <allan.jensen@digia.com>
2
3 Simplify hitTestResultAtPoint and nodesFromRect APIs
4 https://bugs.webkit.org/show_bug.cgi?id=95720
5
6 Reviewed by NOBODY (OOPS!).
7
8 The existing API was overloaded and could be simplified by passing all the bool arguments in
9 a HitTestRequest argument. This should also help clarify the call as the enum values explicitely
10 state what they do.
11
12 * WebCore.exp.in:
13 * WebCore.order:
14 * dom/Document.cpp:
15 (WebCore::Document::nodesFromRect):
16 * dom/Document.h:
17 (Document):
18 * page/ContextMenuController.cpp:
19 (WebCore::ContextMenuController::createContextMenu):
20 * page/DragController.cpp:
21 (WebCore::DragController::canProcessDrag):
22 (WebCore::DragController::startDrag):
23 * page/EventHandler.cpp:
24 (WebCore::EventHandler::hitTestResultAtPoint):
25 (WebCore::EventHandler::handleMousePressEvent):
26 (WebCore::EventHandler::handleGestureEvent):
27 (WebCore::EventHandler::handleGestureForTextSelectionOrContextMenu):
28 (WebCore::EventHandler::bestClickableNodeForTouchPoint):
29 (WebCore::EventHandler::bestContextMenuNodeForTouchPoint):
30 (WebCore::EventHandler::bestZoomableAreaForTouchPoint):
31 (WebCore::EventHandler::handleTouchEvent):
32 * page/EventHandler.h:
33 (WebCore):
34 (EventHandler):
35 * page/FocusController.cpp:
36 (WebCore::updateFocusCandidateIfNeeded):
37 * page/Frame.cpp:
38 (WebCore::Frame::visiblePositionForPoint):
39 (WebCore::Frame::documentAtPoint):
40 * page/TouchDisambiguation.cpp:
41 (WebCore::findGoodTouchTargets):
42 * rendering/HitTestRequest.h:
43 (WebCore::HitTestRequest::allowsFrameScrollbars):
44 * testing/Internals.cpp:
45 (WebCore::Internals::nodesFromRect):
46