diff options
author | jdduke@chromium.org <jdduke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-18 11:19:12 +0000 |
---|---|---|
committer | jdduke@chromium.org <jdduke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-18 11:19:12 +0000 |
commit | 7680eb1f1dec917904f2353843d0476fed95566d (patch) | |
tree | 17db1578c933f330fa9ea2f1f5fdb799b04dd6ac /content/browser/renderer_host/input/input_router.h | |
parent | 33b7954e067e2f2d04a646d3e10eef030a4a5501 (diff) | |
download | chromium_src-7680eb1f1dec917904f2353843d0476fed95566d.zip chromium_src-7680eb1f1dec917904f2353843d0476fed95566d.tar.gz chromium_src-7680eb1f1dec917904f2353843d0476fed95566d.tar.bz2 |
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
Diffstat (limited to 'content/browser/renderer_host/input/input_router.h')
-rw-r--r-- | content/browser/renderer_host/input/input_router.h | 5 |
1 files changed, 0 insertions, 5 deletions
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 |