Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(548)

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXObjectImpl.h

Issue 2088453002: Implement the inert attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/accessibility/AXObjectImpl.h
diff --git a/third_party/WebKit/Source/modules/accessibility/AXObjectImpl.h b/third_party/WebKit/Source/modules/accessibility/AXObjectImpl.h
index 836f8ad90008241e40dc20835c3da20b4a92a361..a6b8f33c4ff6460d99a0d5ed1be5694399e10556 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXObjectImpl.h
+++ b/third_party/WebKit/Source/modules/accessibility/AXObjectImpl.h
@@ -401,11 +401,12 @@ enum AXIgnoredReason {
kAXActiveModalDialog,
kAXAncestorDisallowsChild,
kAXAncestorIsLeafNode,
- kAXAriaHidden,
- kAXAriaHiddenRoot,
+ kAXAriaHiddenElement,
+ kAXAriaHiddenSubtree,
kAXEmptyAlt,
kAXEmptyText,
- kAXInert,
+ kAXInertElement,
+ kAXInertSubtree,
kAXInheritsPresentation,
kAXLabelContainer,
kAXLabelFor,
@@ -718,7 +719,7 @@ class MODULES_EXPORT AXObjectImpl
virtual bool CanSetSelectedAttribute() const { return false; }
// Whether objects are ignored, i.e. not included in the tree.
- bool AccessibilityIsIgnored() const;
+ bool AccessibilityIsIgnored();
typedef HeapVector<IgnoredReason> IgnoredReasons;
virtual bool ComputeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const {
return true;
@@ -1109,6 +1110,8 @@ class MODULES_EXPORT AXObjectImpl
return nullptr;
}
+ const AXObjectImpl* InertRoot() const;
+
mutable Member<AXObjectImpl> parent_;
// The following cached attribute values (the ones starting with m_cached*)

Powered by Google App Engine
This is Rietveld 408576698