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

Unified Diff: Source/core/accessibility/AXImageMapLink.cpp

Issue 202953005: Remove a lot of dead code from AXNodeObject (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « Source/core/accessibility/AXImageMapLink.h ('k') | Source/core/accessibility/AXMediaControls.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/accessibility/AXImageMapLink.cpp
diff --git a/Source/core/accessibility/AXImageMapLink.cpp b/Source/core/accessibility/AXImageMapLink.cpp
index 02ce023193c714f81f7e1819fd2913e057e3a543..b45600d720b1ce57f2552ebc132c678fba1b171b 100644
--- a/Source/core/accessibility/AXImageMapLink.cpp
+++ b/Source/core/accessibility/AXImageMapLink.cpp
@@ -99,21 +99,6 @@ KURL AXImageMapLink::url() const
return m_areaElement->href();
}
-void AXImageMapLink::accessibilityText(Vector<AccessibilityText>& textOrder)
-{
- String description = accessibilityDescription();
- if (!description.isEmpty())
- textOrder.append(AccessibilityText(description, AlternativeText));
-
- const AtomicString& titleText = getAttribute(titleAttr);
- if (!titleText.isEmpty())
- textOrder.append(AccessibilityText(titleText, TitleTagText));
-
- const AtomicString& summary = getAttribute(summaryAttr);
- if (!summary.isEmpty())
- textOrder.append(AccessibilityText(summary, SummaryText));
-}
-
String AXImageMapLink::accessibilityDescription() const
{
const AtomicString& ariaLabel = getAttribute(aria_labelAttr);
« no previous file with comments | « Source/core/accessibility/AXImageMapLink.h ('k') | Source/core/accessibility/AXMediaControls.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698