Add ICU message format support
[chromium-blink-merge.git] / content / common / input / synthetic_pinch_gesture_params.h
blob12942497372fce6ce179d7f9e44707779a02c9bd
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_PINCH_GESTURE_PARAMS_H_
6 #define CONTENT_COMMON_INPUT_SYNTHETIC_PINCH_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 SyntheticPinchGestureParams
15 : public SyntheticGestureParams {
16 public:
17 SyntheticPinchGestureParams();
18 SyntheticPinchGestureParams(
19 const SyntheticPinchGestureParams& other);
20 ~SyntheticPinchGestureParams() override;
22 GestureType GetGestureType() const override;
24 float scale_factor;
25 gfx::PointF anchor;
26 float relative_pointer_speed_in_pixels_s;
28 static const SyntheticPinchGestureParams* Cast(
29 const SyntheticGestureParams* gesture_params);
32 } // namespace content
34 #endif // CONTENT_COMMON_INPUT_SYNTHETIC_PINCH_GESTURE_PARAMS_H_