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

Side by Side Diff: content/browser/renderer_host/input/synthetic_gesture_target_base.h

Issue 616603004: Replacing the OVERRIDE with override and FINAL with final in content/browser/renderer_host (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased the patch 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_GESTURE_TARGET_BASE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_GESTURE_TARGET_BASE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_GESTURE_TARGET_BASE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_GESTURE_TARGET_BASE_H_
7 7
8 #include "base/time/time.h" 8 #include "base/time/time.h"
9 #include "content/browser/renderer_host/input/synthetic_gesture_target.h" 9 #include "content/browser/renderer_host/input/synthetic_gesture_target.h"
10 10
(...skipping 23 matching lines...) Expand all
34 virtual void DispatchWebMouseWheelEventToPlatform( 34 virtual void DispatchWebMouseWheelEventToPlatform(
35 const blink::WebMouseWheelEvent& web_wheel, 35 const blink::WebMouseWheelEvent& web_wheel,
36 const ui::LatencyInfo& latency_info); 36 const ui::LatencyInfo& latency_info);
37 37
38 virtual void DispatchWebMouseEventToPlatform( 38 virtual void DispatchWebMouseEventToPlatform(
39 const blink::WebMouseEvent& web_mouse, 39 const blink::WebMouseEvent& web_mouse,
40 const ui::LatencyInfo& latency_info); 40 const ui::LatencyInfo& latency_info);
41 41
42 // SyntheticGestureTarget: 42 // SyntheticGestureTarget:
43 virtual void DispatchInputEventToPlatform( 43 virtual void DispatchInputEventToPlatform(
44 const blink::WebInputEvent& event) OVERRIDE; 44 const blink::WebInputEvent& event) override;
45 45
46 virtual void SetNeedsFlush() OVERRIDE; 46 virtual void SetNeedsFlush() override;
47 47
48 virtual SyntheticGestureParams::GestureSourceType 48 virtual SyntheticGestureParams::GestureSourceType
49 GetDefaultSyntheticGestureSourceType() const OVERRIDE; 49 GetDefaultSyntheticGestureSourceType() const override;
50 50
51 virtual base::TimeDelta PointerAssumedStoppedTime() const OVERRIDE; 51 virtual base::TimeDelta PointerAssumedStoppedTime() const override;
52 52
53 virtual float GetTouchSlopInDips() const OVERRIDE; 53 virtual float GetTouchSlopInDips() const override;
54 54
55 virtual float GetMinScalingSpanInDips() const OVERRIDE; 55 virtual float GetMinScalingSpanInDips() const override;
56 56
57 protected: 57 protected:
58 RenderWidgetHostImpl* render_widget_host() const { return host_; } 58 RenderWidgetHostImpl* render_widget_host() const { return host_; }
59 59
60 private: 60 private:
61 bool PointIsWithinContents(int x, int y) const; 61 bool PointIsWithinContents(int x, int y) const;
62 62
63 RenderWidgetHostImpl* host_; 63 RenderWidgetHostImpl* host_;
64 64
65 DISALLOW_COPY_AND_ASSIGN(SyntheticGestureTargetBase); 65 DISALLOW_COPY_AND_ASSIGN(SyntheticGestureTargetBase);
66 }; 66 };
67 67
68 } // namespace content 68 } // namespace content
69 69
70 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_GESTURE_TARGET_BASE_H_ 70 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_GESTURE_TARGET_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698