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

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

Issue 667923002: Standardize usage of virtual/override/final in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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: 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 1d623476b765c57257cf9c0250b2876517bd21d9..61f541868392c41bf2425dc52b47a241297016c6 100644
--- a/ui/events/gesture_detection/gesture_listeners.h
+++ b/ui/events/gesture_detection/gesture_listeners.h
@@ -53,29 +53,28 @@ class GESTURE_DETECTION_EXPORT SimpleGestureListener
public DoubleTapListener {
public:
// GestureListener implementation.
- virtual bool OnDown(const MotionEvent& e) override;
- virtual void OnShowPress(const MotionEvent& e) override;
- virtual bool OnSingleTapUp(const MotionEvent& e) override;
- virtual void OnLongPress(const MotionEvent& e) override;
- virtual bool OnScroll(const MotionEvent& e1,
- const MotionEvent& e2,
- float distance_x,
- float distance_y) override;
- virtual bool OnFling(const MotionEvent& e1,
- const MotionEvent& e2,
- float velocity_x,
- float velocity_y) override;
- virtual bool OnSwipe(const MotionEvent& e1,
- const MotionEvent& e2,
- float velocity_x,
- float velocity_y) override;
- virtual bool OnTwoFingerTap(const MotionEvent& e1,
- const MotionEvent& e2) override;
+ bool OnDown(const MotionEvent& e) override;
+ void OnShowPress(const MotionEvent& e) override;
+ bool OnSingleTapUp(const MotionEvent& e) override;
+ void OnLongPress(const MotionEvent& e) override;
+ bool OnScroll(const MotionEvent& e1,
+ const MotionEvent& e2,
+ float distance_x,
+ float distance_y) override;
+ bool OnFling(const MotionEvent& e1,
+ const MotionEvent& e2,
+ float velocity_x,
+ float velocity_y) override;
+ bool OnSwipe(const MotionEvent& e1,
+ const MotionEvent& e2,
+ float velocity_x,
+ float velocity_y) override;
+ bool OnTwoFingerTap(const MotionEvent& e1, const MotionEvent& e2) override;
// DoubleTapListener implementation.
- virtual bool OnSingleTapConfirmed(const MotionEvent& e) override;
- virtual bool OnDoubleTap(const MotionEvent& e) override;
- virtual bool OnDoubleTapEvent(const MotionEvent& e) override;
+ bool OnSingleTapConfirmed(const MotionEvent& e) override;
+ bool OnDoubleTap(const MotionEvent& e) override;
+ bool OnDoubleTapEvent(const MotionEvent& e) override;
};
} // namespace ui
« no previous file with comments | « ui/events/gesture_detection/filtered_gesture_provider.h ('k') | ui/events/gesture_detection/gesture_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698