Home
last modified time | relevance | path

Searched refs:enclosingNodeOfType (Results 1 – 16 of 16) sorted by relevance

/external/webkit/Source/WebCore/editing/
DDeleteSelectionCommand.cpp187 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()
DIndentOutdentCommand.cpp93 Node* enclosingCell = enclosingNodeOfType(start, &isTableCell); in indentIntoBlockquote()
122 …Node* enclosingNode = enclosingNodeOfType(visibleStartOfParagraph.deepEquivalent(), &isListOrInden… in outdentParagraph()
DApplyBlockElementCommand.cpp124 Node* enclosingCell = enclosingNodeOfType(start, &isTableCell); in formatSelection()
131 …if (enclosingCell && enclosingCell != enclosingNodeOfType(endOfNextParagraph.deepEquivalent(), &is… in formatSelection()
DReplaceSelectionCommand.cpp361 …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()
Dhtmlediting.cpp189 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()
DBreakBlockquoteCommand.cpp102 …while (isFirstVisiblePositionInNode(VisiblePosition(pos), enclosingNodeOfType(pos, isMailBlockquot… in doApply()
Dhtmlediting.h67 Node* enclosingNodeOfType(const Position&, bool (*nodeIsOfType)(const Node*), EditingBoundaryCrossi…
DDeleteButtonController.cpp166 Node* element = enclosingNodeOfType(firstPositionInNode(container), &isDeletableElement); in enclosingDeletableElement()
DTypingCommand.cpp438 if (enclosingNodeOfType(endingSelection().start(), &isTableStructureNode)) { in insertParagraphSeparatorInQuotedContent()
Dmarkup.cpp638 …style->removeStyleAddedByNode(enclosingNodeOfType(firstPositionInNode(parentOfLastClosed), isMailB… in createMarkup()
DCompositeEditCommand.cpp1118 if (enclosingNodeOfType(previous.deepEquivalent(), &isMailBlockquote)) in breakOutOfEmptyMailBlockquotedParagraph()
/external/webkit/Source/WebCore/
DChangeLog37668 (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.
DChangeLog-2006-12-3110751 … 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.
DChangeLog-2008-08-1016207 … (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
DChangeLog-2007-10-1421470 placeholder didn't work because of a bug in enclosingNodeOfType.
21473 (WebCore::enclosingNodeOfType): We start looking at node->parentNode(),
DChangeLog-2010-01-2977633 (WebCore::enclosingNodeOfType): ditto