Searched refs:caretMaxOffset (Results 1 - 24 of 24) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderBR.cpp63 int RenderBR::caretMaxOffset() const function in class:blink::RenderBR
H A DRenderBR.h50 virtual int caretMaxOffset() const OVERRIDE;
H A DInlineBox.h249 virtual int caretMaxOffset() const;
255 int caretLeftmostOffset() const { return isLeftToRightDirection() ? caretMinOffset() : caretMaxOffset(); }
256 int caretRightmostOffset() const { return isLeftToRightDirection() ? caretMaxOffset() : caretMinOffset(); }
H A DInlineBox.cpp154 int InlineBox::caretMaxOffset() const function in class:blink::InlineBox
156 return renderer().caretMaxOffset();
H A DInlineTextBox.h148 virtual int caretMaxOffset() const OVERRIDE FINAL;
H A DRenderText.h126 virtual int caretMaxOffset() const OVERRIDE;
H A DRenderText.cpp562 box->isLeftToRightDirection() ? rightmostBox->caretMaxOffset() : rightmostBox->caretMinOffset(), shouldAffinityBeDownstream);
593 box->isLeftToRightDirection() ? leftmostBox->caretMinOffset() : leftmostBox->caretMaxOffset(), shouldAffinityBeDownstream);
1639 int RenderText::caretMaxOffset() const function in class:blink::RenderText
H A DRenderReplaced.cpp487 return createPositionWithAffinity(caretMaxOffset(), DOWNSTREAM); // coordinates are below
H A DRenderBlock.cpp2586 return createLegacyEditingPosition(nonPseudoNode(), start ? caretMinOffset() : caretMaxOffset());
2589 return createLegacyEditingPosition(box->renderer().nonPseudoNode(), start ? box->renderer().caretMinOffset() : box->renderer().caretMaxOffset());
2744 return createPositionWithAffinity(caretMaxOffset(), DOWNSTREAM);
2748 return createPositionWithAffinity(caretMaxOffset(), DOWNSTREAM);
H A DInlineTextBox.cpp1155 int InlineTextBox::caretMaxOffset() const function in class:blink::InlineTextBox
H A DRenderObject.h962 virtual int caretMaxOffset() const;
H A DRenderObject.cpp2874 int RenderObject::caretMaxOffset() const function in class:blink::RenderObject
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DVisiblePosition.cpp156 int caretMaxOffset = box->caretMaxOffset(); local
158 if (offset > caretMinOffset && offset < caretMaxOffset)
161 if (box->isLeftToRightDirection() ? offset < caretMinOffset : offset > caretMaxOffset) {
195 offset = primaryDirection == LTR ? box->caretMinOffset() : box->caretMaxOffset();
256 offset = primaryDirection == LTR ? box->caretMinOffset() : box->caretMaxOffset();
321 int caretMaxOffset = box->caretMaxOffset(); local
323 if (offset > caretMinOffset && offset < caretMaxOffset)
326 if (box->isLeftToRightDirection() ? offset > caretMaxOffset
[all...]
H A DInsertLineBreakCommand.cpp114 } else if (pos.deprecatedEditingOffset() >= caretMaxOffset(pos.deprecatedNode()) || !pos.deprecatedNode()->isTextNode()) {
H A DDeleteSelectionCommand.cpp464 if (startOffset >= caretMaxOffset(startNode) && startNode->isTextNode()) {
466 if (text->length() > (unsigned)caretMaxOffset(startNode))
467 deleteTextFromNode(text, caretMaxOffset(startNode), text->length() - caretMaxOffset(startNode));
528 if (m_downstreamEnd.deprecatedNode() == n && m_downstreamEnd.deprecatedEditingOffset() >= caretMaxOffset(&n)) {
H A Dhtmlediting.h86 int caretMaxOffset(const Node*);
H A DApplyStyleCommand.cpp375 if (startNode->isTextNode() && start.deprecatedEditingOffset() >= caretMaxOffset(startNode)) // Move out of text node if range does not include its characters.
692 if (start.deprecatedEditingOffset() >= caretMaxOffset(start.deprecatedNode())) {
699 if (end.deprecatedEditingOffset() >= caretMaxOffset(end.deprecatedNode()))
1272 return offsetInText > caretMinOffset(node) && offsetInText < caretMaxOffset(node);
H A DDOMSelection.cpp347 if (offset > (node->offsetInCharacters() ? caretMaxOffset(node) : (int)node->countChildren())) {
H A DInsertParagraphSeparatorCommand.cpp400 if (splitTo->isTextNode() && insertionPosition.offsetInContainerNode() >= caretMaxOffset(splitTo))
H A DVisibleUnits.cpp95 createLegacyEditingPosition(previousNode, caretMaxOffset(previousNode));
386 else if (offsetInBox == box->caretMaxOffset())
1217 offset = r->caretMaxOffset();
H A Dhtmlediting.cpp1039 int caretMaxOffset(const Node* n) function in namespace:blink
1043 return n->renderer()->caretMaxOffset();
H A DCompositeEditCommand.cpp351 else if (refChild->isTextNode() && caretMaxOffset(refChild) > offset) {
555 if (pos.offsetInContainerNode() >= caretMaxOffset(pos.containerNode()))
H A DTextIterator.cpp997 int offset = caretMaxOffset(node);
1531 m_offset = firstLetterRenderer->caretMaxOffset();
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DPosition.cpp539 PositionIterator lastVisible = m_anchorType == PositionIsAfterAnchor ? createLegacyEditingPosition(m_anchorNode.get(), caretMaxOffset(m_anchorNode.get())) : *this;
598 //ASSERT(currentOffset >= renderer->caretMaxOffset());
599 return createLegacyEditingPosition(currentNode, renderer->caretMaxOffset());
662 PositionIterator lastVisible = m_anchorType == PositionIsAfterAnchor ? createLegacyEditingPosition(m_anchorNode.get(), caretMaxOffset(m_anchorNode.get())) : *this;
976 WTF_LOG(Editing, "node min/max: %d:%d\n", caretMinOffset(deprecatedNode()), caretMaxOffset(deprecatedNode()));
977 WTF_LOG(Editing, "pos node min/max: %d:%d\n", caretMinOffset(pos.deprecatedNode()), caretMaxOffset(pos.deprecatedNode()));
989 && thisRenderedOffset == caretMaxOffset(deprecatedNode()) && !posRenderedOffset) {
994 && !thisRenderedOffset && posRenderedOffset == caretMaxOffset(pos.deprecatedNode())) {
1085 if (!inlineBox || (caretOffset > inlineBox->caretMinOffset() && caretOffset < inlineBox->caretMaxOffset()))
1096 int caretMaxOffset local
[all...]

Completed in 1575 milliseconds