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

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

Issue 1012663002: Aria disabled does not apply to descendant elements (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Applied suggestions Created 5 years, 9 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: Source/modules/accessibility/AXObject.h
diff --git a/Source/modules/accessibility/AXObject.h b/Source/modules/accessibility/AXObject.h
index e64269758a66abfd21ab40bab5b6415f130fa91b..d8b8d16e84ae32ee1821a96e583289a94f4f1cb7 100644
--- a/Source/modules/accessibility/AXObject.h
+++ b/Source/modules/accessibility/AXObject.h
@@ -426,6 +426,8 @@ public:
bool computeIsInertOrAriaHidden() const;
bool isDescendantOfBarrenParent() const;
bool computeIsDescendantOfBarrenParent() const;
+ bool isDescendantOfDisabledParent() const;
+ bool computeIsDescendantOfDisabledParent() const;
bool lastKnownIsIgnoredValue();
void setLastKnownIsIgnoredValue(bool);
@@ -646,6 +648,7 @@ protected:
mutable bool m_cachedIsIgnored : 1;
mutable bool m_cachedIsInertOrAriaHidden : 1;
mutable bool m_cachedIsDescendantOfBarrenParent : 1;
+ mutable bool m_cachedIsDescendantOfDisabledParent : 1;
mutable const AXObject* m_cachedLiveRegionRoot;
AXObjectCacheImpl* m_axObjectCache;

Powered by Google App Engine
This is Rietveld 408576698