diff options
author | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-13 19:05:02 +0000 |
---|---|---|
committer | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-13 19:05:02 +0000 |
commit | 2422e5c99d08dd4f9747e80b8febbbd92b08a43f (patch) | |
tree | 74ac53ff35137f64fea93ce9069fb1ce7dd2255c /content/browser/renderer_host/input/input_router.h | |
parent | 70b9d1f0f00a3d41fc69d3f4840a90e60e317c0e (diff) | |
download | chromium_src-2422e5c99d08dd4f9747e80b8febbbd92b08a43f.zip chromium_src-2422e5c99d08dd4f9747e80b8febbbd92b08a43f.tar.gz chromium_src-2422e5c99d08dd4f9747e80b8febbbd92b08a43f.tar.bz2 |
input: Make the OverscrollController less intrusive, and some code cleanup.
* Make OverscrollController less intrusive to input-event dispatching. With this
change, the OverscrollController consumes an event on its way to dispatch only
if the event contributes to the overscroll.
* When an overscroll is in progress, and a gesture event comes in, this event is
not dispatched to the GestureEventFilter from RenderWidgetHostImpl. So, if the
event should be dispatched to the renderer, make sure it always goes through
the host from the OverscrollController.
* Remove HasQueuedGestureEvents() from InputRouter interface, and forward all
gesture events through the RenderWidgetHost from the overscroll-controller.
BUG=none
R=aelias@chromium.org, jdduke@chromium.org
Review URL: https://codereview.chromium.org/23801003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223096 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 | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/content/browser/renderer_host/input/input_router.h b/content/browser/renderer_host/input/input_router.h index 93b7b3f..5e4533f 100644 --- a/content/browser/renderer_host/input/input_router.h +++ b/content/browser/renderer_host/input/input_router.h @@ -64,9 +64,6 @@ class InputRouter : public IPC::Listener { // |gesture_event| to the router. virtual bool ShouldForwardGestureEvent( const GestureEventWithLatencyInfo& gesture_event) const = 0; - - // Returns |true| if the router has any queued or in-flight gesture events. - virtual bool HasQueuedGestureEvents() const = 0; }; } // namespace content |