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

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

Issue 183923034: Disable the touch ack timeout for touch-action:none (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Final cleanup pass 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 b5392f951f0d1dec7e7c7c5161eb4103703403ef..2eedc064209443be7ec009a03bc1dc20782ebabd 100644
--- a/content/browser/renderer_host/input/touch_action_filter.h
+++ b/content/browser/renderer_host/input/touch_action_filter.h
@@ -37,6 +37,8 @@ public:
// renderer. It may be called multiple times during this interval.
void ResetTouchAction();
+ TouchAction allowed_touch_action() const { return allowed_touch_action_; }
+
// Return the intersection of two TouchAction values.
static TouchAction Intersect(TouchAction ta1, TouchAction ta2);
@@ -61,7 +63,7 @@ private:
bool allow_current_double_tap_event_;
// What touch actions are currently permitted.
- content::TouchAction allowed_touch_action_;
+ TouchAction allowed_touch_action_;
DISALLOW_COPY_AND_ASSIGN(TouchActionFilter);
};

Powered by Google App Engine
This is Rietveld 408576698