Home
last modified time | relevance | path

Searched refs:VP_DEFAULT_AFFINITY (Results 1 – 7 of 7) sorted by relevance

/external/webkit/Source/WebCore/editing/
DVisiblePosition.h40 #define VP_DEFAULT_AFFINITY DOWNSTREAM macro
55 VisiblePosition() : m_affinity(VP_DEFAULT_AFFINITY) { } in VisiblePosition()
56 VisiblePosition(const Position&, EAffinity = VP_DEFAULT_AFFINITY);
DDeleteSelectionCommand.cpp223 m_trailingWhitespace = m_downstreamEnd.trailingWhitespacePosition(VP_DEFAULT_AFFINITY); in initializePositionData()
229 … bool skipSmartDelete = pos.trailingWhitespacePosition(VP_DEFAULT_AFFINITY, true).isNotNull(); in initializePositionData()
231 …skipSmartDelete = m_downstreamEnd.leadingWhitespacePosition(VP_DEFAULT_AFFINITY, true).isNotNull(); in initializePositionData()
236 … VisiblePosition visiblePos = VisiblePosition(m_upstreamStart, VP_DEFAULT_AFFINITY).previous(); in initializePositionData()
249 …paceBeforeAdjustment && m_downstreamEnd.trailingWhitespacePosition(VP_DEFAULT_AFFINITY, true).isNo… in initializePositionData()
252 pos = VisiblePosition(m_downstreamEnd, VP_DEFAULT_AFFINITY).next().deepEquivalent(); in initializePositionData()
255 m_trailingWhitespace = m_downstreamEnd.trailingWhitespacePosition(VP_DEFAULT_AFFINITY); in initializePositionData()
DInsertParagraphSeparatorCommand.cpp78 VisiblePosition visiblePos(pos, VP_DEFAULT_AFFINITY); in calculateStyleBeforeInsertion()
309 Position leadingWhitespace = insertionPosition.leadingWhitespacePosition(VP_DEFAULT_AFFINITY); in doApply()
Dmarkup.cpp562 VisiblePosition visibleStart(updatedRange->startPosition(), VP_DEFAULT_AFFINITY); in createMarkup()
563 VisiblePosition visibleEnd(updatedRange->endPosition(), VP_DEFAULT_AFFINITY); in createMarkup()
DCompositeEditCommand.cpp623 Position end = VisiblePosition(pos, VP_DEFAULT_AFFINITY).next().deepEquivalent().downstream(); in deleteInsignificantTextDownstream()
707 VisiblePosition visiblePos(pos, VP_DEFAULT_AFFINITY); in moveParagraphContentsToNewBlockIfNecessary()
DApplyStyleCommand.cpp184 setEndingSelection(VisibleSelection(newStart, newEnd, VP_DEFAULT_AFFINITY)); in updateStartEnd()
/external/webkit/Source/WebKit/mac/WebView/
DWebFrame.mm1110 VisiblePosition startVisiblePos = VisiblePosition(startPos, VP_DEFAULT_AFFINITY);
1111 VisiblePosition endVisiblePos = VisiblePosition(endPos, VP_DEFAULT_AFFINITY);
1117 …bool addLeadingSpace = startPos.leadingWhitespacePosition(VP_DEFAULT_AFFINITY, true).isNull() && !…
1122 …bool addTrailingSpace = endPos.trailingWhitespacePosition(VP_DEFAULT_AFFINITY, true).isNull() && !…