/external/chromium_org/third_party/WebKit/Source/core/editing/ |
VisiblePosition.h | 55 VisiblePosition() : m_affinity(VP_DEFAULT_AFFINITY) { } 66 EAffinity affinity() const { ASSERT(m_affinity == UPSTREAM || m_affinity == DOWNSTREAM); return m_affinity; } 67 void setAffinity(EAffinity affinity) { m_affinity = affinity; } 88 m_deepPosition.getInlineBoxAndOffset(m_affinity, inlineBox, caretOffset); 93 m_deepPosition.getInlineBoxAndOffset(m_affinity, primaryDirection, inlineBox, caretOffset); 118 EAffinity m_affinity; member in class:WebCore::VisiblePosition
|
VisibleSelection.h | 58 void setAffinity(EAffinity affinity) { m_affinity = affinity; } 59 EAffinity affinity() const { return m_affinity; } 140 EAffinity m_affinity; // the upstream/downstream affinity of the caret member in class:WebCore::VisibleSelection
|
VisiblePosition.cpp | 61 m_affinity = affinity; 66 if (m_affinity == UPSTREAM && (isNull() || inSameLine(VisiblePosition(position, DOWNSTREAM), *this))) 67 m_affinity = DOWNSTREAM; 74 VisiblePosition next(nextVisuallyDistinctCandidate(m_deepPosition), m_affinity); local 99 if (prev.isNotNull() && m_affinity == UPSTREAM) { 124 p.getInlineBoxAndOffset(m_affinity, primaryDirection, box, offset); 161 positionOnLeft.getInlineBoxAndOffset(m_affinity, primaryDirection, boxOnLeft, offsetOnLeft); 289 p.getInlineBoxAndOffset(m_affinity, primaryDirection, box, offset); 326 positionOnRight.getInlineBoxAndOffset(m_affinity, primaryDirection, boxOnRight, offsetOnRight);
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
Position.h | 322 : m_affinity(DOWNSTREAM) 328 , m_affinity(affinity) 332 EAffinity affinity() const { return m_affinity; } 337 EAffinity m_affinity; member in class:WebCore::PositionWithAffinity
|