| Index: Source/core/editing/FrameSelection.cpp
|
| diff --git a/Source/core/editing/FrameSelection.cpp b/Source/core/editing/FrameSelection.cpp
|
| index 16e620df97cae52317e1f1aee6263d23f48c64a3..50deb964fb161da3db43375bc9d1018d6ef7ca91 100644
|
| --- a/Source/core/editing/FrameSelection.cpp
|
| +++ b/Source/core/editing/FrameSelection.cpp
|
| @@ -1440,6 +1440,12 @@ bool FrameSelection::isInPasswordField() const
|
| return isHTMLInputElement(textControl) && toHTMLInputElement(textControl)->isPasswordField();
|
| }
|
|
|
| +bool FrameSelection::isInTextField() const
|
| +{
|
| + HTMLTextFormControlElement* textControl = enclosingTextFormControl(start());
|
| + return isHTMLInputElement(textControl) && toHTMLInputElement(textControl)->isTextField();
|
| +}
|
| +
|
| void FrameSelection::notifyAccessibilityForSelectionChange()
|
| {
|
| if (m_selection.start().isNotNull() && m_selection.end().isNotNull()) {
|
|
|