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

Unified Diff: cc/trees/layer_tree_host_impl.h

Issue 12582009: Implement windows mousewheel scroll by page functionality (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: fix scroll distance calculation to more closely match windows behavior Created 7 years, 9 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: cc/trees/layer_tree_host_impl.h
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h
index 2f46068b22f99ac086c60e01a45325f3e83ceda2..4fe5ad444a137ea7429f4ef0014280bdd0e39c16 100644
--- a/cc/trees/layer_tree_host_impl.h
+++ b/cc/trees/layer_tree_host_impl.h
@@ -91,6 +91,9 @@ class CC_EXPORT LayerTreeHostImpl : public InputHandlerClient,
InputHandlerClient::ScrollInputType type) OVERRIDE;
virtual bool ScrollBy(gfx::Point viewport_point,
gfx::Vector2dF scroll_delta) OVERRIDE;
+ virtual bool ScrollVerticallyByPage(
+ gfx::Point viewport_point,
+ WebKit::WebScrollbar::ScrollDirection direction) OVERRIDE;
virtual void ScrollEnd() OVERRIDE;
virtual void PinchGestureBegin() OVERRIDE;
virtual void PinchGestureUpdate(float magnify_delta,

Powered by Google App Engine
This is Rietveld 408576698