Searched refs:enclosingNodeOfType (Results 1 – 16 of 16) sorted by relevance
/external/webkit/Source/WebCore/editing/ |
D | DeleteSelectionCommand.cpp | 187 m_startTableRow = enclosingNodeOfType(start, &isTableRow); in initializePositionData() 188 m_endTableRow = enclosingNodeOfType(end, &isTableRow); in initializePositionData() 193 Node* startCell = enclosingNodeOfType(m_upstreamStart, &isTableCell, CanCrossEditingBoundary); in initializePositionData() 194 Node* endCell = enclosingNodeOfType(m_downstreamEnd, &isTableCell, CanCrossEditingBoundary); in initializePositionData() 267 …m_startBlock = enclosingNodeOfType(m_downstreamStart.parentAnchoredEquivalent(), &isBlock, CanCros… in initializePositionData() 268 …m_endBlock = enclosingNodeOfType(m_upstreamEnd.parentAnchoredEquivalent(), &isBlock, CanCrossEditi… in initializePositionData() 289 if (enclosingNodeOfType(m_selectionToDelete.start(), isMailBlockquote)) in saveTypingStyleState() 704 …if (m_deleteIntoBlockquoteStyle && !enclosingNodeOfType(m_endingPosition, isMailBlockquote, CanCro… in calculateTypingStyleAfterDelete()
|
D | IndentOutdentCommand.cpp | 93 Node* enclosingCell = enclosingNodeOfType(start, &isTableCell); in indentIntoBlockquote() 122 …Node* enclosingNode = enclosingNodeOfType(visibleStartOfParagraph.deepEquivalent(), &isListOrInden… in outdentParagraph()
|
D | ApplyBlockElementCommand.cpp | 124 Node* enclosingCell = enclosingNodeOfType(start, &isTableCell); in formatSelection() 131 …if (enclosingCell && enclosingCell != enclosingNodeOfType(endOfNextParagraph.deepEquivalent(), &is… in formatSelection()
|
D | ReplaceSelectionCommand.cpp | 361 …bool isInsideMailBlockquote = enclosingNodeOfType(inserted, isMailBlockquote, CanCrossEditingBound… in hasMatchingQuoteLevel() 461 return !enclosingNodeOfType(source.deepEquivalent(), &isMailPasteAsQuotationNode) && in shouldMerge() 560 …if (isMailPasteAsQuotationNode(topNode) || enclosingNodeOfType(firstPositionInOrBeforeNode(topNode… in handleStyleSpansBeforeInsertion() 627 …Node* blockquoteNode = isMailPasteAsQuotationNode(context) ? context : enclosingNodeOfType(firstPo… in handleStyleSpans() 843 …bool startIsInsideMailBlockquote = enclosingNodeOfType(insertionPos, isMailBlockquote, CanCrossEdi… in doApply() 893 …if (startIsInsideMailBlockquote && m_preventNesting && !(enclosingNodeOfType(insertionPos, &isTabl… in doApply()
|
D | htmlediting.cpp | 189 return (node == editableRootForPosition(pos) || node == enclosingNodeOfType(pos, &isTableCell)); in isAtUnsplittableElement() 224 Element* enclosingCell = static_cast<Element*>(enclosingNodeOfType(p, &isTableCell)); in unsplittableElementForPosition() 333 …return static_cast<Element*>(enclosingNodeOfType(firstPositionInOrBeforeNode(node), isBlock, rule)… in enclosingBlock() 616 Node* enclosingNodeOfType(const Position& p, bool (*nodeIsOfType)(const Node*), EditingBoundaryCros… in enclosingNodeOfType() function 656 return static_cast<Element*>(enclosingNodeOfType(p, isTableCell)); in enclosingTableCell()
|
D | BreakBlockquoteCommand.cpp | 102 …while (isFirstVisiblePositionInNode(VisiblePosition(pos), enclosingNodeOfType(pos, isMailBlockquot… in doApply()
|
D | htmlediting.h | 67 Node* enclosingNodeOfType(const Position&, bool (*nodeIsOfType)(const Node*), EditingBoundaryCrossi…
|
D | DeleteButtonController.cpp | 166 Node* element = enclosingNodeOfType(firstPositionInNode(container), &isDeletableElement); in enclosingDeletableElement()
|
D | TypingCommand.cpp | 438 if (enclosingNodeOfType(endingSelection().start(), &isTableStructureNode)) { in insertParagraphSeparatorInQuotedContent()
|
D | markup.cpp | 638 …style->removeStyleAddedByNode(enclosingNodeOfType(firstPositionInNode(parentOfLastClosed), isMailB… in createMarkup()
|
D | CompositeEditCommand.cpp | 1118 if (enclosingNodeOfType(previous.deepEquivalent(), &isMailBlockquote)) in breakOutOfEmptyMailBlockquotedParagraph()
|
/external/webkit/Source/WebCore/ |
D | ChangeLog | 37668 (WebCore::enclosingNodeOfType): 43351 to enclosingNodeOfType and highestEnclosingNodeOfType. 43370 (WebCore::enclosingNodeOfType): Check rule upfront to improve the performance. 48703 argument variable of enclosingNodeOfType by EditingBoundaryCrossingRule. 48715 (WebCore::DeleteSelectionCommand::initializePositionData): Calls enclosingNodeOfType. 48720 enclosingNodeOfType. 48721 (WebCore::enclosingNodeOfType): Takes EditingBoundaryCrossingRule instead of boolean.
|
D | ChangeLog-2006-12-31 | 10751 … Consider the container of the selection range for deletion before asking enclosingNodeOfType(). 14998 (WebCore::enclosingNodeOfType): Ditto. 21320 (WebCore::enclosingNodeOfType): Added this generic enclosing element getter.
|
D | ChangeLog-2008-08-10 | 16207 … (WebCore::enclosingNodeOfType): Can now return non-editable nodes, for cases where the caller 65417 (WebCore::enclosingNodeOfType): 77059 (WebCore::enclosingNodeOfType): Changed to take a function pointer to a function
|
D | ChangeLog-2007-10-14 | 21470 placeholder didn't work because of a bug in enclosingNodeOfType. 21473 (WebCore::enclosingNodeOfType): We start looking at node->parentNode(),
|
D | ChangeLog-2010-01-29 | 77633 (WebCore::enclosingNodeOfType): ditto
|