[Webkit-unassigned] [Bug 25889] [GTK] scrollbar policy for main frame is not implementable

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 28 07:30:29 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=25889


Holger Freyther <zecke at selfish.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #38691|review?                     |review+
               Flag|                            |




--- Comment #44 from Holger Freyther <zecke at selfish.org>  2009-08-28 07:30:29 PDT ---
(From update of attachment 38691)

>  
> +void ScrollView::setScrollbarModes(ScrollbarMode horizontalMode, ScrollbarMode verticalMode)
> +{
> +    if (horizontalMode == m_horizontalScrollbarMode && verticalMode == m_verticalScrollbarMode)
> +        return;
> +
> +    m_horizontalScrollbarMode = horizontalMode;
> +    m_verticalScrollbarMode = verticalMode;
> +
> +    // We don't really care about reporting policy changes on frames
> +    // that have no adjustments attached to them.
> +    if (!m_horizontalAdjustment) {
> +        updateScrollbars(scrollOffset());
> +        return;
> +    }
> +
> +    if (!isFrameView())
> +        return;

okay, I don't think we need this here, but it does not really hurt. Thanks a
lot for finishing it.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list