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

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: Revert histograms.xml 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 cb5e57bb691b0ab518bc8cfb5741bc8e870e727c..95f5ddacfecdaf316e1a81cbfb2c8201a07a3633 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXObjectImpl.h
+++ b/third_party/WebKit/Source/modules/accessibility/AXObjectImpl.h
@@ -144,11 +144,12 @@ enum AXIgnoredReason {
kAXActiveModalDialog,
kAXAncestorDisallowsChild,
kAXAncestorIsLeafNode,
- kAXAriaHidden,
- kAXAriaHiddenRoot,
+ kAXAriaHiddenElement,
+ kAXAriaHiddenSubtree,
kAXEmptyAlt,
kAXEmptyText,
- kAXInert,
+ kAXInertElement,
+ kAXInertSubtree,
kAXInheritsPresentation,
kAXLabelContainer,
kAXLabelFor,
@@ -465,7 +466,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;
@@ -858,6 +859,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