| 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 COMPONENTS_TEST_RUNNER_EVENT_SENDER_H_ | 5 #ifndef COMPONENTS_TEST_RUNNER_EVENT_SENDER_H_ |
| 6 #define COMPONENTS_TEST_RUNNER_EVENT_SENDER_H_ | 6 #define COMPONENTS_TEST_RUNNER_EVENT_SENDER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <queue> | 10 #include <queue> |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 void GestureFlingStart(float x, | 118 void GestureFlingStart(float x, |
| 119 float y, | 119 float y, |
| 120 float velocity_x, | 120 float velocity_x, |
| 121 float velocity_y, | 121 float velocity_y, |
| 122 gin::Arguments* args); | 122 gin::Arguments* args); |
| 123 bool IsFlinging() const; | 123 bool IsFlinging() const; |
| 124 void GestureScrollFirstPoint(int x, int y); | 124 void GestureScrollFirstPoint(int x, int y); |
| 125 | 125 |
| 126 void TouchStart(); | 126 void TouchStart(); |
| 127 void TouchMove(); | 127 void TouchMove(); |
| 128 void TouchMoveCausingScrollIfUncanceled(); | |
| 129 void TouchCancel(); | 128 void TouchCancel(); |
| 130 void TouchEnd(); | 129 void TouchEnd(); |
| 131 | 130 |
| 131 void NotifyStartOfImplScroll(); |
| 132 void NotifyEndOfImplScroll(); |
| 133 |
| 132 void LeapForward(int milliseconds); | 134 void LeapForward(int milliseconds); |
| 133 | 135 |
| 134 void BeginDragWithFiles(const std::vector<std::string>& files); | 136 void BeginDragWithFiles(const std::vector<std::string>& files); |
| 135 | 137 |
| 136 void AddTouchPoint(float x, float y, gin::Arguments* args); | 138 void AddTouchPoint(float x, float y, gin::Arguments* args); |
| 137 | 139 |
| 138 void MouseDragBegin(); | 140 void MouseDragBegin(); |
| 139 void MouseDragEnd(); | 141 void MouseDragEnd(); |
| 140 | 142 |
| 141 void GestureScrollBegin(gin::Arguments* args); | 143 void GestureScrollBegin(gin::Arguments* args); |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 double last_event_timestamp_; | 299 double last_event_timestamp_; |
| 298 | 300 |
| 299 base::WeakPtrFactory<EventSender> weak_factory_; | 301 base::WeakPtrFactory<EventSender> weak_factory_; |
| 300 | 302 |
| 301 DISALLOW_COPY_AND_ASSIGN(EventSender); | 303 DISALLOW_COPY_AND_ASSIGN(EventSender); |
| 302 }; | 304 }; |
| 303 | 305 |
| 304 } // namespace test_runner | 306 } // namespace test_runner |
| 305 | 307 |
| 306 #endif // COMPONENTS_TEST_RUNNER_EVENT_SENDER_H_ | 308 #endif // COMPONENTS_TEST_RUNNER_EVENT_SENDER_H_ |
| OLD | NEW |