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

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

Issue 819953002: Mac: Update scrollbar size and input position during impl-overscroll (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Peure virtual Created 6 years 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
« no previous file with comments | « Source/platform/exported/WebScrollbarThemeClientImpl.cpp ('k') | Source/platform/scroll/Scrollbar.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/scroll/Scrollbar.h
diff --git a/Source/platform/scroll/Scrollbar.h b/Source/platform/scroll/Scrollbar.h
index 625412d2f025f2684e511c79e5569e2a383464f8..8fcdb5f856b71200b088fdd81e1ff27fb0cb12d5 100644
--- a/Source/platform/scroll/Scrollbar.h
+++ b/Source/platform/scroll/Scrollbar.h
@@ -144,6 +144,9 @@ public:
virtual bool isAlphaLocked() const override { return m_isAlphaLocked; }
virtual void setIsAlphaLocked(bool flag) override { m_isAlphaLocked = flag; }
+ virtual float elasticOverscroll() const override { return m_elasticOverscroll; }
+ virtual void setElasticOverscroll(float elasticOverscroll) override { m_elasticOverscroll = elasticOverscroll; }
+
bool overlapsResizer() const { return m_overlapsResizer; }
void setOverlapsResizer(bool overlapsResizer) { m_overlapsResizer = overlapsResizer; }
@@ -196,6 +199,8 @@ protected:
bool m_isAlphaLocked;
+ float m_elasticOverscroll;
+
private:
virtual bool isScrollbar() const override { return true; }
« no previous file with comments | « Source/platform/exported/WebScrollbarThemeClientImpl.cpp ('k') | Source/platform/scroll/Scrollbar.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698