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

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: Add test for single synchronous ack. Created 7 years, 1 month 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 61cb7f7b16d2a8fee62cc67611c4e05c00010995..039513ecaaf3947b5de61c289fef34971a7f9e12 100644
--- a/content/browser/renderer_host/input/gesture_event_filter.h
+++ b/content/browser/renderer_host/input/gesture_event_filter.h
@@ -92,8 +92,7 @@ class CONTENT_EXPORT GestureEventFilter {
private:
friend class MockRenderWidgetHost;
friend class GestureEventFilterTest;
-
- static bool ShouldIgnoreAckForGestureType(WebKit::WebInputEvent::Type type);
+ friend class ImmediateInputRouterTest;
// TODO(mohsen): There are a bunch of ShouldForward.../ShouldDiscard...
// methods that are getting confusing. This should be somehow fixed. Maybe
@@ -152,11 +151,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