Home
last modified time | relevance | path

Searched refs:isDescendantOf (Results 1 – 25 of 65) sorted by relevance

123

/external/webkit/Source/WebCore/dom/
DNodeIterator.cpp172 if (!removedNode->isDescendantOf(root())) in updateForNodeRemoval()
175 …bool willRemoveReferenceNodeAncestor = referenceNode.node && referenceNode.node->isDescendantOf(re… in updateForNodeRemoval()
185 while (node && node->isDescendantOf(removedNode)) in updateForNodeRemoval()
196 while (node && node->isDescendantOf(removedNode)) in updateForNodeRemoval()
214 while (node && node->isDescendantOf(removedNode)) in updateForNodeRemoval()
224 while (node && node->isDescendantOf(removedNode)) in updateForNodeRemoval()
DSelectorNodeList.cpp55 …if (element && (rootNode->isDocumentNode() || element->isDescendantOf(rootNode)) && selectorChecke… in createSelectorNodeList()
DNode.cpp1263 if (newChild == newParent || newParent->isDescendantOf(newChild)) { in checkAcceptChild()
1298 bool Node::isDescendantOf(const Node *other) const in isDescendantOf() function in WebCore::Node
1314 return this == node || node->isDescendantOf(this); in contains()
1791 …if (element && (isDocumentNode() || element->isDescendantOf(this)) && selectorChecker.checkSelecto… in querySelector()
/external/webkit/Source/WebCore/editing/
DDeleteSelectionCommand.cpp145 if (startSpecialContainer && startSpecialContainer->isDescendantOf(endSpecialContainer)) in initializeStartEnd()
149 else if (endSpecialContainer && endSpecialContainer->isDescendantOf(startSpecialContainer)) in initializeStartEnd()
352 …if (m_startRoot != m_endRoot && !(node->isDescendantOf(m_startRoot.get()) && node->isDescendantOf(… in removeNode()
473 …bool startNodeWasDescendantOfEndNode = m_upstreamStart.deprecatedNode()->isDescendantOf(m_downstre… in handleGeneralDelete()
496 } else if (!m_downstreamEnd.deprecatedNode()->isDescendantOf(node.get())) { in handleGeneralDelete()
517 ….deprecatedNode() != startNode && !m_upstreamStart.deprecatedNode()->isDescendantOf(m_downstreamEn… in handleGeneralDelete()
536 … if (m_upstreamStart.deprecatedNode()->isDescendantOf(m_downstreamEnd.deprecatedNode())) { in handleGeneralDelete()
609 …ecatedNode() || !mergeDestination.deepEquivalent().deprecatedNode()->isDescendantOf(enclosingBlock… in mergeParagraphs()
683 if (!m_endingPosition.deprecatedNode()->isDescendantOf(m_endTableRow.get())) { in removePreviouslySelectedEmptyTableRows()
779 if (m_selectionToDelete.end().deprecatedNode()->isDescendantOf(table)) in doApply()
DVisiblePosition.cpp416 if (highestRoot && !pos.deepEquivalent().deprecatedNode()->isDescendantOf(highestRoot)) in honorEditableBoundaryAtOrBefore()
442 if (highestRoot && !pos.deepEquivalent().deprecatedNode()->isDescendantOf(highestRoot)) in honorEditableBoundaryAtOrAfter()
530 …bool nextIsOutsideOriginalBlock = !nextNode->isDescendantOf(originalBlock) && nextNode != original… in canonicalPosition()
531 …bool prevIsOutsideOriginalBlock = !prevNode->isDescendantOf(originalBlock) && prevNode != original… in canonicalPosition()
683 if (!visiblePosition.deepEquivalent().containerNode()->isDescendantOf(node)) in isFirstVisiblePositionInNode()
687 return previous.isNull() || !previous.deepEquivalent().deprecatedNode()->isDescendantOf(node); in isFirstVisiblePositionInNode()
695 if (!visiblePosition.deepEquivalent().containerNode()->isDescendantOf(node)) in isLastVisiblePositionInNode()
699 return next.isNull() || !next.deepEquivalent().deprecatedNode()->isDescendantOf(node); in isLastVisiblePositionInNode()
Dhtmlediting.cpp289 …while (p.deprecatedNode() && !isEditablePosition(p) && p.deprecatedNode()->isDescendantOf(highestR… in firstEditablePositionAfterPositionInRoot()
292 …tedNode() && p.deprecatedNode() != highestRoot && !p.deprecatedNode()->isDescendantOf(highestRoot)) in firstEditablePositionAfterPositionInRoot()
311 …while (p.deprecatedNode() && !isEditablePosition(p) && p.deprecatedNode()->isDescendantOf(highestR… in lastEditablePositionBeforePositionInRoot()
314 …tedNode() && p.deprecatedNode() != highestRoot && !p.deprecatedNode()->isDescendantOf(highestRoot)) in lastEditablePositionBeforePositionInRoot()
1026 if (startOfSelection.deepEquivalent().deprecatedNode()->isDescendantOf(table)) in selectionForParagraphIteration()
1034 if (endOfSelection.deepEquivalent().deprecatedNode()->isDescendantOf(table)) in selectionForParagraphIteration()
1105 if (startContainer == node || startContainer->isDescendantOf(node)) { in avoidIntersectionWithNode()
1110 if (endContainer == node || endContainer->isDescendantOf(node)) { in avoidIntersectionWithNode()
1130 if (base == node || base->isDescendantOf(node)) { in avoidIntersectionWithNode()
1135 if (extent == node || extent->isDescendantOf(node)) { in avoidIntersectionWithNode()
DCompositeEditCommand.cpp277 ASSERT(!first->isDescendantOf(second.get()) && second != first); in mergeIdenticalElements()
731 if (!upstreamEnd.deprecatedNode()->isDescendantOf(upstreamStart.deprecatedNode())) { in moveParagraphContentsToNewBlockIfNecessary()
739 …ASSERT(upstreamStart.deprecatedNode()->isDescendantOf(enclosingBlock(upstreamEnd.deprecatedNode())… in moveParagraphContentsToNewBlockIfNecessary()
804 …if (start.deprecatedNode() != end.deprecatedNode() && !start.deprecatedNode()->isDescendantOf(end.… in cloneParagraphUnderNewElement()
808 while (!end.deprecatedNode()->isDescendantOf(outerNode)) { in cloneParagraphUnderNewElement()
820 if (n == end.deprecatedNode() || end.deprecatedNode()->isDescendantOf(n)) in cloneParagraphUnderNewElement()
1191 …kExistsAtVisiblePosition(visiblePos) && downstream.deprecatedNode()->isDescendantOf(enclosingAncho… in positionAvoidingSpecialElementBoundary()
Dmarkup.cpp344 if (pastEnd && pastEnd->isDescendantOf(n)) in serializeNodes()
366 if (next != pastEnd && next->isDescendantOf(ancestor)) in serializeNodes()
377 Node* lastAncestorClosedOrSelf = n->isDescendantOf(lastClosed) ? lastClosed : n; in serializeNodes()
383 ASSERT(startNode->isDescendantOf(parent)); in serializeNodes()
696 if (node->isDescendantOf(deleteButtonContainerElement)) in createMarkup()
DBreakBlockquoteCommand.cpp123 if (!startNode->isDescendantOf(topBlockquote)) { in doApply()
DFormatBlockCommand.cpp75 && refNode != root && !root->isDescendantOf(refNode)) { in formatRange()
DTextIterator.cpp451 … if ((pastEnd && parentNode == m_endContainer) || m_endContainer->isDescendantOf(parentNode)) in advance()
889 if (!m_node->isDescendantOf(m_startContainer)) in shouldRepresentNodeOffsetZero()
2468 if (range->startContainer() != scope && !range->startContainer()->isDescendantOf(scope)) in locationAndLengthFromRange()
2470 if (range->endContainer() != scope && !range->endContainer()->isDescendantOf(scope)) in locationAndLengthFromRange()
/external/webkit/Source/WebCore/page/
DFrameTree.cpp242 bool FrameTree::isDescendantOf(const Frame* ancestor) const in isDescendantOf() function in WebCore::FrameTree
260 ASSERT(!stayWithin || child->tree()->isDescendantOf(stayWithin)); in traverseNext()
269 ASSERT(!stayWithin || sibling->tree()->isDescendantOf(stayWithin)); in traverseNext()
282 ASSERT(!stayWithin || !sibling || sibling->tree()->isDescendantOf(stayWithin)); in traverseNext()
DFrameTree.h55 bool isDescendantOf(const Frame* ancestor) const;
DFocusController.cpp339 …if (selectionStartNode == newFocusedNode || selectionStartNode->isDescendantOf(newFocusedNode) || … in clearSelectionIfNeeded()
/external/webkit/Source/WebKit2/UIProcess/
DWebFrameProxy.h128 bool isDescendantOf(const WebFrameProxy* ancestor) const;
DWebFrameProxy.cpp221 bool WebFrameProxy::isDescendantOf(const WebFrameProxy* ancestor) const in isDescendantOf() function in WebKit::WebFrameProxy
/external/chromium/chrome/browser/ui/cocoa/
Dstyled_text_field.mm36 DCHECK([editor isDescendantOf:self]);
Dstyled_text_field_unittest.mm78 EXPECT_TRUE([[field_ currentEditor] isDescendantOf:field_]);
/external/chromium/chrome/browser/ui/cocoa/find_bar/
Dfind_bar_text_field_unittest.mm71 EXPECT_TRUE([[field_ currentEditor] isDescendantOf:field_]);
/external/webkit/Source/WebKit/mac/Carbon/
DHIWebView.mm921 check( [oldFirstResponderView isDescendantOf:view->fWebView] );
924 && ![oldFirstResponderView isDescendantOf:view->fFirstResponder] )
969 if ( tentativeNewKeyView && [tentativeNewKeyView isDescendantOf:view->fWebView] )
999 if ( tentativeNewKeyView && [tentativeNewKeyView isDescendantOf:view->fWebView] )
1011 && [nextTentativeNewKeyView isDescendantOf:view->fWebView]
1054 check( [(NSView *)firstResponder isDescendantOf:view->fWebView] );
1115 || [respView isDescendantOf: inView->fWebView] )
1158 || [respView isDescendantOf: inView->fWebView] )
/external/webkit/Source/WebCore/html/
DHTMLDocument.cpp154 if (focusedFrame->tree()->isDescendantOf(frame())) in hasFocus()
/external/webkit/Source/WebCore/platform/mac/
DScrollViewMac.mm65 ASSERT(![parentView isDescendantOf:childView]);
/external/webkit/Source/WebKit/mac/Misc/
DWebNSViewExtras.m209 … ([responder isKindOfClass:[NSView class]] && [(NSView *)responder isDescendantOf:self])));
/external/webkit/Source/WebCore/svg/
DSVGSVGElement.cpp646 if (element && element->isDescendantOf(this)) in getElementById()
/external/webkit/Source/WebKit/android/jni/
DWebViewCore.h653 bool isDescendantOf(WebCore::Node* parent, WebCore::Node* node);

123