HomeSort by relevance Sort by last modified time
    Searched refs:enclosingNodeOfType (Results 1 - 11 of 11) sorted by null

  /external/chromium_org/third_party/WebKit/Source/core/editing/
DeleteSelectionCommand.cpp 183 m_startTableRow = toHTMLTableRowElement(enclosingNodeOfType(start, &isHTMLTableRowElement));
184 m_endTableRow = toHTMLTableRowElement(enclosingNodeOfType(end, &isHTMLTableRowElement));
187 // If the cell is non-editable, enclosingNodeOfType won't return it by default, so
189 Node* startCell = enclosingNodeOfType(m_upstreamStart, &isTableCell, CanCrossEditingBoundary);
190 Node* endCell = enclosingNodeOfType(m_downstreamEnd, &isTableCell, CanCrossEditingBoundary);
261 // FIXME: Passing false to enclosingNodeOfType tells it that it's OK to return a non-editable
263 m_startBlock = enclosingNodeOfType(m_downstreamStart.parentAnchoredEquivalent(), &isBlock, CanCrossEditingBoundary);
264 m_endBlock = enclosingNodeOfType(m_upstreamEnd.parentAnchoredEquivalent(), &isBlock, CanCrossEditingBoundary);
294 if (enclosingNodeOfType(m_selectionToDelete.start(), isMailHTMLBlockquoteElement))
643 Node* listItemInFirstParagraph = enclosingNodeOfType(m_upstreamStart, isListItem)
    [all...]
IndentOutdentCommand.cpp 102 Element* enclosingCell = toElement(enclosingNodeOfType(start, &isTableCell));
139 HTMLElement* enclosingElement = toHTMLElement(enclosingNodeOfType(visibleStartOfParagraph.deepEquivalent(), &isHTMLListOrBlockquoteElement));
BreakBlockquoteCommand.cpp 105 while (isFirstVisiblePositionInNode(VisiblePosition(pos), toHTMLQuoteElement(enclosingNodeOfType(pos, isMailHTMLBlockquoteElement))))
ApplyBlockElementCommand.cpp 138 Node* enclosingCell = enclosingNodeOfType(start, &isTableCell);
145 if (enclosingCell && enclosingCell != enclosingNodeOfType(endOfNextParagraph.deepEquivalent(), &isTableCell))
TypingCommand.cpp 377 if (enclosingNodeOfType(endingSelection().start(), &isTableStructureNode)) {
454 Node* enclosingTableCell = enclosingNodeOfType(visibleStart.deepEquivalent(), &isTableCell);
543 Node* enclosingTableCell = enclosingNodeOfType(visibleEnd.deepEquivalent(), &isTableCell);
ReplaceSelectionCommand.cpp 393 bool isInsideMailBlockquote = enclosingNodeOfType(inserted, isMailHTMLBlockquoteElement, CanCrossEditingBoundary);
474 return !enclosingNodeOfType(source.deepEquivalent(), &isMailPasteAsQuotationHTMLBlockQuoteElement)
526 toHTMLQuoteElement(enclosingNodeOfType(firstPositionInNode(context), isMailHTMLBlockquoteElement, CanCrossEditingBoundary));
748 if (isMailPasteAsQuotationHTMLBlockQuoteElement(topNode) || enclosingNodeOfType(firstPositionInOrBeforeNode(topNode), isMailHTMLBlockquoteElement, CanCrossEditingBoundary))
    [all...]
htmlediting.h 76 Node* enclosingNodeOfType(const Position&, bool (*nodeIsOfType)(const Node*), EditingBoundaryCrossingRule = CannotCrossEditingBoundary);
htmlediting.cpp 173 return (node == editableRootForPosition(pos) || node == enclosingNodeOfType(pos, &isTableCell));
206 // Since enclosingNodeOfType won't search beyond the highest root editable node,
208 Element* enclosingCell = toElement(enclosingNodeOfType(p, &isTableCell));
333 Node* enclosingNode = enclosingNodeOfType(firstPositionInOrBeforeNode(node), isBlock, rule);
591 Node* enclosingNodeOfType(const Position& p, bool (*nodeIsOfType)(const Node*), EditingBoundaryCrossingRule rule)
659 return toElement(enclosingNodeOfType(p, isTableCell));
    [all...]
markup.cpp 473 HTMLElement* commonAncestorBlock = toHTMLElement(enclosingNodeOfType(firstPositionInOrBeforeNode(commonAncestor), isHTMLBlockElement));
527 if (Node* parentListNode = enclosingNodeOfType(firstPositionInOrBeforeNode(range->firstNode()), isListItem)) {
    [all...]
CompositeEditCommand.cpp     [all...]
EditingStyle.cpp     [all...]

Completed in 626 milliseconds