| Index: sky/engine/platform/scroll/Scrollbar.cpp
|
| diff --git a/sky/engine/platform/scroll/Scrollbar.cpp b/sky/engine/platform/scroll/Scrollbar.cpp
|
| index 523e2de51e65d93b1288ca3a384504b0de5ec971..d08cdb29f85eb3bb45fa935ed3f7f00c2f1224a3 100644
|
| --- a/sky/engine/platform/scroll/Scrollbar.cpp
|
| +++ b/sky/engine/platform/scroll/Scrollbar.cpp
|
| @@ -62,7 +62,6 @@ Scrollbar::Scrollbar(ScrollableArea* scrollableArea, ScrollbarOrientation orient
|
| , m_pressedPos(0)
|
| , m_scrollPos(0)
|
| , m_documentDragPos(0)
|
| - , m_enabled(true)
|
| , m_scrollTimer(this, &Scrollbar::autoscrollTimerFired)
|
| , m_overlapsResizer(false)
|
| {
|
| @@ -80,11 +79,6 @@ Scrollbar::~Scrollbar()
|
| stopTimerIfNeeded();
|
| }
|
|
|
| -ScrollbarOverlayStyle Scrollbar::scrollbarOverlayStyle() const
|
| -{
|
| - return m_scrollableArea ? m_scrollableArea->scrollbarOverlayStyle() : ScrollbarOverlayStyleDefault;
|
| -}
|
| -
|
| bool Scrollbar::isScrollableAreaActive() const
|
| {
|
| return m_scrollableArea && m_scrollableArea->isActive();
|
| @@ -370,14 +364,6 @@ void Scrollbar::mouseDown(const PlatformMouseEvent& evt)
|
| autoscrollPressedPart(initialAutoscrollTimerDelay());
|
| }
|
|
|
| -void Scrollbar::setEnabled(bool e)
|
| -{
|
| - if (m_enabled == e)
|
| - return;
|
| - m_enabled = e;
|
| - invalidate();
|
| -}
|
| -
|
| bool Scrollbar::isOverlayScrollbar() const
|
| {
|
| // FIXME(sky): Remove
|
|
|