| Index: Source/core/platform/Scrollbar.cpp
|
| diff --git a/Source/core/platform/Scrollbar.cpp b/Source/core/platform/Scrollbar.cpp
|
| index 7bf8b4107a4bbcdc877580ab2b23a161e0d536a7..6bf7a0bc34909a7d3c046d651bf9cf970569c85d 100644
|
| --- a/Source/core/platform/Scrollbar.cpp
|
| +++ b/Source/core/platform/Scrollbar.cpp
|
| @@ -55,12 +55,6 @@ PassRefPtr<Scrollbar> Scrollbar::createNativeScrollbar(ScrollableArea* scrollabl
|
| return adoptRef(new Scrollbar(scrollableArea, orientation, size));
|
| }
|
|
|
| -int Scrollbar::maxOverlapBetweenPages()
|
| -{
|
| - static int maxOverlapBetweenPages = ScrollbarTheme::theme()->maxOverlapBetweenPages();
|
| - return maxOverlapBetweenPages;
|
| -}
|
| -
|
| Scrollbar::Scrollbar(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, ScrollbarControlSize controlSize,
|
| ScrollbarTheme* theme)
|
| : m_scrollableArea(scrollableArea)
|
| @@ -71,9 +65,6 @@ Scrollbar::Scrollbar(ScrollableArea* scrollableArea, ScrollbarOrientation orient
|
| , m_totalSize(0)
|
| , m_currentPos(0)
|
| , m_dragOrigin(0)
|
| - , m_lineStep(0)
|
| - , m_pageStep(0)
|
| - , m_pixelStep(1)
|
| , m_hoveredPart(NoPart)
|
| , m_pressedPart(NoPart)
|
| , m_pressedPos(0)
|
| @@ -158,13 +149,6 @@ void Scrollbar::setProportion(int visibleSize, int totalSize)
|
| updateThumbProportion();
|
| }
|
|
|
| -void Scrollbar::setSteps(int lineStep, int pageStep, int pixelsPerStep)
|
| -{
|
| - m_lineStep = lineStep;
|
| - m_pageStep = pageStep;
|
| - m_pixelStep = 1.0f / pixelsPerStep;
|
| -}
|
| -
|
| void Scrollbar::updateThumb()
|
| {
|
| #ifdef THUMB_POSITION_AFFECTS_BUTTONS
|
|
|