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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlay.h

Issue 1601303003: Fix smooth scroll overshooting when mouse held down in scrollbar track. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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: third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlay.h
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlay.h b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlay.h
index 0af2c0444fc2d0c34e8b2978d7d5b034e8dd9665..260a3b148e825087d6df0b140b49e8fa31499caf 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlay.h
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlay.h
@@ -45,7 +45,7 @@ public:
int scrollbarMargin() const override;
bool usesOverlayScrollbars() const override;
- int thumbPosition(const ScrollbarThemeClient&) override;
+ int thumbPosition(const ScrollbarThemeClient&, float scrollPosition) override;
int thumbLength(const ScrollbarThemeClient&) override;
bool hasButtons(const ScrollbarThemeClient&) override { return false; }

Powered by Google App Engine
This is Rietveld 408576698