Chromium Code Reviews| 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 69ebc35548aaca9bff168e5b0dc3ece4718ee0fc..18411c70c360de1e8577ed0842a1c20cc579a430 100644 |
| --- a/third_party/WebKit/Source/modules/accessibility/AXObject.h |
| +++ b/third_party/WebKit/Source/modules/accessibility/AXObject.h |
| @@ -246,6 +246,18 @@ enum AXObjectInclusion { |
| DefaultBehavior, |
| }; |
| +enum class AXSupportedAction { |
| + NONE = 0, |
|
dmazzoni
2016/11/22 01:01:08
Use CamelCase for these like other enums in this s
|
| + ACTIVATE, |
| + CHECK, |
| + CLICK, |
| + JUMP, |
| + OPEN, |
| + PRESS, |
| + SELECT, |
| + UNCHECK |
| +}; |
| + |
| enum AccessibilityButtonState { |
| ButtonStateOff = 0, |
| ButtonStateOn, |
| @@ -795,7 +807,7 @@ class MODULES_EXPORT AXObject : public GarbageCollectedFinalized<AXObject> { |
| virtual void wordBoundaries(Vector<AXRange>&) const {} |
| // Properties of interactive elements. |
| - String actionVerb() const; |
| + AXSupportedAction action() const; |
| virtual AccessibilityButtonState checkboxOrRadioValue() const; |
| virtual AriaCurrentState ariaCurrentState() const { |
| return AriaCurrentStateUndefined; |