bool Scrollbar::shouldParticipateInHitTesting() { // Non-overlay scrollbars should always participate in hit testing. if (!isOverlayScrollbar()) return true; return m_scrollableArea->scrollAnimator()->shouldScrollbarParticipateInHitTesting(this); }
int Scrollbar::occupiedHeight() const { return isOverlayScrollbar() ? 0 : height(); }
int Scrollbar::occupiedWidth() const { return isOverlayScrollbar() ? 0 : width(); }
bool Scrollbar::shouldParticipateInHitTesting() { // Non-overlay scrollbars should always participate in hit testing. if (!isOverlayScrollbar()) return true; return !m_scrollableArea->scrollbarsHidden(); }