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

Unified Diff: content/browser/renderer_host/input/touch_event_queue.h

Issue 188833004: [Android] Properly disable the touch ack timeout during a touch sequence (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@input_log_verbose
Patch Set: Cleanup Created 6 years, 9 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
Index: content/browser/renderer_host/input/touch_event_queue.h
diff --git a/content/browser/renderer_host/input/touch_event_queue.h b/content/browser/renderer_host/input/touch_event_queue.h
index 6c50c329e85938dbeb53b6725ef738fad1fe481f..b99206bee9fb1c464c5ec6bf0a92e2ac51400f62 100644
--- a/content/browser/renderer_host/input/touch_event_queue.h
+++ b/content/browser/renderer_host/input/touch_event_queue.h
@@ -93,7 +93,8 @@ class CONTENT_EXPORT TouchEventQueue {
bool IsPendingAckTouchStart() const;
// Sets whether a delayed touch ack will cancel and flush the current
- // touch sequence.
+ // touch sequence. Note that, if the timeout was previously disabled, enabling
+ // it will take effect only for the following touch sequence.
void SetAckTimeoutEnabled(bool enabled, size_t ack_timeout_delay_ms);
bool empty() const WARN_UNUSED_RESULT {

Powered by Google App Engine
This is Rietveld 408576698