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

Unified Diff: third_party/WebKit/Source/platform/scroll/Scrollbar.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/Scrollbar.h
diff --git a/third_party/WebKit/Source/platform/scroll/Scrollbar.h b/third_party/WebKit/Source/platform/scroll/Scrollbar.h
index d5d704d1f65d05af759fe2932dca0a0e81602cb2..9b969b21fff408e3af9061d5859c361edcd97e14 100644
--- a/third_party/WebKit/Source/platform/scroll/Scrollbar.h
+++ b/third_party/WebKit/Source/platform/scroll/Scrollbar.h
@@ -222,6 +222,8 @@ private:
void invalidateRect(const IntRect&) override { setNeedsPaintInvalidation(AllParts); }
float scrollableAreaCurrentPos() const;
+ float scrollableAreaTargetPos() const;
+ bool thumbWillBeUnderMouse() const;
bool m_trackNeedsRepaint;
bool m_thumbNeedsRepaint;

Powered by Google App Engine
This is Rietveld 408576698