Searched refs:selectionRange (Results 1 - 18 of 18) sorted by relevance

/external/webkit/Source/WebCore/inspector/front-end/
H A DTextPrompt.js173 var selectionRange = document.createRange(); variable
174 selectionRange.setStart(userTextNode, this._userEnteredText.length);
175 selectionRange.setEnd(userTextNode, this._userEnteredText.length);
179 selection.addRange(selectionRange);
198 var selectionRange = selection.getRangeAt(0);
199 var isEmptyInput = selectionRange.commonAncestorContainer === this.element; // this.element has no child Text nodes.
204 if (!auto && !isEmptyInput && !selectionRange.commonAncestorContainer.isDescendant(this.element))
208 var wordPrefixRange = selectionRange.startContainer.rangeOfWord(selectionRange.startOffset, this.completionStopCharacters, this.element, "backward");
217 var selectionRange variable
389 var selectionRange = document.createRange(); variable
[all...]
H A DTextViewer.js1237 var selectionRange = selection.getRangeAt(0);
1239 if (!this._container.isAncestor(selectionRange.startContainer) || !this._container.isAncestor(selectionRange.endContainer))
1241 var start = this._selectionToPosition(selectionRange.startContainer, selectionRange.startOffset);
1242 var end = selectionRange.collapsed ? start : this._selectionToPosition(selectionRange.endContainer, selectionRange.endOffset);
1243 if (selection.anchorNode === selectionRange.startContainer && selection.anchorOffset === selectionRange
[all...]
H A DStylesSidebarPane.js1639 var selectionRange = selection.getRangeAt(0);
1640 if (selectionRange.commonAncestorContainer !== this.valueElement && !selectionRange.commonAncestorContainer.isDescendant(this.valueElement))
1643 var wordRange = selectionRange.startContainer.rangeOfWord(selectionRange.startOffset, WebInspector.StylesSidebarPane.StyleValueDelimiters, this.valueElement);
2004 var selectionRange = selection.getRangeAt(0);
2005 if (!selectionRange.commonAncestorContainer.isDescendant(this.element))
2007 var wordSuffixRange = selectionRange.startContainer.rangeOfWord(selectionRange.startOffset, WebInspector.StylesSidebarPane.StyleValueDelimiters, this.element, "forward");
H A Dinspector.js130 var selectionRange = this._currentFocusElement.ownerDocument.createRange();
131 selectionRange.setStart(this._currentFocusElement, 0);
132 selectionRange.setEnd(this._currentFocusElement, 0);
135 selection.addRange(selectionRange);
H A Dutilities.js247 var selectionRange = selection.getRangeAt(0);
248 return selectionRange.startContainer === this || selectionRange.startContainer.isDescendant(this);
/external/webkit/Source/WebKit/chromium/public/
H A DWebWidget.h132 virtual bool selectionRange(WebPoint& start, WebPoint& end) const = 0;
H A DWebFrame.h417 virtual WebRange selectionRange() const = 0;
/external/webkit/Source/WebKit/chromium/src/
H A DWebPopupMenuImpl.h81 virtual bool selectionRange(WebPoint& start, WebPoint& end) const { return false; } function in class:WebKit::WebPopupMenuImpl
H A DWebFrameImpl.h161 virtual WebRange selectionRange() const;
H A DWebViewImpl.h112 virtual bool selectionRange(WebPoint& start, WebPoint& end) const;
H A DWebFrameImpl.cpp1275 WebRange WebFrameImpl::selectionRange() const function in class:WebKit::WebFrameImpl
H A DWebViewImpl.cpp1441 bool WebViewImpl::selectionRange(WebPoint& start, WebPoint& end) const function in class:WebKit::WebViewImpl
/external/webkit/Source/WebKit/chromium/tests/
H A DPopupMenuTest.cpp145 virtual bool selectionRange(WebPoint& start, WebPoint& end) const { return false; } function in class:__anon12030::TestWebWidget
/external/webkit/Tools/DumpRenderTree/chromium/
H A DTextInputController.cpp173 WebRange range = mainFrame->selectionRange();
/external/webkit/Source/WebCore/loader/archive/cf/
H A DLegacyWebArchive.cpp566 RefPtr<Range> selectionRange = frame->selection()->toNormalizedRange();
568 String markupString = frame->documentTypeString() + createMarkup(selectionRange.get(), &nodeList, AnnotateForInterchange);
/external/webkit/Source/WebCore/page/
H A DDragController.cpp760 RefPtr<Range> selectionRange = src->selection()->toNormalizedRange(); local
761 ASSERT(selectionRange);
763 clipboard->writeRange(selectionRange.get(), src);
/external/webkit/Source/WebCore/editing/
H A DEditor.cpp2306 RefPtr<Range> selectionRange = spellingParagraph.subrange(0, selectionOffset); local
2307 m_frame->selection()->moveTo(selectionRange->endPosition(), DOWNSTREAM);
/external/webkit/Source/WebKit/mac/WebView/
H A DWebHTMLView.mm5404 typedef void (*ServiceWindowShowFunction)(id unusedDictionaryRef, id inWordString, CFRange selectionRange, id unusedFont, CGPoint textOrigin, Boolean verticalText, id unusedTransform);

Completed in 886 milliseconds