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

Unified Diff: content/browser/renderer_host/input/gesture_text_selector.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/gesture_text_selector.h
diff --git a/content/browser/renderer_host/input/gesture_text_selector.h b/content/browser/renderer_host/input/gesture_text_selector.h
index 5e339a6d4d9d0967f4234996423f4e0692dd614c..e494045b731fd239f2e30ac9b90df19d83d9987e 100644
--- a/content/browser/renderer_host/input/gesture_text_selector.h
+++ b/content/browser/renderer_host/input/gesture_text_selector.h
@@ -37,7 +37,7 @@ class CONTENT_EXPORT GestureTextSelectorClient {
class CONTENT_EXPORT GestureTextSelector : public ui::SimpleGestureListener {
public:
explicit GestureTextSelector(GestureTextSelectorClient* client);
- virtual ~GestureTextSelector();
+ ~GestureTextSelector() override;
// This should be called before |event| is seen by the platform gesture
// detector or forwarded to web content.
@@ -49,11 +49,11 @@ class CONTENT_EXPORT GestureTextSelector : public ui::SimpleGestureListener {
ShouldStartTextSelection);
// SimpleGestureListener implementation.
- virtual bool OnSingleTapUp(const ui::MotionEvent& e) override;
- virtual bool OnScroll(const ui::MotionEvent& e1,
- const ui::MotionEvent& e2,
- float distance_x,
- float distance_y) override;
+ bool OnSingleTapUp(const ui::MotionEvent& e) override;
+ bool OnScroll(const ui::MotionEvent& e1,
+ const ui::MotionEvent& e2,
+ float distance_x,
+ float distance_y) override;
static bool ShouldStartTextSelection(const ui::MotionEvent& event);

Powered by Google App Engine
This is Rietveld 408576698