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

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 ChromeVox and Automation API tests 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 f222e23ff8b7892781ed1cc360d6536a6cb97599..7c5a49940c3a1ae936be3f622d0494560d19b9e6 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXImageMapLink.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXImageMapLink.cpp
@@ -102,30 +102,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