Home
last modified time | relevance | path

Searched refs:insertionPos (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/editing/
DReplaceSelectionCommand.cpp717 …c bool handleStyleSpansBeforeInsertion(ReplacementFragment& fragment, const Position& insertionPos) in handleStyleSpansBeforeInsertion() argument
732 …RefPtr<EditingStyle> styleAtInsertionPos = EditingStyle::create(insertionPos.parentAnchoredEquival… in handleStyleSpansBeforeInsertion()
877 inline Node* nodeToSplitToAvoidPastingIntoInlineNodesWithStyle(const Position& insertionPos) in nodeToSplitToAvoidPastingIntoInlineNodesWithStyle() argument
879 Node* containgBlock = enclosingBlock(insertionPos.containerNode()); in nodeToSplitToAvoidPastingIntoInlineNodesWithStyle()
880 …return highestEnclosingNodeOfType(insertionPos, isInlineNodeWithStyle, CannotCrossEditingBoundary,… in nodeToSplitToAvoidPastingIntoInlineNodesWithStyle()
916 Position insertionPos = selection.start(); in doApply() local
917 …bool startIsInsideMailBlockquote = enclosingNodeOfType(insertionPos, isMailBlockquote, CanCrossEdi… in doApply()
944 insertionPos = endingSelection().start(); in doApply()
965 insertionPos = endingSelection().start(); in doApply()
971 …if (startIsInsideMailBlockquote && m_preventNesting && !(enclosingNodeOfType(insertionPos, &isTabl… in doApply()
[all …]
DInsertListCommand.cpp372 Position insertionPos(start.deepEquivalent().upstream()); in listifyParagraph() local
374 Node* listChild = enclosingListChild(insertionPos.deprecatedNode()); in listifyParagraph()
376 insertionPos = positionInParentBeforeNode(listChild); in listifyParagraph()
378 insertNodeAt(listElement, insertionPos); in listifyParagraph()
384 if (insertionPos == start.deepEquivalent()) { in listifyParagraph()
DInsertLineBreakCommand.cpp81 bool InsertLineBreakCommand::shouldUseBreakElement(const Position& insertionPos) in shouldUseBreakElement() argument
86 Position p(insertionPos.parentAnchoredEquivalent()); in shouldUseBreakElement()