| 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_TEST_RUNNER_EVENT_SENDER_H_ | 5 #ifndef CONTENT_SHELL_TEST_RUNNER_EVENT_SENDER_H_ |
| 6 #define CONTENT_SHELL_TEST_RUNNER_EVENT_SENDER_H_ | 6 #define CONTENT_SHELL_TEST_RUNNER_EVENT_SENDER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 void GestureTap(gin::Arguments* args); | 160 void GestureTap(gin::Arguments* args); |
| 161 void GestureTapDown(gin::Arguments* args); | 161 void GestureTapDown(gin::Arguments* args); |
| 162 void GestureShowPress(gin::Arguments* args); | 162 void GestureShowPress(gin::Arguments* args); |
| 163 void GestureTapCancel(gin::Arguments* args); | 163 void GestureTapCancel(gin::Arguments* args); |
| 164 void GestureLongPress(gin::Arguments* args); | 164 void GestureLongPress(gin::Arguments* args); |
| 165 void GestureLongTap(gin::Arguments* args); | 165 void GestureLongTap(gin::Arguments* args); |
| 166 void GestureTwoFingerTap(gin::Arguments* args); | 166 void GestureTwoFingerTap(gin::Arguments* args); |
| 167 | 167 |
| 168 void MouseScrollBy(gin::Arguments* args, MouseScrollType scroll_type); | 168 void MouseScrollBy(gin::Arguments* args, MouseScrollType scroll_type); |
| 169 void MouseMoveTo(gin::Arguments* args); | 169 void MouseMoveTo(gin::Arguments* args); |
| 170 void MouseLeave(); | 170 void MouseLeave(blink::WebPointerProperties::PointerType, int pointerId); |
| 171 void ScheduleAsynchronousClick(int button_number, int modifiers); | 171 void ScheduleAsynchronousClick(int button_number, int modifiers); |
| 172 void ScheduleAsynchronousKeyDown(const std::string& code_str, | 172 void ScheduleAsynchronousKeyDown(const std::string& code_str, |
| 173 int modifiers, | 173 int modifiers, |
| 174 KeyLocationCode location); | 174 KeyLocationCode location); |
| 175 | 175 |
| 176 double GetCurrentEventTimeSec(); | 176 double GetCurrentEventTimeSec(); |
| 177 | 177 |
| 178 void DoLeapForward(int milliseconds); | 178 void DoLeapForward(int milliseconds); |
| 179 | 179 |
| 180 uint32_t GetUniqueTouchEventId(gin::Arguments* args); | 180 uint32_t GetUniqueTouchEventId(gin::Arguments* args); |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 double last_event_timestamp_; | 325 double last_event_timestamp_; |
| 326 | 326 |
| 327 base::WeakPtrFactory<EventSender> weak_factory_; | 327 base::WeakPtrFactory<EventSender> weak_factory_; |
| 328 | 328 |
| 329 DISALLOW_COPY_AND_ASSIGN(EventSender); | 329 DISALLOW_COPY_AND_ASSIGN(EventSender); |
| 330 }; | 330 }; |
| 331 | 331 |
| 332 } // namespace test_runner | 332 } // namespace test_runner |
| 333 | 333 |
| 334 #endif // CONTENT_SHELL_TEST_RUNNER_EVENT_SENDER_H_ | 334 #endif // CONTENT_SHELL_TEST_RUNNER_EVENT_SENDER_H_ |
| OLD | NEW |