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

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

Issue 1088853003: Implements determineAccessibilityRole() instead of roleValue() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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/AXProgressIndicator.h ('k') | Source/modules/accessibility/AXSlider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/accessibility/AXProgressIndicator.cpp
diff --git a/Source/modules/accessibility/AXProgressIndicator.cpp b/Source/modules/accessibility/AXProgressIndicator.cpp
index c1411e29be7ebca82ff7d007557123434ca4cfab..77e15a39f55ad00d5dcd03df6a028644c988c46f 100644
--- a/Source/modules/accessibility/AXProgressIndicator.cpp
+++ b/Source/modules/accessibility/AXProgressIndicator.cpp
@@ -40,11 +40,10 @@ PassRefPtr<AXProgressIndicator> AXProgressIndicator::create(LayoutProgress* layo
return adoptRef(new AXProgressIndicator(layoutObject, axObjectCache));
}
-AccessibilityRole AXProgressIndicator::roleValue() const
+AccessibilityRole AXProgressIndicator::determineAccessibilityRole()
{
- AccessibilityRole ariaRole = ariaRoleAttribute();
- if (ariaRole != UnknownRole)
- return ariaRole;
+ if ((m_ariaRole = determineAriaRoleAttribute()) != UnknownRole)
+ return m_ariaRole;
return ProgressIndicatorRole;
}
« no previous file with comments | « Source/modules/accessibility/AXProgressIndicator.h ('k') | Source/modules/accessibility/AXSlider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698