Home
last modified time | relevance | path

Searched refs:passedPosition (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLTextFormControlElement.cpp317 static int indexForPosition(HTMLElement* innerEditor, const Position& passedPosition) in indexForPosition() argument
319 …if (!innerEditor || !innerEditor->contains(passedPosition.anchorNode()) || passedPosition.isNull()) in indexForPosition()
322 if (positionBeforeNode(innerEditor) == passedPosition) in indexForPosition()
326 Node* startNode = passedPosition.computeNodeBeforePosition(); in indexForPosition()
328 startNode = passedPosition.containerNode(); in indexForPosition()
335 if (node == passedPosition.containerNode()) in indexForPosition()
336 index += std::min(length, passedPosition.offsetInContainerNode()); in indexForPosition()
/external/chromium_org/third_party/WebKit/Source/core/editing/
DVisiblePosition.cpp558 Position VisiblePosition::canonicalPosition(const Position& passedPosition) in canonicalPosition() argument
563 Position position = passedPosition; in canonicalPosition()