Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(558)

Unified Diff: Source/platform/scroll/ScrollbarThemeGtkOrAura.h

Issue 151483008: Re-add snap-back behavior (Blink side) (Closed) Base URL: svn://svn.chromium.org/blink/trunk/
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/platform/scroll/ScrollbarThemeGtkOrAura.h
===================================================================
--- Source/platform/scroll/ScrollbarThemeGtkOrAura.h (revision 166567)
+++ Source/platform/scroll/ScrollbarThemeGtkOrAura.h (working copy)
@@ -44,6 +44,7 @@
virtual void paintButton(GraphicsContext*, ScrollbarThemeClient*, const IntRect&, ScrollbarPart) OVERRIDE;
virtual void paintThumb(GraphicsContext*, ScrollbarThemeClient*, const IntRect&) OVERRIDE;
virtual bool shouldCenterOnThumb(ScrollbarThemeClient*, const PlatformMouseEvent&) OVERRIDE;
+ virtual bool shouldSnapBackToDragOrigin(ScrollbarThemeClient*, const PlatformMouseEvent&) OVERRIDE;
virtual IntSize buttonSize(ScrollbarThemeClient*) OVERRIDE;
virtual int minimumThumbLength(ScrollbarThemeClient*) OVERRIDE;
};
« no previous file with comments | « no previous file | Source/platform/scroll/ScrollbarThemeGtkOrAura.cpp » ('j') | Source/platform/scroll/ScrollbarThemeGtkOrAura.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698