Changeset 76455 in webkit


Ignore:
Timestamp:
Jan 22, 2011 1:55:43 PM (13 years ago)
Author:
jam@chromium.org
Message:

2011-01-22 John Abd-El-Malek <jam@chromium.org>

Reviewed by Adam Barth.

[chromium]: Fix WebScrollbarImpl not getting scroll events after recent scrollbar refactoring
https://bugs.webkit.org/show_bug.cgi?id=52967

  • src/WebScrollbarImpl.cpp: (WebKit::WebScrollbarImpl::horizontalScrollbar): (WebKit::WebScrollbarImpl::verticalScrollbar):
  • src/WebScrollbarImpl.h:
Location:
trunk/Source/WebKit/chromium
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/chromium/ChangeLog

    r76442 r76455  
     12011-01-22  John Abd-El-Malek  <jam@chromium.org>
     2
     3        Reviewed by Adam Barth.
     4
     5        [chromium]: Fix WebScrollbarImpl not getting scroll events after recent scrollbar refactoring
     6        https://bugs.webkit.org/show_bug.cgi?id=52967
     7
     8        * src/WebScrollbarImpl.cpp:
     9        (WebKit::WebScrollbarImpl::horizontalScrollbar):
     10        (WebKit::WebScrollbarImpl::verticalScrollbar):
     11        * src/WebScrollbarImpl.h:
     12
    1132011-01-21  Nikolas Zimmermann  <nzimmermann@rim.com>
    214
  • trunk/Source/WebKit/chromium/src/WebScrollbarImpl.cpp

    r76383 r76455  
    312312}
    313313
     314Scrollbar* WebScrollbarImpl::horizontalScrollbar() const
     315{
     316    return m_scrollbar->orientation() == HorizontalScrollbar ? m_scrollbar.get() : 0;
     317}
     318
     319Scrollbar* WebScrollbarImpl::verticalScrollbar() const
     320{
     321    return m_scrollbar->orientation() == VerticalScrollbar ? m_scrollbar.get() : 0;
     322}
     323
    314324} // namespace WebKit
  • trunk/Source/WebKit/chromium/src/WebScrollbarImpl.h

    r76378 r76455  
    6666    virtual bool scrollbarCornerPresent() const;
    6767    virtual void getTickmarks(Vector<WebCore::IntRect>&) const;
     68    virtual WebCore::Scrollbar* horizontalScrollbar() const;
     69    virtual WebCore::Scrollbar* verticalScrollbar() const;
    6870
    6971private:
Note: See TracChangeset for help on using the changeset viewer.