| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_POINTER_ACTION_PARAMS_H_ | 5 #ifndef CONTENT_COMMON_INPUT_SYNTHETIC_POINTER_ACTION_PARAMS_H_ |
| 6 #define CONTENT_COMMON_INPUT_SYNTHETIC_POINTER_ACTION_PARAMS_H_ | 6 #define CONTENT_COMMON_INPUT_SYNTHETIC_POINTER_ACTION_PARAMS_H_ |
| 7 | 7 |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
| 10 #include "content/common/input/input_param_traits.h" | 10 #include "content/common/input/input_param_traits.h" |
| 11 #include "content/common/input/synthetic_gesture_params.h" | 11 #include "content/common/input/synthetic_gesture_params.h" |
| 12 #include "content/common/input/synthetic_web_input_event_builders.h" | 12 #include "content/common/input/synthetic_web_input_event_builders.h" |
| 13 #include "third_party/WebKit/public/platform/WebTouchEvent.h" |
| 13 #include "ui/gfx/geometry/point_f.h" | 14 #include "ui/gfx/geometry/point_f.h" |
| 14 | 15 |
| 15 namespace ipc_fuzzer { | 16 namespace ipc_fuzzer { |
| 16 template <class T> | 17 template <class T> |
| 17 struct FuzzTraits; | 18 struct FuzzTraits; |
| 18 } // namespace ipc_fuzzer | 19 } // namespace ipc_fuzzer |
| 19 | 20 |
| 20 namespace content { | 21 namespace content { |
| 21 | 22 |
| 22 struct CONTENT_EXPORT SyntheticPointerActionParams { | 23 struct CONTENT_EXPORT SyntheticPointerActionParams { |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 // The position of the pointer, where it presses or moves to. | 94 // The position of the pointer, where it presses or moves to. |
| 94 gfx::PointF position_; | 95 gfx::PointF position_; |
| 95 // The index of the pointer in the pointer action sequence passed from the | 96 // The index of the pointer in the pointer action sequence passed from the |
| 96 // user API. | 97 // user API. |
| 97 int index_; | 98 int index_; |
| 98 Button button_; | 99 Button button_; |
| 99 }; | 100 }; |
| 100 | 101 |
| 101 } // namespace content | 102 } // namespace content |
| 102 | 103 |
| 103 #endif // CONTENT_COMMON_INPUT_SYNTHETIC_POINTER_ACTION_PARAMS_H_ | 104 #endif // CONTENT_COMMON_INPUT_SYNTHETIC_POINTER_ACTION_PARAMS_H_ |
| OLD | NEW |