| 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 void GestureFlingStart(float x, | 130 void GestureFlingStart(float x, |
| 131 float y, | 131 float y, |
| 132 float velocity_x, | 132 float velocity_x, |
| 133 float velocity_y, | 133 float velocity_y, |
| 134 gin::Arguments* args); | 134 gin::Arguments* args); |
| 135 bool IsFlinging() const; | 135 bool IsFlinging() const; |
| 136 void GestureScrollFirstPoint(int x, int y); | 136 void GestureScrollFirstPoint(int x, int y); |
| 137 | 137 |
| 138 void TouchStart(); | 138 void TouchStart(); |
| 139 void TouchMove(); | 139 void TouchMove(); |
| 140 void TouchMoveCausingScrollIfUncanceled(); | |
| 141 void TouchCancel(); | 140 void TouchCancel(); |
| 142 void TouchEnd(); | 141 void TouchEnd(); |
| 142 void NotifyStartOfTouchScroll(); |
| 143 | 143 |
| 144 void LeapForward(int milliseconds); | 144 void LeapForward(int milliseconds); |
| 145 | 145 |
| 146 void BeginDragWithFiles(const std::vector<std::string>& files); | 146 void BeginDragWithFiles(const std::vector<std::string>& files); |
| 147 | 147 |
| 148 void AddTouchPoint(float x, float y, gin::Arguments* args); | 148 void AddTouchPoint(float x, float y, gin::Arguments* args); |
| 149 | 149 |
| 150 void GestureScrollBegin(gin::Arguments* args); | 150 void GestureScrollBegin(gin::Arguments* args); |
| 151 void GestureScrollEnd(gin::Arguments* args); | 151 void GestureScrollEnd(gin::Arguments* args); |
| 152 void GestureScrollUpdate(gin::Arguments* args); | 152 void GestureScrollUpdate(gin::Arguments* args); |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 double last_event_timestamp_; | 317 double last_event_timestamp_; |
| 318 | 318 |
| 319 base::WeakPtrFactory<EventSender> weak_factory_; | 319 base::WeakPtrFactory<EventSender> weak_factory_; |
| 320 | 320 |
| 321 DISALLOW_COPY_AND_ASSIGN(EventSender); | 321 DISALLOW_COPY_AND_ASSIGN(EventSender); |
| 322 }; | 322 }; |
| 323 | 323 |
| 324 } // namespace test_runner | 324 } // namespace test_runner |
| 325 | 325 |
| 326 #endif // COMPONENTS_TEST_RUNNER_EVENT_SENDER_H_ | 326 #endif // COMPONENTS_TEST_RUNNER_EVENT_SENDER_H_ |
| OLD | NEW |