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

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

Issue 1039873002: AX presentation role should be inherited to its required owned elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Moved code to AXNodeObject 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.cpp
diff --git a/Source/modules/accessibility/AXObject.cpp b/Source/modules/accessibility/AXObject.cpp
index 156dba1ab217ab00e6a7cf8e25151313d79b35f0..433f388b6b5746eb949d95e9367536f434edad06 100644
--- a/Source/modules/accessibility/AXObject.cpp
+++ b/Source/modules/accessibility/AXObject.cpp
@@ -236,6 +236,7 @@ AXObject::AXObject(AXObjectCacheImpl* axObjectCache)
, m_cachedIsInertOrAriaHidden(false)
, m_cachedIsDescendantOfBarrenParent(false)
, m_cachedIsDescendantOfDisabledNode(false)
+ , m_cachedHasInheritedPresentationRole(false)
, m_cachedLiveRegionRoot(0)
, m_axObjectCache(axObjectCache)
{
@@ -370,6 +371,7 @@ void AXObject::updateCachedAttributeValuesIfNeeded() const
m_cachedIsInertOrAriaHidden = computeIsInertOrAriaHidden();
m_cachedIsDescendantOfBarrenParent = computeIsDescendantOfBarrenParent();
m_cachedIsDescendantOfDisabledNode = computeIsDescendantOfDisabledNode();
+ m_cachedHasInheritedPresentationRole = computeHasInheritedPresentationRole();
m_cachedIsIgnored = computeAccessibilityIsIgnored();
m_cachedLiveRegionRoot = isLiveRegion() ?
this :
« Source/modules/accessibility/AXNodeObject.cpp ('K') | « Source/modules/accessibility/AXObject.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698