Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / content / common / input / synthetic_tap_gesture_params.h
blobdde22c6b1d830dd76e24bf9e6c4b3ad87f1184f6
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/point.h"
12 namespace content {
14 struct CONTENT_EXPORT SyntheticTapGestureParams
15 : public SyntheticGestureParams {
16 public:
17 SyntheticTapGestureParams();
18 SyntheticTapGestureParams(const SyntheticTapGestureParams& other);
19 virtual ~SyntheticTapGestureParams();
21 virtual GestureType GetGestureType() const OVERRIDE;
23 gfx::Point position;
24 int duration_ms;
26 static const SyntheticTapGestureParams* Cast(
27 const SyntheticGestureParams* gesture_params);
30 } // namespace content
32 #endif // CONTENT_COMMON_INPUT_SYNTHETIC_PINCH_GESTURE_PARAMS_H_