/external/webkit/Source/WebCore/inspector/front-end/ |
H A D | TextPrompt.js | 173 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 D | TextViewer.js | 1237 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 D | StylesSidebarPane.js | 1639 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 D | inspector.js | 130 var selectionRange = this._currentFocusElement.ownerDocument.createRange(); 131 selectionRange.setStart(this._currentFocusElement, 0); 132 selectionRange.setEnd(this._currentFocusElement, 0); 135 selection.addRange(selectionRange);
|
H A D | utilities.js | 247 var selectionRange = selection.getRangeAt(0); 248 return selectionRange.startContainer === this || selectionRange.startContainer.isDescendant(this);
|
/external/webkit/Source/WebKit/chromium/public/ |
H A D | WebWidget.h | 132 virtual bool selectionRange(WebPoint& start, WebPoint& end) const = 0;
|
H A D | WebFrame.h | 417 virtual WebRange selectionRange() const = 0;
|
/external/webkit/Source/WebKit/chromium/src/ |
H A D | WebPopupMenuImpl.h | 81 virtual bool selectionRange(WebPoint& start, WebPoint& end) const { return false; } function in class:WebKit::WebPopupMenuImpl
|
H A D | WebFrameImpl.h | 161 virtual WebRange selectionRange() const;
|
H A D | WebViewImpl.h | 112 virtual bool selectionRange(WebPoint& start, WebPoint& end) const;
|
H A D | WebFrameImpl.cpp | 1275 WebRange WebFrameImpl::selectionRange() const function in class:WebKit::WebFrameImpl
|
H A D | WebViewImpl.cpp | 1441 bool WebViewImpl::selectionRange(WebPoint& start, WebPoint& end) const function in class:WebKit::WebViewImpl
|
/external/webkit/Source/WebKit/chromium/tests/ |
H A D | PopupMenuTest.cpp | 145 virtual bool selectionRange(WebPoint& start, WebPoint& end) const { return false; } function in class:__anon12030::TestWebWidget
|
/external/webkit/Tools/DumpRenderTree/chromium/ |
H A D | TextInputController.cpp | 173 WebRange range = mainFrame->selectionRange();
|
/external/webkit/Source/WebCore/loader/archive/cf/ |
H A D | LegacyWebArchive.cpp | 566 RefPtr<Range> selectionRange = frame->selection()->toNormalizedRange(); 568 String markupString = frame->documentTypeString() + createMarkup(selectionRange.get(), &nodeList, AnnotateForInterchange);
|
/external/webkit/Source/WebCore/page/ |
H A D | DragController.cpp | 760 RefPtr<Range> selectionRange = src->selection()->toNormalizedRange(); local 761 ASSERT(selectionRange); 763 clipboard->writeRange(selectionRange.get(), src);
|
/external/webkit/Source/WebCore/editing/ |
H A D | Editor.cpp | 2306 RefPtr<Range> selectionRange = spellingParagraph.subrange(0, selectionOffset); local 2307 m_frame->selection()->moveTo(selectionRange->endPosition(), DOWNSTREAM);
|
/external/webkit/Source/WebKit/mac/WebView/ |
H A D | WebHTMLView.mm | 5404 typedef void (*ServiceWindowShowFunction)(id unusedDictionaryRef, id inWordString, CFRange selectionRange, id unusedFont, CGPoint textOrigin, Boolean verticalText, id unusedTransform);
|