| 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 6cc68f4bfc659ef37331554fcbf18e82c7a6385a..0192e0547568f595b40fe96fe146cd1e3faeee78 100644
|
| --- a/third_party/WebKit/Source/modules/accessibility/AXObject.h
|
| +++ b/third_party/WebKit/Source/modules/accessibility/AXObject.h
|
| @@ -277,6 +277,17 @@ enum AccessibilityOptionalBool {
|
| OptionalBoolFalse
|
| };
|
|
|
| +enum AriaCurrentState {
|
| + AriaCurrentStateUndefined = 0,
|
| + AriaCurrentStateFalse,
|
| + AriaCurrentStateTrue,
|
| + AriaCurrentStatePage,
|
| + AriaCurrentStateStep,
|
| + AriaCurrentStateLocation,
|
| + AriaCurrentStateDate,
|
| + AriaCurrentStateTime
|
| +};
|
| +
|
| enum InvalidState {
|
| InvalidStateUndefined = 0,
|
| InvalidStateFalse,
|
| @@ -734,6 +745,7 @@ public:
|
| // Properties of interactive elements.
|
| String actionVerb() const;
|
| virtual AccessibilityButtonState checkboxOrRadioValue() const;
|
| + virtual AriaCurrentState ariaCurrentState() const { return AriaCurrentStateUndefined; }
|
| virtual InvalidState getInvalidState() const { return InvalidStateUndefined; }
|
| // Only used when invalidState() returns InvalidStateOther.
|
| virtual String ariaInvalidValue() const { return String(); }
|
|
|