summaryrefslogtreecommitdiffstats
path: root/ui/events/gesture_detection/gesture_detector.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/events/gesture_detection/gesture_detector.h')
-rw-r--r--ui/events/gesture_detection/gesture_detector.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/events/gesture_detection/gesture_detector.h b/ui/events/gesture_detection/gesture_detector.h
index ff60905..29a004a 100644
--- a/ui/events/gesture_detection/gesture_detector.h
+++ b/ui/events/gesture_detection/gesture_detector.h
@@ -88,6 +88,10 @@ class GestureDetector {
double_tap_listener_ = double_tap_listener;
}
+ bool has_doubletap_listener() const { return double_tap_listener_ != NULL; }
+
+ bool is_double_tapping() const { return is_double_tapping_; }
+
void set_is_longpress_enabled(bool is_longpress_enabled) {
is_longpress_enabled_ = is_longpress_enabled;
}