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

Unified Diff: ui/events/gesture_detection/gesture_listeners.h

Issue 1358263002: [Android] Support double-tap selection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix contextual search Created 5 years, 3 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 | « ui/events/gesture_detection/gesture_detector.cc ('k') | ui/events/gesture_detection/gesture_listeners.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/gesture_detection/gesture_listeners.h
diff --git a/ui/events/gesture_detection/gesture_listeners.h b/ui/events/gesture_detection/gesture_listeners.h
index 61f541868392c41bf2425dc52b47a241297016c6..6decce661335bd7959b8483650af58a81466025b 100644
--- a/ui/events/gesture_detection/gesture_listeners.h
+++ b/ui/events/gesture_detection/gesture_listeners.h
@@ -17,7 +17,7 @@ class GESTURE_DETECTION_EXPORT GestureListener {
virtual ~GestureListener() {}
virtual bool OnDown(const MotionEvent& e) = 0;
virtual void OnShowPress(const MotionEvent& e) = 0;
- virtual bool OnSingleTapUp(const MotionEvent& e) = 0;
+ virtual bool OnSingleTapUp(const MotionEvent& e, int tap_count) = 0;
virtual void OnLongPress(const MotionEvent& e) = 0;
virtual bool OnScroll(const MotionEvent& e1,
const MotionEvent& e2,
@@ -55,7 +55,7 @@ class GESTURE_DETECTION_EXPORT SimpleGestureListener
// GestureListener implementation.
bool OnDown(const MotionEvent& e) override;
void OnShowPress(const MotionEvent& e) override;
- bool OnSingleTapUp(const MotionEvent& e) override;
+ bool OnSingleTapUp(const MotionEvent& e, int tap_count) override;
void OnLongPress(const MotionEvent& e) override;
bool OnScroll(const MotionEvent& e1,
const MotionEvent& e2,
« no previous file with comments | « ui/events/gesture_detection/gesture_detector.cc ('k') | ui/events/gesture_detection/gesture_listeners.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698