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

Unified Diff: Source/web/ChromeClientImpl.cpp

Issue 1056983004: OverscrollGlow for mainThread-{BLINK CHANGES} (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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: Source/web/ChromeClientImpl.cpp
diff --git a/Source/web/ChromeClientImpl.cpp b/Source/web/ChromeClientImpl.cpp
index bfbcd3eed06c03578fe50aca2c909028e76ba50a..9894459543ce8b1db586af6ff9ecdb8a6093536f 100644
--- a/Source/web/ChromeClientImpl.cpp
+++ b/Source/web/ChromeClientImpl.cpp
@@ -299,6 +299,14 @@ Page* ChromeClientImpl::createWindow(LocalFrame* frame, const FrameLoadRequest&
return newView->page();
}
+void ChromeClientImpl::didOverscroll(const FloatSize& unusedDelta, const FloatSize& accumulatedRootOverScroll, const FloatPoint& position, const FloatSize& velocity)
+{
+ if (!m_webView->client())
+ return;
+
+ m_webView->client()->didOverscroll(unusedDelta, accumulatedRootOverScroll, position, velocity);
+}
+
void ChromeClientImpl::show(NavigationPolicy navigationPolicy)
{
if (m_webView->client())

Powered by Google App Engine
This is Rietveld 408576698