Skip to content
  • leviw@chromium.org's avatar
    Switch RenderMenuList, RenderListBox, and RenderFieldSet to new layout units · 6eb4400c
    leviw@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=66149
    
    Reviewed by Eric Seidel.
    
    Changing RenderMenuList, RenderListBox, and RenderFieldSet to the LayoutUnit
    abstraction from ints.
    
    No tests as no change in functionality.
    
    * rendering/RenderFieldset.cpp:
    (WebCore::RenderFieldset::layoutSpecialExcludedChild):
    * rendering/RenderListBox.cpp:
    (WebCore::RenderListBox::numVisibleItems):
    (WebCore::RenderListBox::listHeight):
    (WebCore::RenderListBox::baselinePosition):
    (WebCore::RenderListBox::itemBoundingBoxRect):
    (WebCore::itemOffsetForAlignment):
    (WebCore::RenderListBox::panScroll):
    (WebCore::RenderListBox::scrollToward):
    (WebCore::RenderListBox::autoscroll):
    (WebCore::RenderListBox::scrollSize):
    (WebCore::RenderListBox::scrollPosition):
    (WebCore::RenderListBox::setScrollOffset):
    (WebCore::RenderListBox::itemHeight):
    (WebCore::RenderListBox::verticalScrollbarWidth):
    (WebCore::RenderListBox::scrollWidth):
    (WebCore::RenderListBox::scrollHeight):
    (WebCore::RenderListBox::scrollLeft):
    (WebCore::RenderListBox::setScrollLeft):
    (WebCore::RenderListBox::scrollTop):
    (WebCore::RenderListBox::setScrollTop):
    (WebCore::RenderListBox::controlClipRect):
    (WebCore::RenderListBox::invalidateScrollbarRect):
    (WebCore::RenderListBox::convertFromScrollbarToContainingView):
    (WebCore::RenderListBox::convertFromContainingViewToScrollbar):
    (WebCore::RenderListBox::contentsSize):
    (WebCore::RenderListBox::currentMousePosition):
    * rendering/RenderListBox.h:
    (WebCore::RenderListBox::scrollCornerRect):
    (WebCore::RenderListBox::invalidateScrollCornerRect):
    * rendering/RenderMenuList.cpp:
    (WebCore::RenderMenuList::controlClipRect):
    (WebCore::RenderMenuList::showPopup):
    * rendering/RenderMenuList.h:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@92998 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    6eb4400c