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

Unified Diff: Source/platform/exported/WebScrollbarImpl.cpp

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/WebScrollbarImpl.h ('k') | Source/platform/exported/WebScrollbarThemeClientImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/exported/WebScrollbarImpl.cpp
diff --git a/Source/platform/exported/WebScrollbarImpl.cpp b/Source/platform/exported/WebScrollbarImpl.cpp
index 57a20e4ba908a9c9d12324313839c40b0a07d6bc..c044b77ea19e1cd8a7c08ca09b30e5ab31581344 100644
--- a/Source/platform/exported/WebScrollbarImpl.cpp
+++ b/Source/platform/exported/WebScrollbarImpl.cpp
@@ -133,4 +133,14 @@ void WebScrollbarImpl::setIsAlphaLocked(bool flag)
m_scrollbar->setIsAlphaLocked(flag);
}
+float WebScrollbarImpl::elasticOverscroll() const
+{
+ return m_scrollbar->elasticOverscroll();
+}
+
+void WebScrollbarImpl::setElasticOverscroll(float elasticOverscroll)
+{
+ m_scrollbar->setElasticOverscroll(elasticOverscroll);
+}
+
} // namespace blink
« no previous file with comments | « Source/platform/exported/WebScrollbarImpl.h ('k') | Source/platform/exported/WebScrollbarThemeClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698