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

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: Convert filtered double tap gesture into tap cancel. 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
« no previous file with comments | « no previous file | content/browser/renderer_host/input/touch_action_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « no previous file | content/browser/renderer_host/input/touch_action_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698