OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_SHELL_RENDERER_TEST_RUNNER_EVENT_SENDER_H_ | 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_EVENT_SENDER_H_ |
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_EVENT_SENDER_H_ | 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_EVENT_SENDER_H_ |
7 | 7 |
8 #include <queue> | 8 #include <queue> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 void BeginDragWithFiles(const std::vector<std::string>& files); | 128 void BeginDragWithFiles(const std::vector<std::string>& files); |
129 | 129 |
130 void AddTouchPoint(gin::Arguments* args); | 130 void AddTouchPoint(gin::Arguments* args); |
131 | 131 |
132 void MouseDragBegin(); | 132 void MouseDragBegin(); |
133 void MouseDragEnd(); | 133 void MouseDragEnd(); |
134 | 134 |
135 void GestureScrollBegin(gin::Arguments* args); | 135 void GestureScrollBegin(gin::Arguments* args); |
136 void GestureScrollEnd(gin::Arguments* args); | 136 void GestureScrollEnd(gin::Arguments* args); |
137 void GestureScrollUpdate(gin::Arguments* args); | 137 void GestureScrollUpdate(gin::Arguments* args); |
| 138 void GesturePinchBegin(gin::Arguments* args); |
| 139 void GesturePinchEnd(gin::Arguments* args); |
| 140 void GesturePinchUpdate(gin::Arguments* args); |
138 void GestureTap(gin::Arguments* args); | 141 void GestureTap(gin::Arguments* args); |
139 void GestureTapDown(gin::Arguments* args); | 142 void GestureTapDown(gin::Arguments* args); |
140 void GestureShowPress(gin::Arguments* args); | 143 void GestureShowPress(gin::Arguments* args); |
141 void GestureTapCancel(gin::Arguments* args); | 144 void GestureTapCancel(gin::Arguments* args); |
142 void GestureLongPress(gin::Arguments* args); | 145 void GestureLongPress(gin::Arguments* args); |
143 void GestureLongTap(gin::Arguments* args); | 146 void GestureLongTap(gin::Arguments* args); |
144 void GestureTwoFingerTap(gin::Arguments* args); | 147 void GestureTwoFingerTap(gin::Arguments* args); |
145 | 148 |
146 void ContinuousMouseScrollBy(gin::Arguments* args); | 149 void ContinuousMouseScrollBy(gin::Arguments* args); |
147 void MouseMoveTo(gin::Arguments* args); | 150 void MouseMoveTo(gin::Arguments* args); |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 int click_count_; | 279 int click_count_; |
277 | 280 |
278 base::WeakPtrFactory<EventSender> weak_factory_; | 281 base::WeakPtrFactory<EventSender> weak_factory_; |
279 | 282 |
280 DISALLOW_COPY_AND_ASSIGN(EventSender); | 283 DISALLOW_COPY_AND_ASSIGN(EventSender); |
281 }; | 284 }; |
282 | 285 |
283 } // namespace content | 286 } // namespace content |
284 | 287 |
285 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_EVENT_SENDER_H_ | 288 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_EVENT_SENDER_H_ |
OLD | NEW |