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