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

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

Issue 2709813002: Remove the touch ack timeout handler out of the legacy touch event queue. (Closed)
Patch Set: Fix nits Created 3 years, 10 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 9384ee4379f26a0a179da0efe0383ee90edda258..c1c4115fa8570b143a698a593e133083fe3da8ab 100644
--- a/content/browser/renderer_host/input/touch_event_queue.h
+++ b/content/browser/renderer_host/input/touch_event_queue.h
@@ -112,7 +112,19 @@ class CONTENT_EXPORT TouchEventQueue {
virtual bool Empty() const WARN_UNUSED_RESULT = 0;
+ protected:
+ virtual void SendTouchCancelEventForTouchEvent(
+ const TouchEventWithLatencyInfo& event_to_cancel) = 0;
+
+ // Empties the queue of touch events. This may result in any number of gesture
+ // events being sent to the renderer.
+ virtual void FlushQueue() = 0;
+ virtual void UpdateTouchConsumerStates(const blink::WebTouchEvent& event,
+ InputEventAckState ack_result) = 0;
+
private:
+ friend class TouchTimeoutHandler;
+
DISALLOW_COPY_AND_ASSIGN(TouchEventQueue);
};

Powered by Google App Engine
This is Rietveld 408576698