| Index: content/shell/renderer/test_runner/web_ax_object_proxy.cc
|
| diff --git a/content/shell/renderer/test_runner/web_ax_object_proxy.cc b/content/shell/renderer/test_runner/web_ax_object_proxy.cc
|
| index 2f12d70fd9ffeb6ff41432f45e2ca35248095cf5..4d886c60591b74b54384fe6d87f4d6a9f5f63ed6 100644
|
| --- a/content/shell/renderer/test_runner/web_ax_object_proxy.cc
|
| +++ b/content/shell/renderer/test_runner/web_ax_object_proxy.cc
|
| @@ -509,7 +509,9 @@ WebAXObjectProxy::GetObjectTemplateBuilder(v8::Isolate* isolate) {
|
| .SetProperty("clickPointX", &WebAXObjectProxy::ClickPointX)
|
| .SetProperty("clickPointY", &WebAXObjectProxy::ClickPointY)
|
| .SetProperty("rowCount", &WebAXObjectProxy::RowCount)
|
| + .SetProperty("rowHeadersCount", &WebAXObjectProxy::RowHeadersCount)
|
| .SetProperty("columnCount", &WebAXObjectProxy::ColumnCount)
|
| + .SetProperty("columnHeadersCount", &WebAXObjectProxy::ColumnHeadersCount)
|
| .SetProperty("isClickable", &WebAXObjectProxy::IsClickable)
|
| .SetProperty("isButtonStateMixed", &WebAXObjectProxy::IsButtonStateMixed)
|
| .SetMethod("allAttributes", &WebAXObjectProxy::AllAttributes)
|
| @@ -809,11 +811,26 @@ int32_t WebAXObjectProxy::RowCount() {
|
| return static_cast<int32_t>(accessibility_object_.rowCount());
|
| }
|
|
|
| +int32_t WebAXObjectProxy::RowHeadersCount() {
|
| + accessibility_object_.updateLayoutAndCheckValidity();
|
| + blink::WebVector<blink::WebAXObject> headers;
|
| + accessibility_object_.rowHeaders(headers);
|
| + return static_cast<int32_t>(headers.size());
|
| +}
|
| +
|
| int32_t WebAXObjectProxy::ColumnCount() {
|
| accessibility_object_.updateLayoutAndCheckValidity();
|
| return static_cast<int32_t>(accessibility_object_.columnCount());
|
| }
|
|
|
| +int32_t WebAXObjectProxy::ColumnHeadersCount()
|
| +{
|
| + accessibility_object_.updateLayoutAndCheckValidity();
|
| + blink::WebVector<blink::WebAXObject> headers;
|
| + accessibility_object_.columnHeaders(headers);
|
| + return static_cast<int32_t>(headers.size());
|
| +}
|
| +
|
| bool WebAXObjectProxy::IsClickable() {
|
| accessibility_object_.updateLayoutAndCheckValidity();
|
| return accessibility_object_.isClickable();
|
|
|