| 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_COMMON_INPUT_SYNTHETIC_TAP_GESTURE_PARAMS_H_ | 5 #ifndef CONTENT_COMMON_INPUT_SYNTHETIC_TAP_GESTURE_PARAMS_H_ |
| 6 #define CONTENT_COMMON_INPUT_SYNTHETIC_TAP_GESTURE_PARAMS_H_ | 6 #define CONTENT_COMMON_INPUT_SYNTHETIC_TAP_GESTURE_PARAMS_H_ |
| 7 | 7 |
| 8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
| 9 #include "content/common/input/synthetic_gesture_params.h" | 9 #include "content/common/input/synthetic_gesture_params.h" |
| 10 #include "ui/gfx/point.h" | 10 #include "ui/gfx/geometry/point.h" |
| 11 | 11 |
| 12 namespace content { | 12 namespace content { |
| 13 | 13 |
| 14 struct CONTENT_EXPORT SyntheticTapGestureParams | 14 struct CONTENT_EXPORT SyntheticTapGestureParams |
| 15 : public SyntheticGestureParams { | 15 : public SyntheticGestureParams { |
| 16 public: | 16 public: |
| 17 SyntheticTapGestureParams(); | 17 SyntheticTapGestureParams(); |
| 18 SyntheticTapGestureParams(const SyntheticTapGestureParams& other); | 18 SyntheticTapGestureParams(const SyntheticTapGestureParams& other); |
| 19 virtual ~SyntheticTapGestureParams(); | 19 virtual ~SyntheticTapGestureParams(); |
| 20 | 20 |
| 21 virtual GestureType GetGestureType() const OVERRIDE; | 21 virtual GestureType GetGestureType() const OVERRIDE; |
| 22 | 22 |
| 23 gfx::Point position; | 23 gfx::Point position; |
| 24 int duration_ms; | 24 int duration_ms; |
| 25 | 25 |
| 26 static const SyntheticTapGestureParams* Cast( | 26 static const SyntheticTapGestureParams* Cast( |
| 27 const SyntheticGestureParams* gesture_params); | 27 const SyntheticGestureParams* gesture_params); |
| 28 }; | 28 }; |
| 29 | 29 |
| 30 } // namespace content | 30 } // namespace content |
| 31 | 31 |
| 32 #endif // CONTENT_COMMON_INPUT_SYNTHETIC_PINCH_GESTURE_PARAMS_H_ | 32 #endif // CONTENT_COMMON_INPUT_SYNTHETIC_PINCH_GESTURE_PARAMS_H_ |
| OLD | NEW |