Searched refs:enclosingNodeOfType (Results 1 - 8 of 8) sorted by relevance
/external/webkit/WebCore/editing/ |
H A D | DeleteSelectionCommand.cpp | 177 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 D | IndentOutdentCommand.cpp | 111 enclosingCell = enclosingNodeOfType(start, &isTableCell); 133 if (enclosingCell && enclosingCell != enclosingNodeOfType(endOfNextParagraph.deepEquivalent(), &isTableCell)) 182 Node* enclosingNode = enclosingNodeOfType(visibleStartOfParagraph.deepEquivalent(), &isListOrIndentBlockquote);
|
H A D | htmlediting.h | 65 Node* enclosingNodeOfType(const Position&, bool (*nodeIsOfType)(const Node*), bool onlyReturnEditableNodes = true);
|
H A D | htmlediting.cpp | 189 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 D | DeleteButtonController.cpp | 157 // The enclosingNodeOfType function only works on nodes that are editable 162 Node* element = enclosingNodeOfType(Position(container, 0), &isDeletableElement);
|
H A D | ReplaceSelectionCommand.cpp | 443 return !enclosingNodeOfType(source.deepEquivalent(), &isMailPasteAsQuotationNode) && 802 if (startIsInsideMailBlockquote && m_preventNesting && !(enclosingNodeOfType(insertionPos, &isTableStructureNode))) {
|
H A D | TypingCommand.cpp | 385 if (enclosingNodeOfType(endingSelection().start(), &isTableStructureNode)) {
|
H A D | CompositeEditCommand.cpp | 1073 if (enclosingNodeOfType(previous.deepEquivalent(), &isMailBlockquote))
|
Completed in 67 milliseconds