Changeset 116688 in webkit


Ignore:
Timestamp:
May 10, 2012 2:37:46 PM (12 years ago)
Author:
abarth@webkit.org
Message:

ScrollView::fixedVisibleContentRect should be public
https://bugs.webkit.org/show_bug.cgi?id=86147

Reviewed by Eric Seidel.

Some code in the WebKit layer of OS(ANDROID) uses this function. That
could will be upstreamed in a later patch. For now, this patch just
makes this function public so that we remove the diff to this file.

  • platform/ScrollView.h:

(WebCore::ScrollView::fixedVisibleContentRect):
(WebCore::ScrollView::delegatesScrollingDidChange):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r116687 r116688  
     12012-05-10  Adam Barth  <abarth@webkit.org>
     2
     3        ScrollView::fixedVisibleContentRect should be public
     4        https://bugs.webkit.org/show_bug.cgi?id=86147
     5
     6        Reviewed by Eric Seidel.
     7
     8        Some code in the WebKit layer of OS(ANDROID) uses this function. That
     9        could will be upstreamed in a later patch. For now, this patch just
     10        makes this function public so that we remove the diff to this file.
     11
     12        * platform/ScrollView.h:
     13        (WebCore::ScrollView::fixedVisibleContentRect):
     14        (WebCore::ScrollView::delegatesScrollingDidChange):
     15
    1162012-05-10  Anders Carlsson  <andersca@apple.com>
    217
  • trunk/Source/WebCore/platform/ScrollView.h

    r111139 r116688  
    146146    virtual IntRect visibleContentRect(bool includeScrollbars = false) const;
    147147    virtual void setFixedVisibleContentRect(const IntRect& visibleContentRect) { m_fixedVisibleContentRect = visibleContentRect; }
     148    IntRect fixedVisibleContentRect() const { return m_fixedVisibleContentRect; }
    148149    int visibleWidth() const { return visibleContentRect().width(); }
    149150    int visibleHeight() const { return visibleContentRect().height(); }
     
    295296    virtual void visibleContentsResized() = 0;
    296297    virtual void delegatesScrollingDidChange() { }
    297 
    298     IntRect fixedVisibleContentRect() const { return m_fixedVisibleContentRect; }
    299 
    300298    // These functions are used to create/destroy scrollbars.
    301299    void setHasHorizontalScrollbar(bool);
Note: See TracChangeset for help on using the changeset viewer.