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

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: Change member functions to static local functions 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 d451350c269b3c73125e32f061c7b31bacc2fce0..88f1aa345f10c32a08a734bed97a1d628b61b1fe 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_cachedHasInheritedPresentationRole(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_cachedHasInheritedPresentationRole = computeHasInheritedPresentationRole();
m_cachedIsIgnored = computeAccessibilityIsIgnored();
m_cachedLiveRegionRoot = isLiveRegion() ?
this :
« Source/modules/accessibility/AXObject.h ('K') | « Source/modules/accessibility/AXObject.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698