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