| Index: third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp
|
| diff --git a/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp b/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp
|
| index 73d29f6a1ae820776412366a50188bc00b0e5d26..d45ad15ede546d875c03c8ef7c731eebb51fd51f 100644
|
| --- a/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp
|
| +++ b/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp
|
| @@ -39,6 +39,7 @@
|
| #include "core/html/HTMLLabelElement.h"
|
| #include "core/html/HTMLOptionElement.h"
|
| #include "core/html/HTMLSelectElement.h"
|
| +#include "core/html/forms/FormController.h"
|
| #include "core/layout/LayoutListBox.h"
|
| #include "core/layout/LayoutMenuList.h"
|
| #include "core/layout/LayoutProgress.h"
|
| @@ -65,6 +66,7 @@
|
| #include "modules/accessibility/AXMenuListOption.h"
|
| #include "modules/accessibility/AXMenuListPopup.h"
|
| #include "modules/accessibility/AXProgressIndicator.h"
|
| +#include "modules/accessibility/AXRadioInput.h"
|
| #include "modules/accessibility/AXSVGRoot.h"
|
| #include "modules/accessibility/AXSlider.h"
|
| #include "modules/accessibility/AXSpinButton.h"
|
| @@ -305,6 +307,9 @@ AXObject* AXObjectCacheImpl::createFromRenderer(LayoutObject* layoutObject)
|
| if (isHTMLOptionElement(node))
|
| return AXListBoxOption::create(layoutObject, *this);
|
|
|
| + if (isHTMLInputElement(node) && toHTMLInputElement(node)->isRadioButton())
|
| + return AXRadioInput::create(layoutObject, *this);
|
| +
|
| if (layoutObject->isSVGRoot())
|
| return AXSVGRoot::create(layoutObject, *this);
|
|
|
| @@ -922,6 +927,15 @@ void AXObjectCacheImpl::listboxActiveIndexChanged(HTMLSelectElement* select)
|
| toAXListBox(obj)->activeIndexChanged();
|
| }
|
|
|
| +void AXObjectCacheImpl::radiobuttonPositionChanged(HTMLInputElement* radioinput, int position)
|
| +{
|
| + AXObject* obj = get(radioinput);
|
| + if (!obj || !obj->isAXRadioInput())
|
| + return;
|
| +
|
| + toAXRadioInput(obj)->posInSetChanged(position);
|
| +}
|
| +
|
| void AXObjectCacheImpl::handleLayoutComplete(LayoutObject* layoutObject)
|
| {
|
| if (!layoutObject)
|
|
|