| 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 void GestureFlingStart(float x, | 121 void GestureFlingStart(float x, |
| 122 float y, | 122 float y, |
| 123 float velocity_x, | 123 float velocity_x, |
| 124 float velocity_y, | 124 float velocity_y, |
| 125 gin::Arguments* args); | 125 gin::Arguments* args); |
| 126 bool IsFlinging() const; | 126 bool IsFlinging() const; |
| 127 void GestureScrollFirstPoint(int x, int y); | 127 void GestureScrollFirstPoint(int x, int y); |
| 128 | 128 |
| 129 void TouchStart(); | 129 void TouchStart(); |
| 130 void TouchMove(); | 130 void TouchMove(); |
| 131 void TouchMoveCausingScrollIfUncanceled(); | |
| 132 void TouchCancel(); | 131 void TouchCancel(); |
| 133 void TouchEnd(); | 132 void TouchEnd(); |
| 133 void NotifyStartOfTouchScroll(); |
| 134 | 134 |
| 135 void LeapForward(int milliseconds); | 135 void LeapForward(int milliseconds); |
| 136 | 136 |
| 137 void BeginDragWithFiles(const std::vector<std::string>& files); | 137 void BeginDragWithFiles(const std::vector<std::string>& files); |
| 138 | 138 |
| 139 void AddTouchPoint(float x, float y, gin::Arguments* args); | 139 void AddTouchPoint(float x, float y, gin::Arguments* args); |
| 140 | 140 |
| 141 void GestureScrollBegin(gin::Arguments* args); | 141 void GestureScrollBegin(gin::Arguments* args); |
| 142 void GestureScrollEnd(gin::Arguments* args); | 142 void GestureScrollEnd(gin::Arguments* args); |
| 143 void GestureScrollUpdate(gin::Arguments* args); | 143 void GestureScrollUpdate(gin::Arguments* args); |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 double last_event_timestamp_; | 296 double last_event_timestamp_; |
| 297 | 297 |
| 298 base::WeakPtrFactory<EventSender> weak_factory_; | 298 base::WeakPtrFactory<EventSender> weak_factory_; |
| 299 | 299 |
| 300 DISALLOW_COPY_AND_ASSIGN(EventSender); | 300 DISALLOW_COPY_AND_ASSIGN(EventSender); |
| 301 }; | 301 }; |
| 302 | 302 |
| 303 } // namespace test_runner | 303 } // namespace test_runner |
| 304 | 304 |
| 305 #endif // COMPONENTS_TEST_RUNNER_EVENT_SENDER_H_ | 305 #endif // COMPONENTS_TEST_RUNNER_EVENT_SENDER_H_ |
| OLD | NEW |