From 7680eb1f1dec917904f2353843d0476fed95566d Mon Sep 17 00:00:00 2001 From: "jdduke@chromium.org" Date: Fri, 18 Oct 2013 11:19:12 +0000 Subject: Remove a RenderWidgetHostImpl dependency from OverscrollController The OverscrollController queries the RenderWidgetHostImpl to determine if an event should be forwarded for dispatch. Eliminate this call by returning an event disposition, allowing the router to perform the query instead. BUG=306194 Review URL: https://codereview.chromium.org/27535002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229357 0039d316-1c4b-4281-b951-d872f2087c98 --- content/browser/renderer_host/input/input_router.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'content/browser/renderer_host/input/input_router.h') diff --git a/content/browser/renderer_host/input/input_router.h b/content/browser/renderer_host/input/input_router.h index c4e19de..a346a00 100644 --- a/content/browser/renderer_host/input/input_router.h +++ b/content/browser/renderer_host/input/input_router.h @@ -54,11 +54,6 @@ class InputRouter : public IPC::Listener { // router. When |false|, the caller can forego sending touch events, and // instead consume them directly. virtual bool ShouldForwardTouchEvent() const = 0; - - // Returns |true| if the caller should immediately forward the provided - // |gesture_event| to the router. - virtual bool ShouldForwardGestureEvent( - const GestureEventWithLatencyInfo& gesture_event) const = 0; }; } // namespace content -- cgit v1.1