Chromium Code Reviews| Index: Source/modules/accessibility/AXNodeObject.cpp |
| diff --git a/Source/modules/accessibility/AXNodeObject.cpp b/Source/modules/accessibility/AXNodeObject.cpp |
| index b78ff0024555c0a172b681137b3dc14676184b6e..fa66c165ad799c219b3ca4bc9043ea795262a06c 100644 |
| --- a/Source/modules/accessibility/AXNodeObject.cpp |
| +++ b/Source/modules/accessibility/AXNodeObject.cpp |
| @@ -950,6 +950,16 @@ unsigned AXNodeObject::hierarchicalLevel() const |
| return level; |
| } |
| +String AXNodeObject::ariaAutoComplete() const |
| +{ |
| + const AtomicString& ariaAutoComplete = getAttribute(aria_autocompleteAttr); |
| + |
| + if (roleValue() == ComboBoxRole || roleValue() == TextAreaRole) |
|
dmazzoni
2014/12/09 16:19:35
This test should come first so we don't need to ca
|
| + return ariaAutoComplete; |
| + |
| + return String(); |
| +} |
| + |
| String AXNodeObject::text() const |
| { |
| // If this is a user defined static text, use the accessible name computation. |