Home
last modified time | relevance | path

Searched refs:selectedText (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/chrome/common/extensions/docs/examples/extensions/speak_selection/
Dcontent_script.js11 var selectedText;
14 selectedText = focused.value.substring(
19 if (selectedText == undefined) {
21 var selectedText = sel.toString();
23 chrome.extension.sendRequest({'speak': selectedText});
/external/chromium_org/third_party/WebKit/Source/web/
DContextMenuClientImpl.cpp114 String misspelledWord = selectedFrame->selectedText().stripWhiteSpace(); in selectMisspelledWord()
135 misspelledWord = selectedFrame->selectedText().stripWhiteSpace(); in selectMisspelledWord()
259 data.selectedText = text; in showContextMenu()
300 data.selectedText = selectedFrame->selectedText().stripWhiteSpace(); in showContextMenu()
/external/chromium_org/third_party/WebKit/public/web/
DWebContextMenuData.h112 WebString selectedText; member
/external/chromium/webkit/glue/
Dcontext_menu.cc34 selection_text(data.selectedText), in ContextMenuParams()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DSourceFrame.js764 var selectedText = this._textEditor.copyRange(textRange);
766 …this._sourcePosition.setText(WebInspector.UIString("%d characters selected", selectedText.length));
768 …lines, %d characters selected", textRange.endLine - textRange.startLine + 1, selectedText.length));
DCodeMirrorTextEditor.js1234 var selectedText = this._codeMirror.getSelection();
1235 if (this._isWord(selectedText, selectionStart.line, selectionStart.ch, selectionEnd.ch)) {
1238 …this._setHighlighter(this._tokenHighlighter.bind(this, selectedText, selectionStart), selectionSta…
1248 _isWord: function(selectedText, lineNumber, startColumn, endColumn) argument
1253 return leftBound && rightBound && WebInspector.TextUtils.isWord(selectedText);
/external/chromium_org/content/renderer/
Dcontext_menu_params_builder.cc32 params.selection_text = data.selectedText; in Build()
/external/chromium_org/third_party/WebKit/Source/core/editing/
DInputMethodController.cpp254 …itionEvent::create(EventTypeNames::compositionstart, m_frame.domWindow(), m_frame.selectedText())); in setComposition()
341 setComposition(m_frame.selectedText(), underlines, 0, 0); in setCompositionFromExistingText()
DFrameSelection.h196 String selectedText() const;
DFrameSelection.cpp1707 String FrameSelection::selectedText() const in selectedText() function in WebCore::FrameSelection
1716 return selectedText(); in selectedTextForClipboard()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLTextFormControlElement.h73 String selectedText() const;
DHTMLTextFormControlElement.cpp185 String HTMLTextFormControlElement::selectedText() const in selectedText() function in WebCore::HTMLTextFormControlElement
/external/chromium_org/third_party/WebKit/Source/core/accessibility/
DAXRenderObject.h184 virtual String selectedText() const OVERRIDE;
DAXObject.h516 virtual String selectedText() const { return String(); } in selectedText() function
DAXRenderObject.cpp1571 String AXRenderObject::selectedText() const in selectedText() function in WebCore::AXRenderObject
1580 return textControl->selectedText(); in selectedText()
/external/chromium_org/third_party/WebKit/Source/core/frame/
DFrame.h201 String selectedText() const;
DFrame.cpp389 String Frame::selectedText() const in selectedText() function in WebCore::Frame
391 return selection().selectedText(); in selectedText()