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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXMenuListOption.h

Issue 1435113003: Make use of new AX name calc in Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix issue with ariaTextAlternative Created 5 years, 1 month 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: third_party/WebKit/Source/modules/accessibility/AXMenuListOption.h
diff --git a/third_party/WebKit/Source/modules/accessibility/AXMenuListOption.h b/third_party/WebKit/Source/modules/accessibility/AXMenuListOption.h
index de15b5bd7943b910fdc858f722f3517e0aaaa952..52f585eeae0c2d3c9cf06cee69b3e5c9ced192d1 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXMenuListOption.h
+++ b/third_party/WebKit/Source/modules/accessibility/AXMenuListOption.h
@@ -58,7 +58,7 @@ private:
void setSelected(bool) override;
bool canSetSelectedAttribute() const override;
LayoutRect elementRect() const override;
- String stringValue() const override;
+ String textAlternative(bool recursive, bool inAriaLabelledByTraversal, AXObjectSet& visited, AXNameFrom&, AXRelatedObjectVector*, NameSources*) const override;
bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override;
RawPtrWillBeMember<HTMLOptionElement> m_element;

Powered by Google App Engine
This is Rietveld 408576698