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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXImageMapLink.cpp

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/AXImageMapLink.cpp
diff --git a/third_party/WebKit/Source/modules/accessibility/AXImageMapLink.cpp b/third_party/WebKit/Source/modules/accessibility/AXImageMapLink.cpp
index 39c8559a1425572a8fcbe0dd50c4810e639ea071..67c030da93624c8e7889bf8c272e645fc8ee3aef 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXImageMapLink.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXImageMapLink.cpp
@@ -103,30 +103,6 @@ KURL AXImageMapLink::url() const
return areaElement()->href();
}
-String AXImageMapLink::deprecatedAccessibilityDescription() const
-{
- const AtomicString& ariaLabel = getAttribute(aria_labelAttr);
- if (!ariaLabel.isEmpty())
- return ariaLabel;
- const AtomicString& alt = getAttribute(altAttr);
- if (!alt.isEmpty())
- return alt;
-
- return String();
-}
-
-String AXImageMapLink::deprecatedTitle(TextUnderElementMode mode) const
-{
- const AtomicString& title = getAttribute(titleAttr);
- if (!title.isEmpty())
- return title;
- const AtomicString& summary = getAttribute(summaryAttr);
- if (!summary.isEmpty())
- return summary;
-
- return String();
-}
-
LayoutRect AXImageMapLink::elementRect() const
{
HTMLAreaElement* area = areaElement();

Powered by Google App Engine
This is Rietveld 408576698