summaryrefslogtreecommitdiffstats
path: root/content/port/browser
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-17 20:30:14 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-17 20:30:14 +0000
commitc02c059cb0e72fb303bf19fb18380ae704a26854 (patch)
tree25a16b268c5c53f8adeafd9aedaaea4ee02f843c /content/port/browser
parentd9bc2a7f086f36af6cea1e1d2593a67fd2487537 (diff)
downloadchromium_src-c02c059cb0e72fb303bf19fb18380ae704a26854.zip
chromium_src-c02c059cb0e72fb303bf19fb18380ae704a26854.tar.gz
chromium_src-c02c059cb0e72fb303bf19fb18380ae704a26854.tar.bz2
touch-event queue: Add a touch-event queue for all platforms.
This touch-event queue will allow removing the touch-event queue in the ui::gesture-recognizer, and asynchronous event processing (ui::ER_ASYNC) in ui::event-dispatcher. This queue will also allow throttling/coalescing touch events across all platforms. BUG=138153, 110231 TBR=avi@chromium.org (for .gypi and content/port) Review URL: https://codereview.chromium.org/11148008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162510 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/port/browser')
-rw-r--r--content/port/browser/render_widget_host_view_port.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/content/port/browser/render_widget_host_view_port.h b/content/port/browser/render_widget_host_view_port.h
index 29e2304..45c0a5d 100644
--- a/content/port/browser/render_widget_host_view_port.h
+++ b/content/port/browser/render_widget_host_view_port.h
@@ -261,9 +261,11 @@ class CONTENT_EXPORT RenderWidgetHostViewPort : public RenderWidgetHostView {
// Because the associated remote WebKit instance can asynchronously
// prevent-default on a dispatched touch event, the touch events are queued in
- // the GestureRecognizer until invocation of ProcessTouchAck releases it to be
- // processed (when |processed| is false) or ignored (when |processed| is true)
- virtual void ProcessTouchAck(bool processed) = 0;
+ // the GestureRecognizer until invocation of ProcessAckedTouchEvent releases
+ // it to be processed (when |processed| is false) or ignored (when |processed|
+ // is true).
+ virtual void ProcessAckedTouchEvent(const WebKit::WebTouchEvent& touch,
+ bool processed) = 0;
// Asks the view to create a smooth scroll gesture that will be used to
// simulate a user-initiated scroll.