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

Unified Diff: webkit/compositor_bindings/web_to_ccinput_handler_adapter.cc

Issue 11975007: Implement one-page-at-a-time mousewheel scrolling in the impl thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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: webkit/compositor_bindings/web_to_ccinput_handler_adapter.cc
diff --git a/webkit/compositor_bindings/web_to_ccinput_handler_adapter.cc b/webkit/compositor_bindings/web_to_ccinput_handler_adapter.cc
index 3f23d71172cd36631e2fde5d9a2862004c1ef036..c59ddb160d2ceafa37f4c986afd2cb831f83c383 100644
--- a/webkit/compositor_bindings/web_to_ccinput_handler_adapter.cc
+++ b/webkit/compositor_bindings/web_to_ccinput_handler_adapter.cc
@@ -47,9 +47,9 @@ public:
return static_cast<WebInputHandlerClient::ScrollStatus>(m_client->scrollBegin(point, static_cast<cc::InputHandlerClient::ScrollInputType>(type)));
}
- virtual bool scrollByIfPossible(WebPoint point, WebSize offset) OVERRIDE
+ virtual bool scrollByIfPossible(WebPoint point, WebSize offset, bool scrollByPage) OVERRIDE
{
- return m_client->scrollBy(point, offset);
+ return m_client->scrollBy(point, offset, scrollByPage);
}
virtual void scrollEnd() OVERRIDE
« webkit/compositor_bindings/web_layer_impl.h ('K') | « webkit/compositor_bindings/web_layer_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698