bool AXScrollView::computeAccessibilityIsIgnored() const { AXObject* webArea = webAreaObject(); if (!webArea) return true; return webArea->accessibilityIsIgnored(); }
bool AccessibilityScrollView::accessibilityIsIgnored() const { AccessibilityObject* webArea = webAreaObject(); if (!webArea) return true; return webArea->accessibilityIsIgnored(); }
void AccessibilityScrollView::addChildren() { ASSERT(!m_haveChildren); m_haveChildren = true; AccessibilityObject* webArea = webAreaObject(); if (webArea) m_children.append(webArea); updateChildrenIfNecessary(); }
void AXScrollView::addChildren() { ASSERT(!m_haveChildren); m_haveChildren = true; AXObject* webArea = webAreaObject(); if (webArea && !webArea->accessibilityIsIgnored()) m_children.append(webArea); updateScrollbars(); }
AccessibilityObject* AccessibilityScrollView::accessibilityHitTest(const IntPoint& point) const { AccessibilityObject* webArea = webAreaObject(); if (!webArea) return 0; if (m_horizontalScrollbar && m_horizontalScrollbar->elementRect().contains(point)) return m_horizontalScrollbar.get(); if (m_verticalScrollbar && m_verticalScrollbar->elementRect().contains(point)) return m_verticalScrollbar.get(); return webArea->accessibilityHitTest(point); }
bool AccessibilityScrollView::isFocused() const { AccessibilityObject* webArea = webAreaObject(); return webArea && webArea->isFocused(); }
bool AccessibilityScrollView::canSetFocusAttribute() const { AccessibilityObject* webArea = webAreaObject(); return webArea && webArea->canSetFocusAttribute(); }
void AccessibilityScrollView::setFocused(bool focused) { if (AccessibilityObject* webArea = webAreaObject()) webArea->setFocused(focused); }