Home
last modified time | relevance | path

Searched refs:selectionRange (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
DTextPrompt.js371 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 …]
DUIUtils.js334 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);
DDOMExtension.js366 var selectionRange = selection.getRangeAt(0);
367 return selectionRange.startContainer.isSelfOrDescendant(this);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sources/
DTabbedEditorContainer.js382 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/
DContextMenuClientImpl.cpp163 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()
DWebRemoteFrameImpl.h117 virtual WebRange selectionRange() const OVERRIDE;
DWebLocalFrameImpl.h166 virtual WebRange selectionRange() const OVERRIDE;
DWebRemoteFrameImpl.cpp581 WebRange WebRemoteFrameImpl::selectionRange() const in selectionRange() function in blink::WebRemoteFrameImpl
DWebLocalFrameImpl.cpp1106 WebRange WebLocalFrameImpl::selectionRange() const in selectionRange() function in blink::WebLocalFrameImpl
/external/chromium_org/chrome/browser/ui/cocoa/autofill/
Dautofill_textfield.mm90 NSRange selectionRange = [textView selectedRange];
91 if (selectionRange.location < [[textView string] length])
95 NSRange lineRange = [[textView string] lineRangeForRange:selectionRange];
/external/chromium_org/ui/views/cocoa/
Dbridged_content_view.mm202 gfx::Range selectionRange;
203 if (!textInputClient_->GetSelectionRange(&selectionRange))
207 textInputClient_->GetTextFromRange(selectionRange, &text);
/external/chromium_org/third_party/WebKit/Source/core/page/
DDragController.cpp750 RefPtrWillBeRawPtr<Range> selectionRange = src->selection().toNormalizedRange(); in populateDragDataTransfer() local
751 ASSERT(selectionRange); in populateDragDataTransfer()
753 dataTransfer->writeRange(selectionRange.get(), src); in populateDragDataTransfer()
DEventHandler.cpp2751 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/
Dtext_input_controller.cc222 blink::WebRange range = view_->mainFrame()->selectionRange(); in SelectedRange()
/external/chromium_org/third_party/WebKit/public/web/
DWebFrame.h446 virtual WebRange selectionRange() const = 0;
/external/chromium_org/third_party/WebKit/Source/core/editing/
DSpellChecker.cpp640 … 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/
DWebFrameTest.cpp2998 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/
Drender_view_impl.cc2648 WebRange current_selection = focused_frame->selectionRange(); in OnFind()
Drender_frame_impl.cc1366 surroundingText.initialize(frame_->selectionRange(), max_length); in OnTextSurroundingSelectionRequest()