Searched refs:localPoint (Results 1 - 25 of 34) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/page/
H A DMouseEventWithHitTestResults.h37 LayoutPoint localPoint() const { return m_hitTestResult.localPoint(); } function in class:WebCore::MouseEventWithHitTestResults
H A DEventHandler.cpp423 VisiblePosition pos(innerNode->renderer()->positionForPoint(result.localPoint()));
442 VisiblePosition pos(innerNode->renderer()->positionForPoint(result.localPoint()));
488 VisiblePosition pos(innerNode->renderer()->positionForPoint(result.localPoint()));
524 VisiblePosition pos(innerNode->renderer()->positionForPoint(event.localPoint()));
559 VisiblePosition visiblePos(innerNode->renderer()->positionForPoint(event.localPoint()));
744 VisiblePosition targetPosition = m_frame->selection()->selection().visiblePositionRespectingEditingBoundary(hitTestResult.localPoint(), target);
777 if (rootUserSelectAllForMousePressNode && comparePositions(target->renderer()->positionForPoint(hitTestResult.localPoint()), m_mousePressNode->renderer()->positionForPoint(m_dragStartPos)) < 0)
781 if (rootUserSelectAllForTarget && m_mousePressNode->renderer() && comparePositions(target->renderer()->positionForPoint(hitTestResult.localPoint()), m_mousePressNode->renderer()->positionForPoint(m_dragStartPos)) < 0)
846 VisiblePosition pos = VisiblePosition(node->renderer()->positionForPoint(event.localPoint()));
1130 switch (renderer->getCursor(roundedIntPoint(event.localPoint()), overrideCurso
[all...]
/external/chromium_org/third_party/WebKit/Source/core/platform/
H A DWidget.cpp109 IntPoint Widget::convertToRootView(const IntPoint& localPoint) const
112 IntPoint parentPoint = convertToContainingView(localPoint);
115 return localPoint;
145 IntPoint Widget::convertToContainingWindow(const IntPoint& localPoint) const
148 IntPoint parentPoint = convertToContainingView(localPoint);
151 return localPoint;
175 IntPoint Widget::convertToContainingView(const IntPoint& localPoint) const
178 return parentScrollView->convertChildToSelf(this, localPoint);
180 return localPoint;
H A DScrollbar.cpp571 IntPoint Scrollbar::convertToContainingView(const IntPoint& localPoint) const
574 return m_scrollableArea->convertFromScrollbarToContainingView(this, localPoint);
576 return Widget::convertToContainingView(localPoint);
H A DScrollView.cpp1080 IntPoint ScrollView::convertFromScrollbarToContainingView(const Scrollbar* scrollbar, const IntPoint& localPoint) const
1083 IntPoint newPoint = localPoint;
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebHitTestResult.cpp49 WebPoint WebHitTestResult::localPoint() const function in class:WebKit::WebHitTestResult
51 return roundedIntPoint(m_private->localPoint());
H A DWebInputEventConversion.cpp446 IntPoint localPoint = convertAbsoluteLocationForRenderObject(event.absoluteLocation(), renderObject); local
447 webEvent.x = localPoint.x();
448 webEvent.y = localPoint.y();
528 IntPoint localPoint = convertAbsoluteLocationForRenderObject(touch->absoluteLocation(), *renderObject); local
529 x = localPoint.x();
530 y = localPoint.y();
743 IntPoint localPoint = convertAbsoluteLocationForRenderObject(event.absoluteLocation(), *renderObject); local
744 x = localPoint.x();
745 y = localPoint.y();
H A DContextMenuClientImpl.cpp128 hitTestResult.localPoint()));
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DRenderSVGContainer.cpp175 FloatPoint localPoint = localToParentTransform().inverse().mapPoint(pointInParent);
177 if (!SVGRenderSupport::pointInClippingArea(this, localPoint))
181 if (child->nodeAtFloatPoint(request, result, localPoint, hitTestAction)) {
182 updateHitTestResult(result, roundedLayoutPoint(localPoint));
H A DRenderSVGForeignObject.cpp173 FloatPoint localPoint = localTransform().inverse().mapPoint(pointInParent);
176 if (SVGRenderSupport::isOverflowHidden(this) && !m_viewport.contains(localPoint))
180 HitTestLocation hitTestLocation(roundedLayoutPoint(localPoint));
H A DRenderSVGImage.cpp186 FloatPoint localPoint = localToParentTransform().inverse().mapPoint(pointInParent); local
188 if (!SVGRenderSupport::pointInClippingArea(this, localPoint))
192 if (m_objectBoundingBox.contains(localPoint)) {
193 updateHitTestResult(result, roundedLayoutPoint(localPoint));
H A DRenderSVGShape.cpp316 FloatPoint localPoint = m_localTransform.inverse().mapPoint(pointInParent);
318 if (!SVGRenderSupport::pointInClippingArea(this, localPoint))
328 if ((hitRules.canHitStroke && (svgStyle->hasStroke() || !hitRules.requireStroke) && strokeContains(localPoint, hitRules.requireStroke))
329 || (hitRules.canHitFill && (svgStyle->hasFill() || !hitRules.requireFill) && fillContains(localPoint, hitRules.requireFill, fillRule))) {
330 updateHitTestResult(result, roundedLayoutPoint(localPoint));
H A DRenderSVGText.cpp448 FloatPoint localPoint = localToParentTransform().inverse().mapPoint(pointInParent); local
450 if (!SVGRenderSupport::pointInClippingArea(this, localPoint))
453 HitTestLocation hitTestLocation(LayoutPoint(flooredIntPoint(localPoint)));
H A DRenderSVGRoot.cpp429 FloatPoint localPoint = localToParentTransform().inverse().mapPoint(FloatPoint(pointInParent)); local
433 if (child->nodeAtFloatPoint(request, result, localPoint, hitTestAction)) {
/external/chromium_org/third_party/WebKit/public/web/
H A DWebHitTestResult.h59 WEBKIT_EXPORT WebPoint localPoint() const;
/external/chromium_org/content/renderer/android/
H A Dcontent_detector.cc50 surrounding_text.initialize(hit_test.node(), hit_test.localPoint(),
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderTextControl.cpp142 LayoutPoint localPoint = pointInContainer - toLayoutSize(adjustedLocation + innerText->renderBox()->location()); local
144 localPoint += scrolledContentOffset();
147 result.setLocalPoint(localPoint);
H A DHitTestResult.cpp82 , m_localPoint(other.localPoint())
101 m_localPoint = other.localPoint();
358 VisiblePosition pos(targetNode()->renderer()->positionForPoint(localPoint()));
445 m_localPoint = other.localPoint();
H A DHitTestResult.h80 const LayoutPoint& localPoint() const { return m_localPoint; } function in class:WebCore::HitTestResult
H A DRenderLayer.cpp1150 LayoutPoint localPoint; local
1157 localPoint += inlineBoundingBoxOffset;
1161 localPoint += box->topLeftLocationOffset();
1172 localPoint += toRenderBox(curr)->topLeftLocationOffset();
1178 localPoint -= toRenderBox(curr)->topLeftLocationOffset();
1189 localPoint -= offset;
1194 localPoint += offset;
1202 renderer()->view()->adjustForColumns(columnOffset, localPoint);
1204 parent()->renderer()->adjustForColumns(columnOffset, localPoint);
1206 localPoint
2933 IntPoint localPoint = roundedIntPoint(absoluteToContents(absolutePoint)); local
3309 IntPoint localPoint = roundedIntPoint(absoluteToContents(absolutePoint)); local
3314 hitTestOverflowControls(HitTestResult& result, const IntPoint& localPoint) argument
4760 FloatPoint localPoint = newTransformState->mappedPoint(); local
[all...]
H A DRenderWidget.cpp371 result.setIsOverWidget(contentBoxRect().contains(result.localPoint()));
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DTreeScope.cpp217 Node* nodeFromPoint(Document* document, int x, int y, LayoutPoint* localPoint) argument
237 if (localPoint)
238 *localPoint = result.localPoint();
H A DTreeScope.h189 Node* nodeFromPoint(Document*, int x, int y, LayoutPoint* localPoint = 0);
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DVisibleSelection.h109 VisiblePosition visiblePositionRespectingEditingBoundary(const LayoutPoint& localPoint, Node* targetNode) const;
H A DVisibleSelection.cpp630 VisiblePosition VisibleSelection::visiblePositionRespectingEditingBoundary(const LayoutPoint& localPoint, Node* targetNode) const argument
635 LayoutPoint selectionEndPoint = localPoint;

Completed in 281 milliseconds

12