/external/webkit/Source/WebCore/editing/ |
VisiblePosition.h | 55 VisiblePosition() : m_affinity(VP_DEFAULT_AFFINITY) { } 65 EAffinity affinity() const { ASSERT(m_affinity == UPSTREAM || m_affinity == DOWNSTREAM); return m_affinity; } 66 void setAffinity(EAffinity affinity) { m_affinity = affinity; } 86 m_deepPosition.getInlineBoxAndOffset(m_affinity, inlineBox, caretOffset); 91 m_deepPosition.getInlineBoxAndOffset(m_affinity, primaryDirection, inlineBox, caretOffset); 116 EAffinity m_affinity; member in class:WebCore::VisiblePosition
|
VisibleSelection.h | 57 void setAffinity(EAffinity affinity) { m_affinity = affinity; } 58 EAffinity affinity() const { return m_affinity; } 128 EAffinity m_affinity; // the upstream/downstream affinity of the caret member in class:WebCore::VisibleSelection
|
VisiblePosition.cpp | 54 m_affinity = affinity; 59 if (m_affinity == UPSTREAM && (isNull() || inSameLine(VisiblePosition(position, DOWNSTREAM), *this))) 60 m_affinity = DOWNSTREAM; 67 VisiblePosition next(nextVisuallyDistinctCandidate(m_deepPosition), m_affinity); local 92 if (prev.isNotNull() && m_affinity == UPSTREAM) { 117 p.getInlineBoxAndOffset(m_affinity, primaryDirection, box, offset); 145 positionOnLeft.getInlineBoxAndOffset(m_affinity, primaryDirection, boxOnLeft, offsetOnLeft); 268 p.getInlineBoxAndOffset(m_affinity, primaryDirection, box, offset); 296 positionOnRight.getInlineBoxAndOffset(m_affinity, primaryDirection, boxOnRight, offsetOnRight);
|