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

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

Issue 243083002: Remove more dead code from accessibility/ folder (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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/core/accessibility/AXList.h ('k') | Source/core/accessibility/AXListBox.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/accessibility/AXList.cpp
diff --git a/Source/core/accessibility/AXList.cpp b/Source/core/accessibility/AXList.cpp
index d2e7efbc4373c493a00034f201efcab05b775fdb..e28c1f107f1f2aaaedd9917dc1021c1e3b783345 100644
--- a/Source/core/accessibility/AXList.cpp
+++ b/Source/core/accessibility/AXList.cpp
@@ -56,39 +56,4 @@ bool AXList::computeAccessibilityIsIgnored() const
return accessibilityIsIgnoredByDefault();
}
-bool AXList::isUnorderedList() const
-{
- if (!m_renderer)
- return false;
-
- // The ARIA spec says the "list" role is supposed to mimic a UL or OL tag.
- // Since it can't be both, it's probably OK to say that it's an un-ordered list.
- // On the Mac, there's no distinction to the client.
- if (ariaRoleAttribute() == ListRole)
- return true;
-
- return isHTMLUListElement(m_renderer->node());
-}
-
-bool AXList::isOrderedList() const
-{
- if (!m_renderer)
- return false;
-
- // ARIA says a directory is like a static table of contents, which sounds like an ordered list.
- if (ariaRoleAttribute() == DirectoryRole)
- return true;
-
- return isHTMLOListElement(m_renderer->node());
-}
-
-bool AXList::isDescriptionList() const
-{
- if (!m_renderer)
- return false;
-
- return isHTMLDListElement(m_renderer->node());
-}
-
-
} // namespace WebCore
« no previous file with comments | « Source/core/accessibility/AXList.h ('k') | Source/core/accessibility/AXListBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698