Searched refs:textControl (Results 1 – 5 of 5) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/core/html/ |
D | HTMLTextFormControlElementTest.cpp | 37 HTMLTextFormControlElement& textControl() const { return *m_textControl; } in textControl() function in __anon3a6e6bd60111::HTMLTextFormControlElementTest 99 EXPECT_EQ(0, textControl().selectionStart()); in TEST_F() 100 EXPECT_EQ(0, textControl().selectionEnd()); in TEST_F() 102 textControl().setInnerEditorValue("Hello, text form."); in TEST_F() 103 EXPECT_EQ(0, textControl().selectionStart()); in TEST_F() 104 EXPECT_EQ(0, textControl().selectionEnd()); in TEST_F() 106 textControl().setSelectionRange(1, 3); in TEST_F() 107 EXPECT_EQ(1, textControl().selectionStart()); in TEST_F() 108 EXPECT_EQ(3, textControl().selectionEnd()); in TEST_F() 157 void testBoundary(HTMLDocument& document, HTMLTextFormControlElement& textControl) in testBoundary() argument [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
D | SpellChecker.cpp | 57 HTMLTextFormControlElement* textControl = enclosingTextFormControl(selection.start()); in isSelectionInTextField() local 58 return isHTMLInputElement(textControl) && toHTMLInputElement(textControl)->isTextField(); in isSelectionInTextField() 63 HTMLTextFormControlElement* textControl = enclosingTextFormControl(selection.start()); in isSelectionInTextArea() local 64 return isHTMLTextAreaElement(textControl); in isSelectionInTextArea() 141 HTMLTextFormControlElement* textControl = toHTMLTextFormControlElement(element); in didBeginEditing() local 142 parent = textControl; in didBeginEditing() 143 element = textControl->innerEditorElement(); in didBeginEditing() 144 … isTextField = isHTMLInputElement(*textControl) && toHTMLInputElement(*textControl).isTextField(); in didBeginEditing()
|
D | FrameSelection.cpp | 1436 HTMLTextFormControlElement* textControl = enclosingTextFormControl(start()); in isInPasswordField() local 1437 …return isHTMLInputElement(textControl) && toHTMLInputElement(textControl)->type() == InputTypeName… in isInPasswordField() 1651 if (HTMLTextFormControlElement* textControl = enclosingTextFormControl(start())) in notifyRendererOfSelectionChange() local 1652 textControl->selectionChanged(userTriggered == UserTriggered); in notifyRendererOfSelectionChange()
|
D | ReplaceSelectionCommand.cpp | 1292 …HTMLTextFormControlElement* textControl = enclosingTextFormControl(positionAtStartOfInsertedConten… in shouldPerformSmartReplace() local 1293 …if (isHTMLInputElement(textControl) && toHTMLInputElement(textControl)->type() == InputTypeNames::… in shouldPerformSmartReplace()
|
/external/chromium_org/third_party/WebKit/Source/core/accessibility/ |
D | AXRenderObject.cpp | 1588 …HTMLTextFormControlElement* textControl = toRenderTextControl(m_renderer)->textFormControlElement(… in selectedTextRange() local 1589 …return PlainTextRange(textControl->selectionStart(), textControl->selectionEnd() - textControl->se… in selectedTextRange() 1610 …HTMLTextFormControlElement* textControl = toRenderTextControl(m_renderer)->textFormControlElement(… in setSelectedTextRange() local 1611 textControl->setSelectionRange(range.start, range.start + range.length); in setSelectedTextRange() 1764 …HTMLTextFormControlElement* textControl = toRenderTextControl(m_renderer)->textFormControlElement(… in indexForVisiblePosition() local 1765 return textControl->indexForVisiblePosition(pos); in indexForVisiblePosition()
|