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

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

Issue 170603002: Make touch-action apply to double-tap zoom (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix naming of |drop_current_tap_ending_event_|. Created 6 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_action_filter.h
diff --git a/content/browser/renderer_host/input/touch_action_filter.h b/content/browser/renderer_host/input/touch_action_filter.h
index d4fb4b5550d990fbf715650a01ad032ca3cbc3a6..17cf59eeb2fee612a805d84232b3e9834cc0dcaf 100644
--- a/content/browser/renderer_host/input/touch_action_filter.h
+++ b/content/browser/renderer_host/input/touch_action_filter.h
@@ -44,6 +44,10 @@ private:
// Whether GesturePinch events should be discarded due to touch-action.
bool drop_pinch_gesture_events_;
+ // Whether a tap ending event in this sequence should be discarded because a
+ // previous GestureTapUnconfirmed event was turned into a GestureTap.
+ bool drop_current_tap_ending_event_;
+
// What touch actions are currently permitted.
content::TouchAction allowed_touch_action_;

Powered by Google App Engine
This is Rietveld 408576698