Searched refs:originalRange (Results 1 – 2 of 2) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/common/ |
D | TextRange.js | 213 rebaseAfterTextEdit: function(originalRange, editedRange) argument 215 console.assert(originalRange.startLine === editedRange.startLine); 216 console.assert(originalRange.startColumn === editedRange.startColumn); 218 if (!this.follows(originalRange)) 220 var lineDelta = editedRange.endLine - originalRange.endLine; 221 var columnDelta = editedRange.endColumn - originalRange.endColumn;
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
D | DOMSelection.cpp | 416 RefPtrWillBeRawPtr<Range> originalRange = selection.firstRange(); in addRange() local 418 if (originalRange->startContainer()->document() != newRange->startContainer()->document()) { in addRange() 422 if (originalRange->startContainer()->treeScope() != newRange->startContainer()->treeScope()) { in addRange() 427 if (originalRange->compareBoundaryPoints(Range::START_TO_END, newRange, ASSERT_NO_EXCEPTION) < 0 in addRange() 428 …|| newRange->compareBoundaryPoints(Range::START_TO_END, originalRange.get(), ASSERT_NO_EXCEPTION) … in addRange() 438 …Range* start = originalRange->compareBoundaryPoints(Range::START_TO_START, newRange, ASSERT_NO_EXC… in addRange() 439 …Range* end = originalRange->compareBoundaryPoints(Range::END_TO_END, newRange, ASSERT_NO_EXCEPTION… in addRange() 440 …RefPtrWillBeRawPtr<Range> merged = Range::create(originalRange->startContainer()->document(), star… in addRange()
|