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) |