| Index: third_party/WebKit/Source/modules/accessibility/AXObject.h
|
| diff --git a/third_party/WebKit/Source/modules/accessibility/AXObject.h b/third_party/WebKit/Source/modules/accessibility/AXObject.h
|
| index 1c47ffff1790170946dfa0644d5311fe78e729b3..78759923eb0e22a1ad2b04f2481e95b55e99d417 100644
|
| --- a/third_party/WebKit/Source/modules/accessibility/AXObject.h
|
| +++ b/third_party/WebKit/Source/modules/accessibility/AXObject.h
|
| @@ -53,6 +53,7 @@ class Node;
|
| class LayoutObject;
|
| class ScrollableArea;
|
|
|
| +enum class AOMBooleanProperty;
|
| enum class AOMStringProperty;
|
|
|
| typedef unsigned AXID;
|
| @@ -604,9 +605,11 @@ class MODULES_EXPORT AXObject : public GarbageCollectedFinalized<AXObject> {
|
|
|
| // Wrappers that retrieve either an Accessibility Object Model property,
|
| // or the equivalent ARIA attribute, in that order.
|
| - // TODO(dmazzoni): Add equivalents for other types of properties besides
|
| - // just strings.
|
| const AtomicString& getAOMPropertyOrARIAAttribute(AOMStringProperty) const;
|
| + bool getAOMPropertyOrARIAAttribute(AOMBooleanProperty, bool& result) const;
|
| + bool hasAOMPropertyOrARIAAttribute(AOMBooleanProperty) const;
|
| + bool AOMPropertyOrARIAAttributeIsTrue(AOMBooleanProperty) const;
|
| + bool AOMPropertyOrARIAAttributeIsFalse(AOMBooleanProperty) const;
|
|
|
| virtual void getSparseAXAttributes(AXSparseAttributeClient&) const {}
|
|
|
|
|