OLD | NEW |
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 virtual void SetNeedsFlush() OVERRIDE; | 48 virtual void SetNeedsFlush() OVERRIDE; |
49 | 49 |
50 virtual SyntheticGestureParams::GestureSourceType | 50 virtual SyntheticGestureParams::GestureSourceType |
51 GetDefaultSyntheticGestureSourceType() const OVERRIDE; | 51 GetDefaultSyntheticGestureSourceType() const OVERRIDE; |
52 virtual bool SupportsSyntheticGestureSourceType( | 52 virtual bool SupportsSyntheticGestureSourceType( |
53 SyntheticGestureParams::GestureSourceType gesture_source_type) const | 53 SyntheticGestureParams::GestureSourceType gesture_source_type) const |
54 OVERRIDE; | 54 OVERRIDE; |
55 | 55 |
56 virtual base::TimeDelta PointerAssumedStoppedTime() const OVERRIDE; | 56 virtual base::TimeDelta PointerAssumedStoppedTime() const OVERRIDE; |
57 | 57 |
| 58 virtual int GetTouchSlopInDips() const OVERRIDE; |
| 59 |
58 protected: | 60 protected: |
59 RenderWidgetHostImpl* render_widget_host() { return host_; } | 61 RenderWidgetHostImpl* render_widget_host() const { return host_; } |
60 | 62 |
61 private: | 63 private: |
62 RenderWidgetHostImpl* host_; | 64 RenderWidgetHostImpl* host_; |
63 | 65 |
64 DISALLOW_COPY_AND_ASSIGN(SyntheticGestureTargetBase); | 66 DISALLOW_COPY_AND_ASSIGN(SyntheticGestureTargetBase); |
65 }; | 67 }; |
66 | 68 |
67 } // namespace content | 69 } // namespace content |
68 | 70 |
69 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_GESTURE_TARGET_BASE_H_ | 71 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_GESTURE_TARGET_BASE_H_ |
OLD | NEW |