summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/WebCore/platform/ScrollbarTheme.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/webkit/WebCore/platform/ScrollbarTheme.h')
-rw-r--r--src/3rdparty/webkit/WebCore/platform/ScrollbarTheme.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/3rdparty/webkit/WebCore/platform/ScrollbarTheme.h b/src/3rdparty/webkit/WebCore/platform/ScrollbarTheme.h
index e2aebc6..9327dc6 100644
--- a/src/3rdparty/webkit/WebCore/platform/ScrollbarTheme.h
+++ b/src/3rdparty/webkit/WebCore/platform/ScrollbarTheme.h
@@ -76,6 +76,7 @@ public:
virtual void paintScrollCorner(ScrollView*, GraphicsContext* context, const IntRect& cornerRect) { context->fillRect(cornerRect, Color::white); }
virtual bool shouldCenterOnThumb(Scrollbar*, const PlatformMouseEvent&) { return false; }
+ virtual bool shouldSnapBackToDragOrigin(Scrollbar*, const PlatformMouseEvent&) { return false; }
virtual int thumbPosition(Scrollbar*) { return 0; } // The position of the thumb relative to the track.
virtual int thumbLength(Scrollbar*) { return 0; } // The length of the thumb along the axis of the scrollbar.
virtual int trackPosition(Scrollbar*) { return 0; } // The position of the track relative to the scrollbar.