/external/chromium_org/third_party/WebKit/Source/core/editing/ |
TextAffinity.h | 39 enum EAffinity { UPSTREAM = 0, DOWNSTREAM = 1 };
|
VisibleSelection.h | 71 VisiblePosition visibleEnd() const { return VisiblePosition(m_end, isRange() ? UPSTREAM : affinity()); } 72 VisiblePosition visibleBase() const { return VisiblePosition(m_base, isRange() ? (isBaseFirst() ? UPSTREAM : DOWNSTREAM) : affinity()); } 73 VisiblePosition visibleExtent() const { return VisiblePosition(m_extent, isRange() ? (isBaseFirst() ? DOWNSTREAM : UPSTREAM) : affinity()); } 97 // text, and moves the caret upstream before returning the range. 139 EAffinity m_affinity; // the upstream/downstream affinity of the caret
|
VisiblePosition.h | 38 // is cheaper than UPSTREAM 42 // but would like UPSTREAM if at a line break or DOWNSTREAM 44 // constructors auto-correct UPSTREAM to DOWNSTREAM if the 46 #define VP_UPSTREAM_IF_POSSIBLE UPSTREAM 53 // NOTE: UPSTREAM affinity will be used only if pos is at end of a wrapped line, 66 EAffinity affinity() const { ASSERT(m_affinity == UPSTREAM || m_affinity == DOWNSTREAM); return m_affinity; }
|
VisiblePosition.cpp | 69 if (m_affinity == UPSTREAM && (isNull() || inSameLine(VisiblePosition(position, DOWNSTREAM), *this))) 102 // UPSTREAM position can never yield another UPSTREAM position (unless line wrap length is 0!). 103 if (prev.isNotNull() && m_affinity == UPSTREAM) { 105 temp.setAffinity(UPSTREAM); 553 Position upstream = candidate.upstream(); local 554 if (upstream.isCandidate()) 555 return upstream; 570 // unless the affinity is upstream [all...] |
Editor.cpp | [all...] |
FrameSelection.cpp | 601 pos = isForward ? positionAfterNode(rootUserSelectAll).downstream(CanCrossEditingBoundary) : positionBeforeNode(rootUserSelectAll).upstream(CanCrossEditingBoundary); [all...] |
VisibleUnits.cpp | 367 adjacentCharacterPosition.deepEquivalent().getInlineBoxAndOffset(UPSTREAM, box, offsetInBox); 609 // generate VisiblePosition, use UPSTREAM affinity if possible [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLTextFormControlElement.cpp | 324 return VisiblePosition(it.range()->endPosition(), UPSTREAM);
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
Position.cpp | 417 Position prevPosition = upstream(CanCrossEditingBoundary); 564 // upstream() and downstream() want to return positions that are either in a 581 // Also, upstream() will return [boundary, 0] for any of the positions from [boundary, 0] to the first candidate 583 Position Position::upstream(EditingBoundaryCrossingRule rule) const function in class:WebCore::Position 699 // This function and upstream() are used for moving back and forth between visually equivalent candidates. 702 // and upstream() will return the left one. [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderTreeAsText.cpp | 774 if (selection.affinity() == UPSTREAM) 775 ts << " (upstream affinity)"; [all...] |
RenderBlock.cpp | [all...] |
/external/chromium_org/third_party/WebKit/Source/web/ |
AssertMatchingEnums.cpp | 487 COMPILE_ASSERT_MATCHING_ENUM(WebTextAffinityUpstream, UPSTREAM); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/accessibility/ |
AXRenderObject.cpp | [all...] |