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 ...@@ -229,31 +229,19 @@ class BLINK_PLATFORM_EXPORT InputHandlerProxy
const blink::WebGestureEvent& event, const blink::WebGestureEvent& event,
const blink::WebInputEventAttribution& original_attribution); const blink::WebInputEventAttribution& original_attribution);
EventDisposition HandleGestureScrollEnd(const blink::WebGestureEvent& event); EventDisposition HandleGestureScrollEnd(const blink::WebGestureEvent& event);
EventDisposition HandleTouchStart( EventDisposition HandleTouchStart(EventWithCallback* event_with_callback);
EventWithCallback* event_with_callback, EventDisposition HandleTouchMove(EventWithCallback* event_with_callback);
const ui::LatencyInfo& original_latency_info); EventDisposition HandleTouchEnd(EventWithCallback* event_with_callback);
EventDisposition HandleTouchMove(
EventWithCallback* event_with_callback,
const ui::LatencyInfo& original_latency_info);
EventDisposition HandleTouchEnd(EventWithCallback* event_with_callback,
const ui::LatencyInfo& original_latency_info);
const cc::InputHandlerPointerResult HandlePointerDown( const cc::InputHandlerPointerResult HandlePointerDown(
const gfx::PointF& position, EventWithCallback* event_with_callback,
const ui::LatencyInfo&, const gfx::PointF& position);
bool has_modifier,
base::TimeTicks timestamp,
EventWithCallback* event_with_callback);
const cc::InputHandlerPointerResult HandlePointerMove( const cc::InputHandlerPointerResult HandlePointerMove(
const gfx::PointF& position, EventWithCallback* event_with_callback,
const ui::LatencyInfo&, const gfx::PointF& position);
base::TimeTicks timestamp,
EventWithCallback* event_with_callback);
const cc::InputHandlerPointerResult HandlePointerUp( const cc::InputHandlerPointerResult HandlePointerUp(
const gfx::PointF& position, EventWithCallback* event_with_callback,
const ui::LatencyInfo&, const gfx::PointF& position);
base::TimeTicks timestamp,
EventWithCallback* event_with_callback);
void InputHandlerScrollEnd(); void InputHandlerScrollEnd();
...@@ -285,7 +273,6 @@ class BLINK_PLATFORM_EXPORT InputHandlerProxy ...@@ -285,7 +273,6 @@ class BLINK_PLATFORM_EXPORT InputHandlerProxy
EventDisposition RouteToTypeSpecificHandler( EventDisposition RouteToTypeSpecificHandler(
EventWithCallback* event_with_callback, EventWithCallback* event_with_callback,
const ui::LatencyInfo& original_latency_info,
const blink::WebInputEventAttribution& original_attribution); const blink::WebInputEventAttribution& original_attribution);
void set_event_attribution_enabled(bool enabled) { 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