Index: third_party/WebKit/Source/platform/scroll/ScrollableArea.h |
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollableArea.h b/third_party/WebKit/Source/platform/scroll/ScrollableArea.h |
index e8b1928c208eed82b906a481a1571b3cceb7636f..d74a3aaae736ed278581019776ce8cc9b0a9106e 100644 |
--- a/third_party/WebKit/Source/platform/scroll/ScrollableArea.h |
+++ b/third_party/WebKit/Source/platform/scroll/ScrollableArea.h |
@@ -244,7 +244,7 @@ public: |
void layerForScrollingDidChange(WebCompositorAnimationTimeline*); |
void cancelScrollAnimation(); |
- void cancelProgrammaticScrollAnimation(); |
+ virtual void cancelProgrammaticScrollAnimation(); |
virtual ~ScrollableArea(); |
@@ -280,6 +280,9 @@ public: |
protected: |
ScrollableArea(); |
+ ScrollbarOrientation scrollbarOrientationFromDirection(ScrollDirectionPhysical) const; |
+ float scrollStep(ScrollGranularity, ScrollbarOrientation) const; |
+ |
void setScrollOrigin(const IntPoint&); |
void resetScrollOriginChanged() { m_scrollOriginChanged = false; } |