/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; } 90 m_deepPosition.getInlineBoxAndOffset(m_affinity, inlineBox, caretOffset); 95 m_deepPosition.getInlineBoxAndOffset(m_affinity, primaryDirection, inlineBox, caretOffset); 120 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; } 139 EAffinity m_affinity; // the upstream/downstream affinity of the caret member in class:WebCore::VisibleSelection
|
VisiblePosition.cpp | 64 m_affinity = affinity; 69 if (m_affinity == UPSTREAM && (isNull() || inSameLine(VisiblePosition(position, DOWNSTREAM), *this))) 70 m_affinity = DOWNSTREAM; 75 VisiblePosition next(nextVisuallyDistinctCandidate(m_deepPosition), m_affinity); local 103 if (prev.isNotNull() && m_affinity == UPSTREAM) { 135 p.getInlineBoxAndOffset(m_affinity, primaryDirection, box, offset); 172 positionOnLeft.getInlineBoxAndOffset(m_affinity, primaryDirection, boxOnLeft, offsetOnLeft); 300 p.getInlineBoxAndOffset(m_affinity, primaryDirection, box, offset); 337 positionOnRight.getInlineBoxAndOffset(m_affinity, primaryDirection, boxOnRight, offsetOnRight);
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
Position.h | 323 : m_affinity(DOWNSTREAM) 329 , m_affinity(affinity) 333 EAffinity affinity() const { return m_affinity; } 338 EAffinity m_affinity; member in class:WebCore::PositionWithAffinity
|