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

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

Issue 667943003: Standardize usage of virtual/override/final in content/browser/ (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: content/browser/renderer_host/input/touch_selection_controller.h
diff --git a/content/browser/renderer_host/input/touch_selection_controller.h b/content/browser/renderer_host/input/touch_selection_controller.h
index 4e33594acc353d1784710ca32041c3ee269ab694..1ded1a97a1c7e607200cf918782cd968b9cbf3f7 100644
--- a/content/browser/renderer_host/input/touch_selection_controller.h
+++ b/content/browser/renderer_host/input/touch_selection_controller.h
@@ -44,7 +44,7 @@ class CONTENT_EXPORT TouchSelectionController : public TouchHandleClient {
TouchSelectionController(TouchSelectionControllerClient* client,
base::TimeDelta tap_timeout,
float tap_slop);
- virtual ~TouchSelectionController();
+ ~TouchSelectionController() override;
// To be called when the selection bounds have changed.
// Note that such updates will trigger handle updates only if preceded
@@ -86,15 +86,15 @@ class CONTENT_EXPORT TouchSelectionController : public TouchHandleClient {
enum InputEventType { TAP, LONG_PRESS, INPUT_EVENT_TYPE_NONE };
// TouchHandleClient implementation.
- virtual void OnHandleDragBegin(const TouchHandle& handle) override;
- virtual void OnHandleDragUpdate(const TouchHandle& handle,
- const gfx::PointF& new_position) override;
- virtual void OnHandleDragEnd(const TouchHandle& handle) override;
- virtual void OnHandleTapped(const TouchHandle& handle) override;
- virtual void SetNeedsAnimate() override;
- virtual scoped_ptr<TouchHandleDrawable> CreateDrawable() override;
- virtual base::TimeDelta GetTapTimeout() const override;
- virtual float GetTapSlop() const override;
+ void OnHandleDragBegin(const TouchHandle& handle) override;
+ void OnHandleDragUpdate(const TouchHandle& handle,
+ const gfx::PointF& new_position) override;
+ void OnHandleDragEnd(const TouchHandle& handle) override;
+ void OnHandleTapped(const TouchHandle& handle) override;
+ void SetNeedsAnimate() override;
+ scoped_ptr<TouchHandleDrawable> CreateDrawable() override;
+ base::TimeDelta GetTapTimeout() const override;
+ float GetTapSlop() const override;
void ShowInsertionHandleAutomatically();
void ShowSelectionHandlesAutomatically();

Powered by Google App Engine
This is Rietveld 408576698