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

Unified Diff: cc/input/input_handler.h

Issue 52663003: Remove all fling related stuff from the renderer assuming that browser side Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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 | « no previous file | cc/input/layer_scroll_offset_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/input/input_handler.h
diff --git a/cc/input/input_handler.h b/cc/input/input_handler.h
index 00446b55bb4afa924fea7475ad4c5818a615aea4..cd37edfa27a933777104f2ae3ec2c2ae5d4ee3ca 100644
--- a/cc/input/input_handler.h
+++ b/cc/input/input_handler.h
@@ -26,7 +26,6 @@ class LayerScrollOffsetDelegate;
struct DidOverscrollParams {
gfx::Vector2dF accumulated_overscroll;
gfx::Vector2dF latest_overscroll_delta;
- gfx::Vector2dF current_fling_velocity;
};
class CC_EXPORT InputHandlerClient {
@@ -35,7 +34,6 @@ class CC_EXPORT InputHandlerClient {
virtual void WillShutdown() = 0;
virtual void Animate(base::TimeTicks time) = 0;
- virtual void MainThreadHasStoppedFlinging() = 0;
// Called when scroll deltas reaching the root scrolling layer go unused.
// The accumulated overscroll is scoped by the most recent call to
@@ -90,12 +88,6 @@ class CC_EXPORT InputHandler {
gfx::Point viewport_point,
ScrollDirection direction) = 0;
- // Returns ScrollStarted if a layer was being actively being scrolled,
- // ScrollIgnored if not.
- virtual ScrollStatus FlingScrollBegin() = 0;
-
- virtual void NotifyCurrentFlingVelocity(gfx::Vector2dF velocity) = 0;
-
virtual void MouseMoveAt(gfx::Point mouse_position) = 0;
// Stop scrolling the selected layer. Should only be called if ScrollBegin()
« no previous file with comments | « no previous file | cc/input/layer_scroll_offset_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698