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

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

Issue 2902133002: Revert of "Implement the inert attribute" (Closed)
Patch Set: 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 f94ffcb98b34e2d46ba400481662a1ac74ba5c09..cd91e85c912574097ef9be485d0da746e7c51447 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXObjectImpl.h
+++ b/third_party/WebKit/Source/modules/accessibility/AXObjectImpl.h
@@ -144,12 +144,11 @@ enum AXIgnoredReason {
kAXActiveModalDialog,
kAXAncestorDisallowsChild,
kAXAncestorIsLeafNode,
- kAXAriaHiddenElement,
- kAXAriaHiddenSubtree,
+ kAXAriaHidden,
+ kAXAriaHiddenRoot,
kAXEmptyAlt,
kAXEmptyText,
- kAXInertElement,
- kAXInertSubtree,
+ kAXInert,
kAXInheritsPresentation,
kAXLabelContainer,
kAXLabelFor,
@@ -466,7 +465,7 @@ class MODULES_EXPORT AXObjectImpl
virtual bool CanSetSelectedAttribute() const { return false; }
// Whether objects are ignored, i.e. not included in the tree.
- bool AccessibilityIsIgnored();
+ bool AccessibilityIsIgnored() const;
typedef HeapVector<IgnoredReason> IgnoredReasons;
virtual bool ComputeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const {
return true;
@@ -857,8 +856,6 @@ 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