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

Unified Diff: Source/web/WebPluginScrollbarImpl.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/web/WebPluginScrollbarImpl.h ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebPluginScrollbarImpl.cpp
diff --git a/Source/web/WebPluginScrollbarImpl.cpp b/Source/web/WebPluginScrollbarImpl.cpp
index dd966494541437695ae5c0e196b4d8c49947f610..b7ffadc5f7638e463682a253e75cc7b5c24ece03 100644
--- a/Source/web/WebPluginScrollbarImpl.cpp
+++ b/Source/web/WebPluginScrollbarImpl.cpp
@@ -363,4 +363,14 @@ bool WebPluginScrollbarImpl::onKeyDown(const WebInputEvent& event)
return false;
}
+float WebPluginScrollbarImpl::elasticOverscroll() const
+{
+ return m_scrollbar->elasticOverscroll();
+}
+
+void WebPluginScrollbarImpl::setElasticOverscroll(float elasticOverscroll)
+{
+ m_scrollbar->setElasticOverscroll(elasticOverscroll);
+}
+
} // namespace blink
« no previous file with comments | « Source/web/WebPluginScrollbarImpl.h ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698