Add ICU message format support
[chromium-blink-merge.git] / content / common / input / synthetic_tap_gesture_params.h
blob6011094230b2cdcb2dfe898a6b5726874b47a565
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
3 // found in the LICENSE file.
5 #ifndef CONTENT_COMMON_INPUT_SYNTHETIC_TAP_GESTURE_PARAMS_H_
6 #define CONTENT_COMMON_INPUT_SYNTHETIC_TAP_GESTURE_PARAMS_H_
8 #include "content/common/content_export.h"
9 #include "content/common/input/synthetic_gesture_params.h"
10 #include "ui/gfx/geometry/point.h"
12 namespace content {
14 struct CONTENT_EXPORT SyntheticTapGestureParams
15 : public SyntheticGestureParams {
16 public:
17 SyntheticTapGestureParams();
18 SyntheticTapGestureParams(const SyntheticTapGestureParams& other);
19 ~SyntheticTapGestureParams() override;
21 GestureType GetGestureType() const override;
23 gfx::PointF position;
24 float duration_ms;
26 static const SyntheticTapGestureParams* Cast(
27 const SyntheticGestureParams* gesture_params);
30 } // namespace content
32 #endif // CONTENT_COMMON_INPUT_SYNTHETIC_TAP_GESTURE_PARAMS_H_