/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/ |
D | TextPrompt.js | 371 var selectionRange = selection.getRangeAt(0); 380 …var wordSuffixRange = selectionRange.startContainer.rangeOfWord(selectionRange.endOffset, this._co… 389 …var wordPrefixRange = selectionRange.startContainer.rangeOfWord(selectionRange.startOffset, this._… 451 var selectionRange = selection.getRangeAt(0); 455 fullWordRange.setEnd(selectionRange.endContainer, selectionRange.endOffset); 457 … if (originalWordPrefixRange.toString() + selectionRange.toString() !== fullWordRange.toString()) 628 var selectionRange = selection.getRangeAt(0); 629 var node = selectionRange.startContainer; 633 if (node.nodeType === Node.TEXT_NODE && selectionRange.startOffset < node.nodeValue.length) 703 var selectionRange = document.createRange(); [all …]
|
D | UIUtils.js | 334 var selectionRange = selection.getRangeAt(0); 335 if (!selectionRange.commonAncestorContainer.isSelfOrDescendant(element)) 339 …var wordRange = selectionRange.startContainer.rangeOfWord(selectionRange.startOffset, WebInspector… 651 var selectionRange = WebInspector._currentFocusElement.ownerDocument.createRange(); 652 selectionRange.setStart(WebInspector._currentFocusElement, 0); 653 selectionRange.setEnd(WebInspector._currentFocusElement, 0); 656 selection.addRange(selectionRange);
|
D | DOMExtension.js | 366 var selectionRange = selection.getRangeAt(0); 367 return selectionRange.startContainer.isSelfOrDescendant(this);
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sources/ |
D | TabbedEditorContainer.js | 382 var savedSelectionRange = this._history.selectionRange(uiSourceCode.uri()); 526 WebInspector.TabbedEditorContainer.HistoryItem = function(url, selectionRange, scrollLineNumber) argument 530 this.selectionRange = selectionRange; 542 …var selectionRange = serializedHistoryItem.selectionRange ? WebInspector.TextRange.fromObject(seri… 543 …spector.TabbedEditorContainer.HistoryItem(serializedHistoryItem.url, selectionRange, serializedHis… 556 serializedHistoryItem.selectionRange = this.selectionRange; 610 selectionRange: function(url) method in WebInspector.TabbedEditorContainer.History 613 return index !== -1 ? this._items[index].selectionRange : undefined; 620 updateSelectionRange: function(url, selectionRange) argument 622 if (!selectionRange) [all …]
|
/external/chromium_org/third_party/WebKit/Source/web/ |
D | ContextMenuClientImpl.cpp | 163 RefPtrWillBeRawPtr<Range> selectionRange = selection.toNormalizedRange(); in selectMisspellingAsync() local 164 …Vector markers = selectedFrame->document()->markers().markersInRange(selectionRange.get(), Documen… in selectMisspellingAsync() 171 RefPtrWillBeRawPtr<Range> markerRange = selectionRange->cloneRange(); in selectMisspellingAsync() 175 …if (markerRange->text().stripWhiteSpace(&IsWhiteSpaceOrPunctuation) != selectionRange->text().stri… in selectMisspellingAsync()
|
D | WebRemoteFrameImpl.h | 117 virtual WebRange selectionRange() const OVERRIDE;
|
D | WebLocalFrameImpl.h | 166 virtual WebRange selectionRange() const OVERRIDE;
|
D | WebRemoteFrameImpl.cpp | 581 WebRange WebRemoteFrameImpl::selectionRange() const in selectionRange() function in blink::WebRemoteFrameImpl
|
D | WebLocalFrameImpl.cpp | 1106 WebRange WebLocalFrameImpl::selectionRange() const in selectionRange() function in blink::WebLocalFrameImpl
|
/external/chromium_org/chrome/browser/ui/cocoa/autofill/ |
D | autofill_textfield.mm | 90 NSRange selectionRange = [textView selectedRange]; 91 if (selectionRange.location < [[textView string] length]) 95 NSRange lineRange = [[textView string] lineRangeForRange:selectionRange];
|
/external/chromium_org/ui/views/cocoa/ |
D | bridged_content_view.mm | 202 gfx::Range selectionRange; 203 if (!textInputClient_->GetSelectionRange(&selectionRange)) 207 textInputClient_->GetTextFromRange(selectionRange, &text);
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
D | DragController.cpp | 750 RefPtrWillBeRawPtr<Range> selectionRange = src->selection().toNormalizedRange(); in populateDragDataTransfer() local 751 ASSERT(selectionRange); in populateDragDataTransfer() 753 dataTransfer->writeRange(selectionRange.get(), src); in populateDragDataTransfer()
|
D | EventHandler.cpp | 2751 RefPtrWillBeRawPtr<Range> selectionRange = selection.toNormalizedRange(); in sendContextMenuEventForKey() local 2752 IntRect firstRect = m_frame->editor().firstRectForRange(selectionRange.get()); in sendContextMenuEventForKey()
|
/external/chromium_org/content/shell/renderer/test_runner/ |
D | text_input_controller.cc | 222 blink::WebRange range = view_->mainFrame()->selectionRange(); in SelectedRange()
|
/external/chromium_org/third_party/WebKit/public/web/ |
D | WebFrame.h | 446 virtual WebRange selectionRange() const = 0;
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
D | SpellChecker.cpp | 640 … RefPtrWillBeRawPtr<Range> selectionRange = extendedParagraph.subrange(0, selectionOffset); in markAndReplaceFor() local 641 frame().selection().moveTo(selectionRange->endPosition(), DOWNSTREAM); in markAndReplaceFor()
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
D | WebFrameTest.cpp | 2998 WebRange range = frame->selectionRange(); in TEST_F() 3007 range = frame->selectionRange(); in TEST_F() 3017 range = frame->selectionRange(); in TEST_F() 3027 range = frame->selectionRange(); in TEST_F() 3039 range = frame->selectionRange(); in TEST_F() 3680 EXPECT_FALSE(frame->selectionRange().isNull()); in TEST_F() 3728 EXPECT_FALSE(frame->selectionRange().isNull()); in TEST_F() 4511 RefPtrWillBeRawPtr<Range> selectionRange = frame->frame()->selection().toNormalizedRange(); in TEST_F() local 4514 …EXPECT_EQ(1U, document->markers().markersInRange(selectionRange.get(), DocumentMarker::Spelling).s… in TEST_F() 4544 RefPtrWillBeRawPtr<Range> selectionRange = frame->frame()->selection().toNormalizedRange(); in TEST_F() local [all …]
|
/external/chromium_org/content/renderer/ |
D | render_view_impl.cc | 2648 WebRange current_selection = focused_frame->selectionRange(); in OnFind()
|
D | render_frame_impl.cc | 1366 surroundingText.initialize(frame_->selectionRange(), max_length); in OnTextSurroundingSelectionRequest()
|