Searched refs:enclosingNodeOfType (Results 1 - 8 of 8) sorted by relevance

/external/webkit/WebCore/editing/
H A DDeleteSelectionCommand.cpp177 m_startTableRow = enclosingNodeOfType(start, &isTableRow);
178 m_endTableRow = enclosingNodeOfType(end, &isTableRow);
181 // If the cell is non-editable, enclosingNodeOfType won't return it by default, so
183 Node* startCell = enclosingNodeOfType(m_upstreamStart, &isTableCell, false);
184 Node* endCell = enclosingNodeOfType(m_downstreamEnd, &isTableCell, false);
251 // FIXME: Passing false to enclosingNodeOfType tells it that it's OK to return a non-editable
253 m_startBlock = enclosingNodeOfType(rangeCompliantEquivalent(m_downstreamStart), &isBlock, false);
254 m_endBlock = enclosingNodeOfType(rangeCompliantEquivalent(m_upstreamEnd), &isBlock, false);
H A DIndentOutdentCommand.cpp111 enclosingCell = enclosingNodeOfType(start, &isTableCell);
133 if (enclosingCell && enclosingCell != enclosingNodeOfType(endOfNextParagraph.deepEquivalent(), &isTableCell))
182 Node* enclosingNode = enclosingNodeOfType(visibleStartOfParagraph.deepEquivalent(), &isListOrIndentBlockquote);
H A Dhtmlediting.h65 Node* enclosingNodeOfType(const Position&, bool (*nodeIsOfType)(const Node*), bool onlyReturnEditableNodes = true);
H A Dhtmlediting.cpp189 return (node == editableRootForPosition(pos) || node == enclosingNodeOfType(pos, &isTableCell));
222 // Since enclosingNodeOfType won't search beyond the highest root editable node,
224 Element* enclosingCell = static_cast<Element*>(enclosingNodeOfType(p, &isTableCell, true));
332 return static_cast<Element*>(enclosingNodeOfType(Position(node, 0), isBlock));
684 Node* enclosingNodeOfType(const Position& p, bool (*nodeIsOfType)(const Node*), bool onlyReturnEditableNodes) function in namespace:WebCore
720 return static_cast<Element*>(enclosingNodeOfType(p, isTableCell));
H A DDeleteButtonController.cpp157 // The enclosingNodeOfType function only works on nodes that are editable
162 Node* element = enclosingNodeOfType(Position(container, 0), &isDeletableElement);
H A DReplaceSelectionCommand.cpp443 return !enclosingNodeOfType(source.deepEquivalent(), &isMailPasteAsQuotationNode) &&
802 if (startIsInsideMailBlockquote && m_preventNesting && !(enclosingNodeOfType(insertionPos, &isTableStructureNode))) {
H A DTypingCommand.cpp385 if (enclosingNodeOfType(endingSelection().start(), &isTableStructureNode)) {
H A DCompositeEditCommand.cpp1073 if (enclosingNodeOfType(previous.deepEquivalent(), &isMailBlockquote))

Completed in 67 milliseconds