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

Unified Diff: Source/WebKit/chromium/src/WebCompositorInputHandlerImpl.cpp

Issue 14678013: Forward velocity to the fling gesture handler. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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
« no previous file with comments | « Source/Platform/chromium/public/WebInputHandlerClient.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/src/WebCompositorInputHandlerImpl.cpp
diff --git a/Source/WebKit/chromium/src/WebCompositorInputHandlerImpl.cpp b/Source/WebKit/chromium/src/WebCompositorInputHandlerImpl.cpp
index ed333da8c7a8da6c423e765a35426890d1499390..909f491179fae8d333b4ce50d93a569e3e55913a 100644
--- a/Source/WebKit/chromium/src/WebCompositorInputHandlerImpl.cpp
+++ b/Source/WebKit/chromium/src/WebCompositorInputHandlerImpl.cpp
@@ -226,7 +226,7 @@ WebCompositorInputHandlerImpl::EventDisposition WebCompositorInputHandlerImpl::h
if (!m_gestureScrollOnImplThread) {
scrollStatus = WebInputHandlerClient::ScrollStatusOnMainThread;
} else {
- scrollStatus = m_inputHandlerClient->flingScrollBegin();
+ scrollStatus = m_inputHandlerClient->flingScrollBegin(WebFloatSize(gestureEvent.data.flingStart.velocityX, gestureEvent.data.flingStart.velocityY));
}
}
« no previous file with comments | « Source/Platform/chromium/public/WebInputHandlerClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698