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

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

Issue 44983003: Events ignoring ack disposition receive synthetic acks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 2 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/gesture_event_filter.h
diff --git a/content/browser/renderer_host/input/gesture_event_filter.h b/content/browser/renderer_host/input/gesture_event_filter.h
index 62949fbb2720457067343d52e5f57b423cff5d2b..f4ea2791e5b6a4f6a753c8d0b5dc3b096df74d01 100644
--- a/content/browser/renderer_host/input/gesture_event_filter.h
+++ b/content/browser/renderer_host/input/gesture_event_filter.h
@@ -93,8 +93,6 @@ class CONTENT_EXPORT GestureEventFilter {
friend class MockRenderWidgetHost;
friend class GestureEventFilterTest;
- static bool ShouldIgnoreAckForGestureType(WebKit::WebInputEvent::Type type);
-
// Returns the last gesture event that was sent to the renderer.
const GestureEventWithLatencyInfo& GetGestureEventAwaitingAck() const;
@@ -155,11 +153,6 @@ class CONTENT_EXPORT GestureEventFilter {
gfx::Transform GetTransformForEvent(
const GestureEventWithLatencyInfo& gesture_event) const;
- // Pops and sends events ignoring ack from the head of
- // |coalesced_gesture_events_| until the queue is empty or the event at the
- // head requires an ack.
- void SendEventsIgnoringAck();
-
// Adds |gesture_event| to the |coalesced_gesture_events_|, resetting the
// accumulation of |combined_scroll_pinch_|.
void EnqueueEvent(const GestureEventWithLatencyInfo& gesture_event);

Powered by Google App Engine
This is Rietveld 408576698