Searched refs:secondCandidate (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/page/
H A DSpatialNavigation.h137 bool areElementsOnSameLine(const FocusCandidate& firstCandidate, const FocusCandidate& secondCandidate);
H A DSpatialNavigation.cpp619 bool areElementsOnSameLine(const FocusCandidate& firstCandidate, const FocusCandidate& secondCandidate) argument
621 if (firstCandidate.isNull() || secondCandidate.isNull())
624 if (!firstCandidate.visibleNode->renderer() || !secondCandidate.visibleNode->renderer())
627 if (!firstCandidate.rect.intersects(secondCandidate.rect))
630 if (isHTMLAreaElement(*firstCandidate.focusableNode) || isHTMLAreaElement(*secondCandidate.focusableNode))
633 if (!firstCandidate.visibleNode->renderer()->isRenderInline() || !secondCandidate.visibleNode->renderer()->isRenderInline())
636 if (firstCandidate.visibleNode->renderer()->containingBlock() != secondCandidate.visibleNode->renderer()->containingBlock())

Completed in 152 milliseconds