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