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

Unified Diff: Source/core/accessibility/AXRenderObject.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/AXRenderObject.h ('k') | Source/core/accessibility/AXTable.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/accessibility/AXRenderObject.cpp
diff --git a/Source/core/accessibility/AXRenderObject.cpp b/Source/core/accessibility/AXRenderObject.cpp
index 78c3f2b0e55c619fc089a120c6c8b89b625fea62..ea2b81e5407e93467f1fbfe8ddb9ece83495f7d9 100644
--- a/Source/core/accessibility/AXRenderObject.cpp
+++ b/Source/core/accessibility/AXRenderObject.cpp
@@ -217,15 +217,6 @@ RenderBoxModelObject* AXRenderObject::renderBoxModelObject() const
return toRenderBoxModelObject(m_renderer);
}
-RenderView* AXRenderObject::topRenderer() const
-{
- Document* topDoc = topDocument();
- if (!topDoc)
- return 0;
-
- return topDoc->renderView();
-}
-
Document* AXRenderObject::topDocument() const
{
if (!document())
@@ -860,18 +851,6 @@ String AXRenderObject::actionVerb() const
}
}
-void AXRenderObject::selectedChildren(AccessibilityChildrenVector& result)
-{
- ASSERT(result.isEmpty());
-
- // only listboxes should be asked for their selected children.
- AccessibilityRole role = roleValue();
- if (role == ListBoxRole) // native list boxes would be AXListBoxes, so only check for aria list boxes
- ariaListboxSelectedChildren(result);
- else if (role == TreeRole || role == TreeGridRole || role == TableRole)
- ariaSelectedRows(result);
-}
-
String AXRenderObject::stringValue() const
{
if (!m_renderer)
@@ -1928,32 +1907,6 @@ bool AXRenderObject::isTabItemSelected() const
return false;
}
-AXObject* AXRenderObject::internalLinkElement() const
-{
- Element* element = anchorElement();
- // Right now, we do not support ARIA links as internal link elements
- if (!isHTMLAnchorElement(element))
- return 0;
- HTMLAnchorElement& anchor = toHTMLAnchorElement(*element);
-
- KURL linkURL = anchor.href();
- String fragmentIdentifier = linkURL.fragmentIdentifier();
- if (fragmentIdentifier.isEmpty())
- return 0;
-
- // check if URL is the same as current URL
- KURL documentURL = m_renderer->document().url();
- if (!equalIgnoringFragmentIdentifier(documentURL, linkURL))
- return 0;
-
- Node* linkedNode = m_renderer->document().findAnchor(fragmentIdentifier);
- if (!linkedNode)
- return 0;
-
- // The element we find may not be accessible, so find the first accessible object.
- return firstAccessibleObjectFromNode(linkedNode);
-}
-
AXObject* AXRenderObject::accessibilityImageMapHitTest(HTMLAreaElement* area, const IntPoint& point) const
{
if (!area)
« no previous file with comments | « Source/core/accessibility/AXRenderObject.h ('k') | Source/core/accessibility/AXTable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698