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