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

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: Update 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
« no previous file with comments | « Source/modules/accessibility/AXObject.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/accessibility/AXObject.cpp
diff --git a/Source/modules/accessibility/AXObject.cpp b/Source/modules/accessibility/AXObject.cpp
index 7264084d6244957d2b491cb92e1da4e7182f268f..c4cd8bca65a3e75fbfef51cc8ca456d155ab1e5f 100644
--- a/Source/modules/accessibility/AXObject.cpp
+++ b/Source/modules/accessibility/AXObject.cpp
@@ -237,6 +237,7 @@ AXObject::AXObject(AXObjectCacheImpl* axObjectCache)
, m_cachedIsInertOrAriaHidden(false)
, m_cachedIsDescendantOfBarrenParent(false)
, m_cachedIsDescendantOfDisabledNode(false)
+ , m_cachedHasInheritedPresentationalRole(false)
, m_cachedLiveRegionRoot(0)
, m_axObjectCache(axObjectCache)
{
@@ -373,6 +374,7 @@ void AXObject::updateCachedAttributeValuesIfNeeded() const
m_cachedIsInertOrAriaHidden = computeIsInertOrAriaHidden();
m_cachedIsDescendantOfBarrenParent = computeIsDescendantOfBarrenParent();
m_cachedIsDescendantOfDisabledNode = computeIsDescendantOfDisabledNode();
+ m_cachedHasInheritedPresentationalRole = computeHasInheritedPresentationalRole();
m_cachedIsIgnored = computeAccessibilityIsIgnored();
m_cachedLiveRegionRoot = isLiveRegion() ?
this :
« no previous file with comments | « Source/modules/accessibility/AXObject.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698