Commit f6a3f3fa authored by Mohsen Izadi's avatar Mohsen Izadi Committed by Commit Bot

Remove unnecessary passing of arguments in InputHandlerProxy

Some methods in InputHandlerProxy take an event_with_callback argument,
but they also take some other arguments that can be extracted from
event_with_callback. These can be removed.

Bug: 1079116
Change-Id: Ie4c70386e4e4c4d533eb56189bf0fee339ea7e6c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2431552
Commit-Queue: Mohsen Izadi <mohsen@chromium.org>
Reviewed-by: default avatarDave Tapuska <dtapuska@chromium.org>
Cr-Commit-Position: refs/heads/master@{#810893}
parent fcc26842
......@@ -229,31 +229,19 @@ class BLINK_PLATFORM_EXPORT InputHandlerProxy
const blink::WebGestureEvent& event,
const blink::WebInputEventAttribution& original_attribution);
EventDisposition HandleGestureScrollEnd(const blink::WebGestureEvent& event);
EventDisposition HandleTouchStart(
EventWithCallback* event_with_callback,
const ui::LatencyInfo& original_latency_info);
EventDisposition HandleTouchMove(
EventWithCallback* event_with_callback,
const ui::LatencyInfo& original_latency_info);
EventDisposition HandleTouchEnd(EventWithCallback* event_with_callback,
const ui::LatencyInfo& original_latency_info);
EventDisposition HandleTouchStart(EventWithCallback* event_with_callback);
EventDisposition HandleTouchMove(EventWithCallback* event_with_callback);
EventDisposition HandleTouchEnd(EventWithCallback* event_with_callback);
const cc::InputHandlerPointerResult HandlePointerDown(
const gfx::PointF& position,
const ui::LatencyInfo&,
bool has_modifier,
base::TimeTicks timestamp,
EventWithCallback* event_with_callback);
EventWithCallback* event_with_callback,
const gfx::PointF& position);
const cc::InputHandlerPointerResult HandlePointerMove(
const gfx::PointF& position,
const ui::LatencyInfo&,
base::TimeTicks timestamp,
EventWithCallback* event_with_callback);
EventWithCallback* event_with_callback,
const gfx::PointF& position);
const cc::InputHandlerPointerResult HandlePointerUp(
const gfx::PointF& position,
const ui::LatencyInfo&,
base::TimeTicks timestamp,
EventWithCallback* event_with_callback);
EventWithCallback* event_with_callback,
const gfx::PointF& position);
void InputHandlerScrollEnd();
......@@ -285,7 +273,6 @@ class BLINK_PLATFORM_EXPORT InputHandlerProxy
EventDisposition RouteToTypeSpecificHandler(
EventWithCallback* event_with_callback,
const ui::LatencyInfo& original_latency_info,
const blink::WebInputEventAttribution& original_attribution);
void set_event_attribution_enabled(bool enabled) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment