| Index: components/test_runner/event_sender.h
|
| diff --git a/components/test_runner/event_sender.h b/components/test_runner/event_sender.h
|
| index 916cf88910d658fc0e4d52bd7965cfe5cfdae957..7d50ef80d6d389a8e897bb33a565791816f50f37 100644
|
| --- a/components/test_runner/event_sender.h
|
| +++ b/components/test_runner/event_sender.h
|
| @@ -71,6 +71,10 @@ class EventSender : public base::SupportsWeakPtr<EventSender> {
|
|
|
| WebTaskList* mutable_task_list() { return &task_list_; }
|
|
|
| + void set_send_wheel_gestures(bool send_wheel_gestures) {
|
| + send_wheel_gestures_ = send_wheel_gestures;
|
| + }
|
| +
|
| private:
|
| friend class EventSenderBindings;
|
|
|
| @@ -135,9 +139,6 @@ class EventSender : public base::SupportsWeakPtr<EventSender> {
|
|
|
| void AddTouchPoint(float x, float y, gin::Arguments* args);
|
|
|
| - void MouseDragBegin();
|
| - void MouseDragEnd();
|
| -
|
| void GestureScrollBegin(gin::Arguments* args);
|
| void GestureScrollEnd(gin::Arguments* args);
|
| void GestureScrollUpdate(gin::Arguments* args);
|
| @@ -152,13 +153,9 @@ class EventSender : public base::SupportsWeakPtr<EventSender> {
|
| void GestureLongTap(gin::Arguments* args);
|
| void GestureTwoFingerTap(gin::Arguments* args);
|
|
|
| - void ContinuousMouseScrollBy(gin::Arguments* args);
|
| + void MouseScrollBy(gin::Arguments* args, bool continuous);
|
| void MouseMoveTo(gin::Arguments* args);
|
| void MouseLeave();
|
| - void TrackpadScrollBegin();
|
| - void TrackpadScroll(gin::Arguments* args);
|
| - void TrackpadScrollEnd();
|
| - void MouseScrollBy(gin::Arguments* args);
|
| void ScheduleAsynchronousClick(int button_number, int modifiers);
|
| void ScheduleAsynchronousKeyDown(const std::string& code_str,
|
| int modifiers,
|
| @@ -177,7 +174,8 @@ class EventSender : public base::SupportsWeakPtr<EventSender> {
|
|
|
| void InitMouseWheelEvent(gin::Arguments* args,
|
| bool continuous,
|
| - blink::WebMouseWheelEvent* event);
|
| + blink::WebMouseWheelEvent* event,
|
| + bool* send_gestures);
|
| void InitPointerProperties(gin::Arguments* args,
|
| blink::WebPointerProperties* e,
|
| float* radius_x,
|
| @@ -246,6 +244,7 @@ class EventSender : public base::SupportsWeakPtr<EventSender> {
|
| WebTestDelegate* delegate_;
|
| blink::WebView* view_;
|
|
|
| + bool send_wheel_gestures_;
|
| bool force_layout_on_events_;
|
|
|
| // When set to true (the default value), we batch mouse move and mouse up
|
|
|