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 090f8f1b11988f0313a68ee8fbcc919c77f2b0c4..3e4da2d4ad69af8e888fa3e8294dc7ca96c0b425 100644 |
--- a/third_party/WebKit/Source/modules/accessibility/AXObject.h |
+++ b/third_party/WebKit/Source/modules/accessibility/AXObject.h |
@@ -617,6 +617,7 @@ class MODULES_EXPORT AXObject : public GarbageCollectedFinalized<AXObject> { |
virtual bool isAnchor() const { return false; } |
bool isButton() const; |
bool isCanvas() const { return roleValue() == CanvasRole; } |
+ bool isCheckable() const; |
bool isCheckbox() const { return roleValue() == CheckBoxRole; } |
bool isCheckboxOrRadio() const { return isCheckbox() || isRadioButton(); } |
bool isColorWell() const { return roleValue() == ColorWellRole; } |
@@ -673,7 +674,7 @@ class MODULES_EXPORT AXObject : public GarbageCollectedFinalized<AXObject> { |
bool isWebArea() const { return roleValue() == WebAreaRole; } |
// Check object state. |
- virtual bool isChecked() const { return false; } |
+ bool isChecked() const; |
virtual bool isClickable() const; |
virtual bool isCollapsed() const { return false; } |
virtual bool isEnabled() const { return false; } |
@@ -840,7 +841,7 @@ class MODULES_EXPORT AXObject : public GarbageCollectedFinalized<AXObject> { |
// Properties of interactive elements. |
AXSupportedAction action() const; |
- virtual AccessibilityButtonState checkboxOrRadioValue() const; |
+ AccessibilityButtonState checkboxOrRadioState() const; |
virtual AriaCurrentState ariaCurrentState() const { |
return AriaCurrentStateUndefined; |
} |
@@ -1100,6 +1101,8 @@ class MODULES_EXPORT AXObject : public GarbageCollectedFinalized<AXObject> { |
void updateCachedAttributeValuesIfNeeded() const; |
private: |
+ static bool isNativeInputInMixedState(const Node *); |
+ |
static bool includesARIAWidgetRole(const String&); |
static bool hasInteractiveARIAAttribute(const Element&); |