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

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

Issue 2088453002: Implement the inert attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update generic test expectations 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/AXObject.h
diff --git a/third_party/WebKit/Source/modules/accessibility/AXObject.h b/third_party/WebKit/Source/modules/accessibility/AXObject.h
index a7c59cbc2d9865e161e0c89fa780a57fefba8c28..9fd1ee14b0dfbe4f45913c943d1bd578707b4b80 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXObject.h
+++ b/third_party/WebKit/Source/modules/accessibility/AXObject.h
@@ -399,11 +399,12 @@ enum AXIgnoredReason {
kAXActiveModalDialog,
kAXAncestorDisallowsChild,
kAXAncestorIsLeafNode,
- kAXAriaHidden,
- kAXAriaHiddenRoot,
+ kAXAriaHiddenElement,
+ kAXAriaHiddenSubtree,
kAXEmptyAlt,
kAXEmptyText,
- kAXInert,
+ kAXInertElement,
+ kAXInertSubtree,
kAXInheritsPresentation,
kAXLabelContainer,
kAXLabelFor,
@@ -712,7 +713,7 @@ class MODULES_EXPORT AXObject : public GarbageCollectedFinalized<AXObject> {
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;
@@ -1097,6 +1098,8 @@ class MODULES_EXPORT AXObject : public GarbageCollectedFinalized<AXObject> {
return nullptr;
}
+ const AXObject* InertRoot() const;
+
mutable Member<AXObject> parent_;
// The following cached attribute values (the ones starting with m_cached*)

Powered by Google App Engine
This is Rietveld 408576698