Chromium Code Reviews| 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 CONTENT_SHELL_RENDERER_TEST_RUNNER_EVENT_SENDER_H_ | 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_EVENT_SENDER_H_ |
| 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_EVENT_SENDER_H_ | 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_EVENT_SENDER_H_ |
| 7 | 7 |
| 8 #include <queue> | 8 #include <queue> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 121 void TouchEnd(); | 121 void TouchEnd(); |
| 122 | 122 |
| 123 void LeapForward(int milliseconds); | 123 void LeapForward(int milliseconds); |
| 124 | 124 |
| 125 void BeginDragWithFiles(const std::vector<std::string>& files); | 125 void BeginDragWithFiles(const std::vector<std::string>& files); |
| 126 | 126 |
| 127 void AddTouchPoint(gin::Arguments* args); | 127 void AddTouchPoint(gin::Arguments* args); |
| 128 | 128 |
| 129 void MouseDragBegin(); | 129 void MouseDragBegin(); |
| 130 void MouseDragEnd(); | 130 void MouseDragEnd(); |
| 131 void MouseMomentumBegin(); | |
| 132 | 131 |
| 133 void GestureScrollBegin(gin::Arguments* args); | 132 void GestureScrollBegin(gin::Arguments* args); |
| 134 void GestureScrollEnd(gin::Arguments* args); | 133 void GestureScrollEnd(gin::Arguments* args); |
| 135 void GestureScrollUpdate(gin::Arguments* args); | 134 void GestureScrollUpdate(gin::Arguments* args); |
| 136 void GestureScrollUpdateWithoutPropagation(gin::Arguments* args); | 135 void GestureScrollUpdateWithoutPropagation(gin::Arguments* args); |
| 137 void GestureTap(gin::Arguments* args); | 136 void GestureTap(gin::Arguments* args); |
| 138 void GestureTapDown(gin::Arguments* args); | 137 void GestureTapDown(gin::Arguments* args); |
| 139 void GestureShowPress(gin::Arguments* args); | 138 void GestureShowPress(gin::Arguments* args); |
| 140 void GestureTapCancel(gin::Arguments* args); | 139 void GestureTapCancel(gin::Arguments* args); |
| 141 void GestureLongPress(gin::Arguments* args); | 140 void GestureLongPress(gin::Arguments* args); |
| 142 void GestureLongTap(gin::Arguments* args); | 141 void GestureLongTap(gin::Arguments* args); |
| 143 void GestureTwoFingerTap(gin::Arguments* args); | 142 void GestureTwoFingerTap(gin::Arguments* args); |
| 144 | 143 |
| 145 void ContinuousMouseScrollBy(gin::Arguments* args); | 144 void ContinuousMouseScrollBy(gin::Arguments* args); |
| 146 void MouseMoveTo(gin::Arguments* args); | 145 void MouseMoveTo(gin::Arguments* args); |
| 146 void TrackpadScrollBegin(gin::Arguments* args); | |
| 147 void TrackpadScroll(gin::Arguments* args); | |
| 148 void TrackpadScrollEnd(gin::Arguments* args); | |
| 147 void MouseScrollBy(gin::Arguments* args); | 149 void MouseScrollBy(gin::Arguments* args); |
| 150 void MouseMomentumBegin(); | |
| 151 void MouseMomentumBegin2(gin::Arguments* args); | |
|
Nico
2014/05/14 10:47:12
This looks strange. Why is there a MouseMomentumBe
erikchen
2014/05/14 17:29:55
The zero parameter function MouseMomentumBegin wil
| |
| 148 void MouseMomentumScrollBy(gin::Arguments* args); | 152 void MouseMomentumScrollBy(gin::Arguments* args); |
| 149 void MouseMomentumEnd(); | 153 void MouseMomentumEnd(); |
| 150 void ScheduleAsynchronousClick(int button_number, int modifiers); | 154 void ScheduleAsynchronousClick(int button_number, int modifiers); |
| 151 void ScheduleAsynchronousKeyDown(const std::string& code_str, | 155 void ScheduleAsynchronousKeyDown(const std::string& code_str, |
| 152 int modifiers, | 156 int modifiers, |
| 153 KeyLocationCode location); | 157 KeyLocationCode location); |
| 154 | 158 |
| 155 double GetCurrentEventTimeSec(); | 159 double GetCurrentEventTimeSec(); |
| 156 | 160 |
| 157 void DoLeapForward(int milliseconds); | 161 void DoLeapForward(int milliseconds); |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 268 int click_count_; | 272 int click_count_; |
| 269 | 273 |
| 270 base::WeakPtrFactory<EventSender> weak_factory_; | 274 base::WeakPtrFactory<EventSender> weak_factory_; |
| 271 | 275 |
| 272 DISALLOW_COPY_AND_ASSIGN(EventSender); | 276 DISALLOW_COPY_AND_ASSIGN(EventSender); |
| 273 }; | 277 }; |
| 274 | 278 |
| 275 } // namespace content | 279 } // namespace content |
| 276 | 280 |
| 277 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_EVENT_SENDER_H_ | 281 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_EVENT_SENDER_H_ |
| OLD | NEW |