| Index: third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| index fcd36e4c43633421e0013b08ff347aedf3399e9b..b3d70e691bbe86eabc42ef08e075716d5a5f42d4 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| @@ -1648,6 +1648,11 @@ bool HTMLInputElement::isImage() const
|
| return m_inputType->isImage();
|
| }
|
|
|
| +bool HTMLInputElement::isRadioButton() const
|
| +{
|
| + return m_inputType->isRadioButton();
|
| +}
|
| +
|
| bool HTMLInputElement::isEnumeratable() const
|
| {
|
| return m_inputType->isEnumeratable();
|
| @@ -1759,6 +1764,30 @@ RadioButtonGroupScope* HTMLInputElement::radioButtonGroupScope() const
|
| return nullptr;
|
| }
|
|
|
| +unsigned HTMLInputElement::sizeOfRadioGroup() const
|
| +{
|
| + RadioButtonGroupScope* scope = radioButtonGroupScope();
|
| + if (!scope)
|
| + return 0;
|
| + return scope->sizeOfGroup(this);
|
| +}
|
| +
|
| +void HTMLInputElement::updateAXPositionInRadioGroup() const
|
| +{
|
| + RadioButtonGroupScope* scope = radioButtonGroupScope();
|
| + if (!scope)
|
| + return;
|
| + scope->updateAXPositionInGroup(this);
|
| +}
|
| +
|
| +void HTMLInputElement::setNeedToUpdateAXPosition(bool set) const
|
| +{
|
| + RadioButtonGroupScope* scope = radioButtonGroupScope();
|
| + if (!scope)
|
| + return;
|
| + scope->setNeedToUpdateAXPositionInGroup(this, set);
|
| +}
|
| +
|
| inline void HTMLInputElement::addToRadioButtonGroup()
|
| {
|
| if (RadioButtonGroupScope* scope = radioButtonGroupScope())
|
|
|