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

Unified Diff: content/browser/renderer_host/input/synthetic_gesture_target_base.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/synthetic_gesture_target_base.h
diff --git a/content/browser/renderer_host/input/synthetic_gesture_target_base.h b/content/browser/renderer_host/input/synthetic_gesture_target_base.h
index a95c5d48708d38c5335f9ddc816da1f1bd49e072..d48be113e62ffd9dff31a0c8a3522467f37d2c0b 100644
--- a/content/browser/renderer_host/input/synthetic_gesture_target_base.h
+++ b/content/browser/renderer_host/input/synthetic_gesture_target_base.h
@@ -25,7 +25,7 @@ class RenderWidgetHostImpl;
class SyntheticGestureTargetBase : public SyntheticGestureTarget {
public:
explicit SyntheticGestureTargetBase(RenderWidgetHostImpl* host);
- virtual ~SyntheticGestureTargetBase();
+ ~SyntheticGestureTargetBase() override;
virtual void DispatchWebTouchEventToPlatform(
const blink::WebTouchEvent& web_touch,
@@ -40,19 +40,18 @@ class SyntheticGestureTargetBase : public SyntheticGestureTarget {
const ui::LatencyInfo& latency_info);
// SyntheticGestureTarget:
- virtual void DispatchInputEventToPlatform(
- const blink::WebInputEvent& event) override;
+ void DispatchInputEventToPlatform(const blink::WebInputEvent& event) override;
- virtual void SetNeedsFlush() override;
+ void SetNeedsFlush() override;
- virtual SyntheticGestureParams::GestureSourceType
- GetDefaultSyntheticGestureSourceType() const override;
+ SyntheticGestureParams::GestureSourceType
+ GetDefaultSyntheticGestureSourceType() const override;
- virtual base::TimeDelta PointerAssumedStoppedTime() const override;
+ base::TimeDelta PointerAssumedStoppedTime() const override;
- virtual float GetTouchSlopInDips() const override;
+ float GetTouchSlopInDips() const override;
- virtual float GetMinScalingSpanInDips() const override;
+ float GetMinScalingSpanInDips() const override;
protected:
RenderWidgetHostImpl* render_widget_host() const { return host_; }

Powered by Google App Engine
This is Rietveld 408576698