Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/core/editing/
DVisiblePosition.h39 #define VP_DEFAULT_AFFINITY DOWNSTREAM macro
55 VisiblePosition() : m_affinity(VP_DEFAULT_AFFINITY) { } in VisiblePosition()
56 VisiblePosition(const Position&, EAffinity = VP_DEFAULT_AFFINITY);
DDeleteSelectionCommand.cpp225 m_trailingWhitespace = m_downstreamEnd.trailingWhitespacePosition(VP_DEFAULT_AFFINITY); in initializePositionData()
231 … bool skipSmartDelete = pos.trailingWhitespacePosition(VP_DEFAULT_AFFINITY, true).isNotNull(); in initializePositionData()
233 …skipSmartDelete = m_downstreamEnd.leadingWhitespacePosition(VP_DEFAULT_AFFINITY, true).isNotNull(); in initializePositionData()
238 … VisiblePosition visiblePos = VisiblePosition(m_upstreamStart, VP_DEFAULT_AFFINITY).previous(); in initializePositionData()
251 …paceBeforeAdjustment && m_downstreamEnd.trailingWhitespacePosition(VP_DEFAULT_AFFINITY, true).isNo… in initializePositionData()
254 pos = VisiblePosition(m_downstreamEnd, VP_DEFAULT_AFFINITY).next().deepEquivalent(); in initializePositionData()
257 m_trailingWhitespace = m_downstreamEnd.trailingWhitespacePosition(VP_DEFAULT_AFFINITY); in initializePositionData()
DInsertParagraphSeparatorCommand.cpp78 VisiblePosition visiblePos(pos, VP_DEFAULT_AFFINITY); in calculateStyleBeforeInsertion()
345 Position leadingWhitespace = insertionPosition.leadingWhitespacePosition(VP_DEFAULT_AFFINITY); in doApply()
DInputMethodController.cpp378 return m_frame.selection().setSelectedRange(range.get(), VP_DEFAULT_AFFINITY, true); in setSelectionOffsets()
Dmarkup.cpp571 VisiblePosition visibleStart(updatedRange->startPosition(), VP_DEFAULT_AFFINITY); in createMarkupInternal()
572 VisiblePosition visibleEnd(updatedRange->endPosition(), VP_DEFAULT_AFFINITY); in createMarkupInternal()
DCompositeEditCommand.cpp850 Position end = VisiblePosition(pos, VP_DEFAULT_AFFINITY).next().deepEquivalent().downstream(); in deleteInsignificantTextDownstream()
935 VisiblePosition visiblePos(pos, VP_DEFAULT_AFFINITY); in moveParagraphContentsToNewBlockIfNecessary()
DApplyStyleCommand.cpp183 …setEndingSelection(VisibleSelection(newStart, newEnd, VP_DEFAULT_AFFINITY, endingSelection().isDir… in updateStartEnd()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderText.cpp524 EAffinity affinity = VP_DEFAULT_AFFINITY; in createPositionWithAffinityForBox()
/external/chromium_org/third_party/WebKit/Source/web/
DWebFrameImpl.cpp1338 frame()->selection().setSelectedRange(range.get(), WebCore::VP_DEFAULT_AFFINITY, false); in selectRange()